CPC G06F 16/178 (2019.01) [G06F 9/544 (2013.01); G06F 16/273 (2019.01); G06F 16/275 (2019.01)] | 20 Claims |
1. A computer-implemented method for managing data replication in a multiple availability zone cloud environment, the method comprising:
receiving a first request associated with storing content of a file at a storage service provided by a multiple availability zone cloud platform;
receiving, at a persistence interface, an input stream including the content of the file based on the first request;
in response to storing one or more portions of the file at a first file storage at a first availability zone, providing, through the persistence interface, the stored one or more portions of the file to a replication executor at a first instance of the storage service to request storing of a stored portion of the file at a second file storage at a second availability zone in iterations; and
in response to determining that a mode of replication is synchronous for a first iteration of the iterations,
locking the file for accessing at the first file storage; and
providing, by the replication executor, a second request to store the stored portion of the input stream to the first file storage at the first availability zone to a replication interface of a second instance of the storage service at the second availability zone.
|