An electronic device, comprising a memory and a processor, wherein the memory is configured to store a computer program, and the processor is configured to, when executing the computer program, cause the electronic device to implement a data processing method for a data service system based on a read-write separation architecture, wherein the method comprises:
- receiving a data read request sent by a client, constructing a query plan corresponding to the data read request and generating a data direct read indication;
- sending the query plan and the data direct read indication to a query server of the data service system, wherein the data direct read indication is used to indicate reading data in a write server of the data service system;
- and
- responding to the data read request according to data obtained by executing, by the query server, the query plan and the data direct read indication.