CPC G06F 9/505 (2013.01) [G06F 16/134 (2019.01); G06F 16/162 (2019.01); G06F 16/1748 (2019.01); H04L 67/1023 (2013.01)] | 18 Claims |
1. A method for a deduplicated file system as a plurality of microservices comprising front-ends and back-ends, the method comprising:
balancing assignments of files in the file system across the front-ends, the files being represented by segment trees;
balancing assignments of similarity groups across the back-ends, the similarity groups comprising segments at a lower-level of the segment trees that form the files, the front-ends being responsible for operations involving an upper-level of the segment trees, and the back-ends being responsible for operations involving the lower-level of the segment trees;
storing a mapping of file assignments to the front-ends, and of similarity group assignments to the back-ends;
receiving, by a load balancer, a request to perform a file system operation;
consulting, by the load balancer, the file assignments to identify a particular front-end that should be assigned the request;
consulting, by the particular front-end, the similarity group assignments to identify a particular back-end that should be responsible for processing segments associated with the request, the segments belonging to a similarity group that has been assigned to the particular back-end; and
sending, by the particular front-end, the segments to the particular back-end.
|