Patent ID: 9652514
Date: 2017-05-16
CPC Classifications: G06F,H04L

Claim:
1. A method for routing, by a device, requests among a plurality of database servers, comprising: assigning, by a device intermediary to a plurality of clients and a plurality of database servers, a write virtual server executing on the device to a first database server of the plurality of database servers, the plurality of database servers comprising the first database server configured to process write requests and one or more second database servers configured to process read requests; assigning, by the device, a read virtual server executing on the device to each of the one or more second database servers; receiving, by the device, a request to access a database provided by the plurality of database servers; determining, by a content switching virtual server executing on the device, responsive to a content switching policy used for determining request types, that the request to access the database is a read request; forwarding, by the content switching virtual server, the request to access the database to the read virtual server responsive to determining that the request to access the database is a read request; identifying, by the read virtual server executing on the device, responsive to receiving the request to access the database, one of the one or more second database servers to send the request instead of the first database server; and transmitting, by the device, the request to the identified second database server.