CPC G06F 16/273 (2019.01) [G06F 16/2379 (2019.01); H04L 67/1097 (2013.01)] | 17 Claims |
1. A computer-implemented method for scaling of a system executed within a cloud computing environment, the method being executed by one or more processors and comprising:
providing a first instance of a database system within the cloud computing environment;
determining that scale out of the database system is to be executed, and in response:
providing a second instance of the database system within the cloud computing environment, the first instance and the second instance collectively defining a cluster,
establishing a remote direct memory access (RDMA) connection between the first instance and the second instance to exchange data in main memory,
copying data stored within the first instance to a data store of the second instance over the RDMA connection, and
configuring the first instance to replicate a first transaction log to the second instance over the RDMA connection;
receiving, by each of the first instance and the second instance, requests from one or more client devices; and
determining that scale in of the database system is to be executed, and in response:
setting the second instance to an offline status,
migrating one or more connections of one or more client devices from the second instance to the first instance, and
executing a shutdown of the second instance.
|