Patent ID: 11914590
Assignee: AMAZON TECHNOLOGIES, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 5:
6. A computer-implemented method, comprising:
performing, by a request router of a database system implemented by one or more computers:
forwarding queries to a plurality of database servers of the database system, wherein the database servers are individually configured to store replicas of a database and cache data in a cache to service queries directed to the database;
obtaining caching state metadata from the database servers, wherein the caching state metadata indicates data objects cached by individual ones of the database servers;
updating a server lookup table that maps different types of queries to different ones of the database servers based at least in part on the data objects cached by the database servers;
receiving a query directed to the database;
selecting a database server from the plurality of database servers to forward the query using the server lookup table; and
forwarding the query to the database server selected.