| CPC G06F 16/273 (2019.01) [G06F 11/203 (2013.01); G06F 16/2343 (2019.01); G06F 16/2365 (2019.01); G06F 16/256 (2019.01)] | 20 Claims |

|
1. A computer-implemented method for managing asynchronous data replication in a multiple availability zone cloud environment, the method comprising:
in response to determining that a replication in portions of a file from a first file storage to a second file storage had failed during a synchronous mode of replication,
configuring an asynchronous mode of replication for a subsequent iteration of data transfer to be executed from a first instance of a storage service to a second instance of the storage service, wherein the first instance is associated with storing data at the first file storage at a first availability zone of the multiple availability zone cloud environment, and the second instance is associated with storing data at the second file storage at a second availability zone of the multiple availability zone cloud environment;
reading a portion of the file that is not yet replicated to the second file storage and storing the read portion at the first file storage; and
storing metadata for the file while storing the read portion at the first file storage at the first availability zone, wherein the metadata is stored at an in-memory data grid of the first instance of the storage service; and
in response to determining that the asynchronous mode of replication is changed to synchronous, performing the replication in portions of the file to the second file storage at the second availability zone by reading the file from the first file storage according to the metadata of the in-memory data grid of the first instance of the storage service.
|