Asymmetric accelerated file replication service in a distributed computing environment

A decentralized file replication service breaks down large files into fragments for independent transfer across a network, addressing scalability and reliability issues in centralized systems by optimizing delivery and minimizing disruptions.

US12817827B1Active Publication Date: 2026-12-01AKAMAI TECHNOLOGIES INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
US19/269748
Authority / Receiving Office
US · United States
Patent Type
Patents(United States)
Current Assignee / Owner
Filing Date
2025-07-15
Publication Date
2026-12-01
Estimated Expiration
2045-07-15

AI Technical Summary

Technical Problem

Existing centralized file replication solutions in distributed systems face reliability and scalability issues, particularly when handling large files, as they rely on a single centralized process and do not efficiently distribute file replication across a network.

Method used

A decentralized and distributed file replication service that breaks down large files into fragments, using independent file transfer processes operating across a network to replicate these fragments, leveraging an overlay network to optimize delivery and route around connectivity issues.

Benefits of technology

This approach enables high-performance, resilient, and cost-effective file replication by distributing file fragments across a network, minimizing disruptions and maximizing performance and value without a centralized control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US12817827-D00000_ABST
    Figure US12817827-D00000_ABST
Patent Text Reader

Abstract

A file replication service utilizes an asymmetric stateless process deployed vertically, horizontally and globally across a distributed network to provide high performance, resilient and optimized file replication, especially of very large files (e.g., media files) The notion of asymmetry involves offloading a source bucket egress out of the bucket, sourcing information from any available storage bucket during the transfer, and leveraging an overlay network to route around Internet connectivity problems.
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUND

[0001] Distributed computer systems are well-known in the prior art. One such distributed computer system is a “content delivery network” (CDN) or “overlay network” that is operated and managed by a service provider. The service provider typically provides the content delivery service on behalf of third parties (customers) who use the service provider's shared infrastructure. A distributed system of this type typically refers to a collection of autonomous computers linked by a network or networks, together with the software, systems, protocols and techniques designed to facilitate various services, such as content delivery, web application acceleration, or other support of outsourced origin site infrastructure. A CDN service provider typically provides service delivery through digital properties (such as a website), which are provisioned in a customer portal and then deployed to the network.

[0002] Cloud computing is an information technology delivery model by which shared resources, software and information are provided on-demand over a network (e.g., the publicly-routed Internet) to computers and other devices. This type of delivery model has significant advantages in that it reduces information technology costs and complexities, while at the same time improving workload optimization and service delivery. In a typical use case, an application is hosted from network-based resources and is accessible through a conventional browser or mobile application. Cloud compute resources typically are deployed and supported in data centers that run one or more network applications, typically using a virtualized architecture wherein applications run inside virtual servers, or virtual machines (VMs), which are mapped onto physical servers in the data center. The virtual machines typically run on top of a hypervisor, which allocates physical resources to the virtual machines.

[0003] Traditional cloud providers typically support VMs and containers in a relatively small number of core data centers. In a “generalized edge compute” (GEC) implementation, the capabilities of a multi-tenant cloud compute infrastructure are extended to edge Points of Presence (PoPs) of an overlay network, such as a CDN. By enabling full stack computing power to be brought to hundreds of previously hard to reach locations, deploying a cloud compute infrastructure control plane on overlay network edge machines provides significant advantages. In particular, deploying compute in this manner into an edge platform also takes advantage of existing overlay network operational tools, processes, and observability-enabling developers to innovate across the entire continuum of compute, providing a consistent experience from centralized cloud to distributed edge.

[0004] File replication is the process of creating one or more copies of a file or directory, or a collection of files and directories, from a source location to one or more target locations. It is often a core component of various systems, including distributed file systems and data replication strategies. The goal is to ensure data redundancy, improve availability, and potentially enhance performance by distributing copies across different locations.

[0005] Most file replication approaches they usually have some centralized core logic, either a command line tool that checks what needs to be moved, or a server-client setup where the server tells the client what needs to be moved. For example, RClone is a popular tool that many use successfully to synchronize files between file repositories. In the context of this document, the way RClone does this is “symmetric” and centralized, in that it reads from and writes to the bucket and there is one centralized process coordinating what needs to be transferred. Cloud providers such as Amazon® AWS and Microsoft® Azure provide file replication services and tools also utilize these types of methods. For example, in AWS, a customer may upload large media files to a single storage location (e.g., an AWS bucket in US-East) and then identify a set of other storage locations. To effect the file replication, the customer sends file replication job notifications to AWS serverless functions that then pull the content into respective storage buckets in the other locations.

[0006] Centralized file replication solutions of this type have significant reliability and transfer limits, and they do not scale. Thus, there remains a need to provide technologies and solutions that enable distribution of large files across distributed systems in a reliable, scalable, performant, and cost-effective manner.SUMMARY

[0007] A file replication service utilizes an asymmetric stateless process deployed vertically, horizontally and globally across a distributed network to provide high performance, resilient and optimized file replication, especially of very large files (e.g., media files) The notion of asymmetry involves offloading a source bucket egress out of the bucket, sourcing information from any available storage bucket during the transfer, and leveraging an overlay network to route around Internet connectivity problems. Preferably, scale up and scale down are used to achieve speed deadlines, resiliency requirements, and overall performance and value optimization.

[0008] In one embodiment, a set of distributed nodes are configured in a push / pull model to speed up global replication of very large files. A decentralized and distributed control mechanism is supported across the set of distributed nodes. The control mechanism comprises a set of file transfer processes operating across the set of distributed nodes, and each file transfer process works independently and autonomously with respect to the other file transfer processes on the other nodes. A large file to be distributed is defined as a set of file fragments, and an overall file replication involves moving the set of file fragments along delivery paths using the file transfer processes operating in the nodes. In this paradigm, a fragment transfer implemented by a file transfer process operating at any particular node of the set of distributed nodes occurs in a Markov-like manner in that how the file fragment got to the download process (a past event) does not affect how the download process operates (a future event); rather, and with respect to the other file transfer processes, each such process operates randomly in that it makes no prior assumptions about the transfer journey of the fragment. In operation, typically each file transfer process operates by contributing a small portion of the overall transfer (at least a single fragment) while also minimally affecting (or disrupting) similar processes. Preferably, a given file transfer process associated to a file fragment reads from an optimized delivery location while writing to a final target destination (or to one or more intermediary locations that, in turn, become available source location(s)) for the fragment. At any point along a delivery path of a particular file fragment, a location from which the fragment is being read may be an optimized delivery location, e.g., by leveraging an overlay network. By breaking up the file replication in this manner, the solution herein enables the file transfer process to be deployed into any network location as needed.

[0009] According to a more specific aspect, a method for replicating a file from a source location to a destination location occurs across a distributed set of nodes, such as a set of compute nodes associated with a delivery network. Instead of replicating the file as a single object, a set of fragments that together constitute the file are transferred across the distributed set of nodes using a set of file transfer processes that each perform similar file transfer operations, but with the processes operating independently of one another. A node in the distributed set of nodes supports a file transfer process. In association with receipt of the file at the source location, a job file is created and published to any active nodes in the distributed set of nodes. The job file includes identification of the set of fragments that constitute the file, the destination location, and a checksum (or the like) of each fragment for use in checking integrity of the fragment. Each active file transfer process that receives or otherwise obtains the job file then performs similar file transfer operations as follows. These operations begin by determining whether the file is present in the destination location. If so, the file transfer process terminates, as there is no more work to do. Upon determining that the file is not present in the destination location, the file transfer process then determines whether a logical file representation of the file exists at the destination location. A logical file representation indicates what fragments of the file are then present at the destination location (and therefore what fragments are missing). If a logical file representation already exists, the file transfer process uses that representation; however, upon determining that no logical file representation of the file exists, the file transfer process creates one, e.g., using an Application Programming Interface (API) of the destination location. The file transfer process then continues by determining whether the logical file representation is unique because, for example, one or more other file transfer process(es) may have already created their own logical file representation(s). When there are multiple logical file representations present (and therefore a potential conflict regarding the true state of what fragments are actually present at the destination location already), the file transfer process must determine which one of the representations should be used. To that end, the file process applies one or more conflict resolution rules, and a given logical file representation is determined. Using the given logical file representation (which may or may not be the one created by the file transfer process), the file transfer process determines which fragments of the file are missing from the file at the destination location. Upon determining if there is a missing fragment, the file transfer process retrieves the missing from an available source (which may be the original source location or some intermediary location between the source location and some other node), and transfers the missing fragment to the destination location. The file transfer process then repeats the missing fragment determination and transfer operations until there is no more work to be done (typically because all the fragments are then present at the destination). Thereafter, the file transfer process finalizes the logical file representation into the actual file, which effectively takes all of the fragments and combines them. Each file transfer process operates in a similar manner, independently, and together the file transfer processes operate without any central control.

[0010] The foregoing has outlined some of the more pertinent features of the disclosed subject matter. These features should be construed to be merely illustrative. Many other beneficial results can be attained by applying the disclosed subject matter in a different manner or by modifying the subject matter as will be described.BRIEF DESCRIPTION OF DRAWINGS

[0011] FIG. 1 depicts a high level setup for the asymmetric accelerated file replication service of this disclosure;

[0012] FIG. 2 depicts a representative implementation of the asymmetric accelerated file replication service across nodes of a computing (compute) architecture;

[0013] FIG. 3 depicts a main process loop and a transfer process implemented with a node of the compute architecture of FIG. 3;

[0014] FIG. 4 depicts a determine actions for bucket operation of the main loop;

[0015] FIG. 5 depicts a create multi-part upload operation of FIG. 3 (step 312) and FIG. 4 (step 416);

[0016] FIG. 6 depicts a select one multi-part upload of the determine actions for bucket operation depicted in FIG. 4;

[0017] FIG. 7 depicts an upload fragments to multi-part upload operation of the determine actions for bucket operation depicted in FIG. 4;

[0018] FIG. 8 depicts a finalize multi-part upload operation of FIG. 3 (step 318);

[0019] FIG. 9 depicts a clean-up incomplete multi-part upload operation of FIG. 3 (step 320);

[0020] FIG. 10 depicts a representative overlay network (e.g., a CDN) that the file transfer processes herein may leverage; and

[0021] FIG. 11 depicts a cloud compute infrastructure that supports a set of compute nodes that execute file transfer processes of this disclosure.DETAILED DESCRIPTION

[0022] According to the technique of this disclosure, and in lieu of centralized and symmetric delivery paradigm wherein a large file is written to and read from a given bucket (or its equivalent storage object), the approach herein instead provides replication in a distributed and asymmetric manner. In this approach, the file replication process is broken up into a set of smaller transfer tasks or processes, namely, the transfer to a target bucket (or its equivalent) of each of a set of file “fragments” that together comprise the file, and wherein a given file fragment preferably is sourced from multiple delivery locations (as opposed to just a single bucket). Thus, the file replication service of this disclosure leverages the notion of sourcing content (typically a particular fragment of the larger file) from whenever it is available in a distributed computing network (as opposed to from just a same source bucket, such as an upload ingest point). In this paradigm, the file (or more generally content) to be replicated is at a source location, which may or may not be in a distributed computing environment, such as an overlay network (a CDN) or cloud computing infrastructure, an overlay network supporting a cloud architecture, or the like.

[0023] According to this approach, the file is identified by a set of fragments (that together constitute the file), wherein a fragment (or “transfer fragment”) is an agreed-upon smaller part of the file. For example, a large 400 GB file is broken up into many smaller transfer fragments, and each transfer fragment task / process in the system is then responsible for its singular goal of moving just its fragment from one location to another. As the fragment gets transferred, it may end up in the final destination location, or the destination location that receives the fragment may in turn become another available source location for further downstream transfer of the fragment. Eventually, the individual fragments are all received at the final destination location, and the original file is in effect then and there reconstituted. The notion of being reconstituted is not required to be a physical operation, as the existence of all the fragments in the destination location means that the file replication has succeeded. In the preferred embodiment, the file is reconstituted, e.g., by an API call that “finalizes” the file by taking all of the fragments and combining them.

[0024] FIG. 1 depicts the high level operation of the file replication technique of this disclosure. As shown and as will be described, the overall transfer logic or function is decentralized and distributed, and its provides for delivery optimization by enabling multiple delivery location(s) to participate in the file replication process. This transfer logic (realized as a set of file transfer processes operating across the nodes) facilitates breaking the file to be replicated into the set of transfer fragments (described and depicted below), wherein the transfer fragment is typically at least an order of magnitude smaller than the original file. Preferably, the replication of the file proceeds according to a delivery configuration (config) that sources content from many possible sources (buckets), while (eventually) writing to a single (final) storage bucket that needs the fragment(s). In the high level setup depicted in FIG. 1, the final destination location is assumed to be storage bucket 102, and as shown there at least two (2) distinct processes, such as compute processes 104 and 106, that participate in the overall transfer, typically at the same time. In this example, compute process 104 is located in a same network / geographic region as the storage bucket 102 (and thus is “in region”), whereas compute process 106 is located in a different region (and thus is “out of region”). As noted above, according to the technique herein, any process participating in the file replication is assumed to have the capability to read source content from a delivery location in the network, and to write that content to a different location, here the storage bucket 102. In this example embodiment, the compute processes 104 and 106 comprise processes in a cloud compute architecture, and both of the compute processes participate in the overall transfer at the same time. As also mentioned above, this overall file replication processing (provided by transfer logic 100) is asymmetric in the sense that it is reading fragments from the delivery configuration that is sourcing the file fragments from the many possible source locations in the network, with the ultimate goal of getting those fragments to storage bucket 102. In this example, the transfer logic 100 is distributed across as many compute (or delivery) nodes as needed or desired to be utilized. This representation of the transfer logic is intended for the purposes of illustration only; as explained below, this logic is not a form of centralized control, as each of nodes running this logic operate independently of one another.

[0025] This decentralized and distributed control mechanism provides significant advantages as compared to a symmetric process that relies on writing to / reading from just a single bucket, and that utilizes a centralized transfer logic, as it enables a given transfer logic instance implemented as a file transfer process associated to a file fragment to read from an optimized delivery location while writing to a final target destination (or to one or more intermediary locations that, in turn, because available source location(s)) for the fragment. At any point along a delivery path of a particular file fragment, a location from which the fragment is being read may be an optimized delivery location, e.g., by leveraging an overlay network (as will be described below). In this paradigm, a download process (fragment transfer) operating at any particular node of a set of distributed nodes is operating in effect in a Markov-like manner in that how the file fragment got to the download process (a past event) does not affect how the download process operates (a future event); rather, with respect to the other download processes, each such download process operates as a random process in that it makes no prior assumptions about the transfer journey of the fragment. Each download process operates by contributing a small portion of the overall transfer (at least a single fragment) while also minimally affecting (or disrupting) similar processes. By breaking up the file replication process, the solution herein enables the transfer logic to be deployed into any network location as needed.

[0026] FIG. 2 depicts the technique of this disclosure as deployed across an overlay network environment, such as a Content Delivery Network (CDN) that incorporates or is associated with a compute infrastructure. This is just one representative, but non-limiting, implementation. In this example, a well-defined file transfer process (e.g., running in a compute node) has a singular goal to move an individual fragment in a co-operative manner, and it is deployed (e.g., one (1) fragment: one (1) process) around the overlay network environment or otherwise in association therewith (theoretically around the world) to take advantage of the CDN's inherent ability to route around internet connectivity issues, minimize cost and / or increase performance. In this example, a source file to be replicated is depicted by reference numeral 201. It is assumed that source file is located in a source storage bucket 203, and the ultimate goal of the service is to replicate the content comprising source file into a destination file 205 located in a destination storage bucket 207. The destination storage bucket 207 is sometimes referred to herein as the target or final destination bucket / location. The destination location may be associated with a service that provides one or more Application Programming Interfaces (APIs) that enable external resources to access and manage storage in the destination location. Operations that are typically implemented via API calls are depicted in the drawings using a / . . . symbol, An example service of this type is Amazon® S3. The source file 201 may originate in source storage bucket 203, or it may be ingested to the bucket 203. As was described in FIG. 1, the approach herein leverages a delivery optimization 200 wherein the source file 201 is in broken up into (or considered to be) a set of fragments 209a-q, and a set of independent, Markov-like file transfer processes operating across (or in association with) the overlay network are utilized for the transfer of the fragments. Thus, and in this highly-simplified example, there are two (2) node regions, a first node region 204 that comprises nodes 206 and 208, and a second node region 210 comprises nodes 212 and 214. A node 206, 208, 212 or 214 is a compute, or overlay edge node, or the like.

[0027] Continuing with this example, each of the nodes operates a highly-efficient file transfer process 215 (an instance of a download process), and file transfer processes across the nodes are independent (and operate independently) from one another. As noted, preferably each instance of the file transfer process has a single (same) goal, namely, to move a fragment from one location to another, and to do so in a manner that causes minimal disruption of any other such process. As such, typically, the file transfer processes each operate in the same manner, but do so entirely independently from one another. In other words, and to take an example, a first file transfer process operating on a first node operates given transfer logic (described below), while a second file transfer process operating on a second node operates the same transfer logic, perhaps concurrently with the first file transfer process. That said, and in this example, the first file transfer process does not communicate with the second file transfer process, or vice versa, at any time although, as described above, both file transfer processes have the capability of interacting with the destination location to identify a logical file representation, namely, the then-current state of the status of the replication of the file (as viewed from the destination location only). Other file transfer processes are operating in the same manner, once again, each independently.

[0028] In this particular example scenario, node region 204 operates as a “push to remote” region because the nodes 206 and 208 therein push their respective fragments into the destination file 205. Conversely, node region 210 is a “pull from remote” region because the nodes 212 and 214 pull their fragments as they transfer them into the destination file 205. As further depicted, there may be several techniques implemented to facilitate scale up, namely, vertical scaling 216, horizontal scaling 218, and global scaling 220. Typically, vertical scaling 216 is carried out in a node in a region, e.g., by adding more containers in the node, or by adding more processing threads in a given container. Horizontal scaling 218 is carried out within a given region, typically by adding more nodes. Globally scaling 220 involves adding more node regions to the overall transfer process. Scale-up, and conversely scale-down, operations are typically managed by global and local overlay network management systems and components, all in a known manner.

[0029] The notion of leveraging a distributed compute infrastructure to move data in fragments according to the technique herein has numerous advantages. In the example scenario shown in FIG. 2, and by way of example only, fragments 209a, 209c, 209g, 209j and 209m are replicated into the destination bucket by node 212, fragments 209d, 2091, 209n, and 209q are downloaded into the bucket by node 206, fragments 209b, 209h, 209k and 2090 are downloaded into the bucket by node 214, and fragments 209e, 209f, 209i and 209p are downloaded into the bucket by node 208.

[0030] The notion of leveraging a distributed compute infrastructure to move data in fragments according to the technique herein has numerous advantages.

[0031] FIG. 3 depicts the high level components and their operation that provides the asymmetric stateless replication method and system of this disclosure. The upper portion of the diagram depicts a main loop 300 of the file transfer process that operates in each node. There may be multiple instances of the main loop operating in a node. The lower portion of the diagram depicts a transfer process 302 that runs in the node under the control of the main loop 300. There is an instance of the transfer process 302 for each of a set of concurrent transfers in progress at the node. As depicted, both the main loop 300 and the transfer process 302 include various locks 304, and a lock 304 is an indication when a component sends a signal of its intent to perform some operation, such as an intention to create a multi-part transfer, an intention to transfer a file or fragment, or an intention to finalize a multi-part transfer. Such intentions are not guaranteed to be followed by all nodes, in which case a conflict resolution process occurs, as described below. A multi-part transfer is one involving more than one fragment of the file. As conflicts (between file transfer processes contending for the transfer of one or more fragments to the destination) are expected (and conflict resolution is built into the design of the overall functionality), the transfers complete with minimal disruption despite having many independent nodes that may be involved. Indeed, theoretically as the number of fragments of the file is increased, and as the number of file transfer processes increases, there will be less likelihood of conflicts between file transfer processes contending to transfer the fragments. This notion allows scale up or scale down as needed, e.g., depending on transfer speed, other performance considerations, delivery cost, and other goals. When a process starts (or restarts), preferably it skips over any steps it does not then need to perform; these steps are those that have already been completed previously, or because another node is already doing the work in parallel. Non-limiting examples include: when a fragment of a file is already on the destination, the node will not try to re-upload the same fragment, or when a logical file representation already exists, the node will not try to create a new one.

[0032] As used herein, the notion of a “transfer” is sometimes referred to an “upload” or a “download.”

[0033] Referring back to FIG. 3, a main loop 300 starts at step 303 by discovering new jobs. When a new job is discovered, it is added to a list of jobs to be processed. When a job is processed at step 305, all its tasks are processed. In this context, a task typically is one: transfer of one file (of many) as part of the job, transfer of multiple files (as a single transfer) when the file is small enough, several transfers of fragments, multiple transfers occurring in separate processes run in parallel, and combinations thereof. Step 306 represents the processing of each task that comprise the job. When all the tasks for a job are completed, the job is marked as completed. When the job is marked as completed, it is removed from the list of jobs to process, and the main loop 300 cycles to continue processing a next job.

[0034] As depicted within the main loop, and at the task level, at step 308, the main loop determines a set of actions for a bucket. The details of this operation are depicted in FIG. 4 and described below. An action may involve a single file upload, or a multi-part upload. If the action is a single file upload, control moves to step 310 to schedule / check the single file upload. If the action is a multi-file upload, control moves to step 312, which creates a multi-part upload. The details of this operation are depicted in FIG. 5 and described below. After the create multi-part upload operation in step 312, control continues at step 314, wherein the main loop solves any multi-part upload conflict. Operations like 314 marked as read indicate that some conflict resolution needs to be carried out (as many nodes may be involved, and a protocol to gracefully resolve any overlap / conflict should be carried out). After step 314, the main loop continues at step 316 to schedule / check on uploads of fragments. Step 316 may also be reached directly based on an action identified at step 308. Following step 316, control continues at step 318, where the main loop finalizes the multi-part upload. The details of this operation are depicted in FIG. 8 and described below. At step 320, the main loop 300 cleans-up any incomplete multi-part upload, and control then continues at step 322, indicating that the task is now complete (marked as green to indicate that processing can move on to a next task); step 322 is also reached after step 310 (in the single file upload scenario). As can be seen (by steps 310 and 316), the main loop schedules the possible transfers / uploads, but the transfers themselves are carried out by the transfer process 302. Steps 310 and 316 are marked in yellow to indicate that additional operations need to be done.

[0035] Continuing in FIG. 3, a transfer process 302 is an asynchronous process that is run concurrently (with other such transfer processes), e.g., to increase or shape performance, reduce cost, and the like. The transfer process carries out its operation for all possible transfers assigned to it by the main loop. This is indicated by step 324. At 326, and based on all possible transfers occurring at a present moment (point in time), the transfer process to be used is selected (preferably randomly) based on weights, preferences, restrictions, policy, or other considerations (or combinations thereof). At step 328, transfer selection is determined. At step 329, and if needed, any transfers equivalent to the transfer selected, are cancelled. At step 330, the transfer is performed (and marked in green, indicating that processing can move on to a next transfer).

[0036] FIG. 4 depicts the determine actions for bucket operation (step 308 in FIG. 3). The routine begins at step 400 with the start of an action. A test is performed at step 402 to determine if the file is on the bucket already. If the outcome of the test is positive, the routine continues at step 404 to test whether the upload of the file occurred in fragments. If the outcome of the test step 404 is positive, the routine continues at step 406 to determine whether there are any incomplete multi-part uploads. If the outcome of the test at step 406 is positive, control then continues at step 408 to clean-up any incomplete multi-part uploads. If the outcome of either test at step 404 or 406 is negative, control moves to step 410 to mark the task as complete. If the outcome of the test at step 402 is negative, control moves to step 412 to test whether the file is to be uploaded in fragments. If the outcome of the test at step 412 is negative, control moves to step 422 to upload the file as a single file. If, however, the outcome of the test at step 412 is positive, step 414 tests to determine how many multi-part uploads exist. If none, control moves to step 416 to create a multi-part upload. The notion of “multi-part” means that there are two or more fragments that are to be transferred in a particular transfer. If there are more than one multi-part uploads existing, control moves to step 418 to select one (1) multi-part upload. This operation is depicted in FIG. 6 and described below. If there is exactly one (1) multi-part upload, control moves to step 420 to upload fragments to the multi-part upload. This operation is depicted in FIG. 7 and described below.

[0037] FIG. 5 depicts the create a multi-part upload operation, which is step 312 in FIG. 3, and step 416 in FIG. 4. The start of the action is step 500. At step 502, the multi-part upload is created, after which a restart of the process is initiated at step 504 (for a next occurrence). The lock icon in step 502 means that a signal is left on the destination bucket on which the multi-part upload is intended to be created. Other nodes check the signal and change their actions accordingly.

[0038] FIG. 6 depicts a select one (1) multi-part upload operation, which is step 418. This is an example of a protocol to resolve a multi-part upload conflict, e.g., counting the number of fragments already in the multi-part upload and the multi-part upload with the most fragments wins; if there is another multi-part upload with the same number of fragments, then a multi-part upload with a highest priority identifier or earliest creation timestamp (or some other such signal) is used to determine which multi-part upload wins. The actual protocol chosen depends on what is supported by the destination bucket(s), with the notion being that multiple nodes could be in conflict and thus some protocol is invoked to resolve the conflict. To this end, the routine begins at step 600. At step 602, all multi-part uploads are identified. At step 604, the multi-part upload with the most data already uploaded is identified. A test is then performed at step 606 to determine whether the identification (in this example, step 604) has resolved the conflict. If so, control moves to step 608 to abort the other (non-winning) multi-part uploads. If the outcome of the test at step 606 is negative, meaning that the conflict is not yet resolved, control continues at step 610 to (in this example protocol) select the multi-part upload based on a signal (e.g., highest priority identifier, earliest creation date, or other). Following step 610, control again moves to step 608, which as noted aborts all other (non-winning) multi-part uploads. Control then continues at step 612 to restart the process. As noted above, the protocol depicted in FIG. 6 is merely representative of one type of conflict resolution, but this is not intended to be limiting, as other conflict resolutions may be implemented.

[0039] FIG. 7 depicts an upload fragments to multi-upload operation, which is step 420 in FIG. 4. This is the operation that schedules the possible transfers / uploads (as opposed to carrying them out, which as noted above preferably is the function of the transfer process(es)). The operation begins at step 700. At step 702, a test is performed to determine whether there is exactly one (1) multi-part upload. If not, control branches to step 704, and the process restarts. If, however, there is exactly one multi-part upload, control moves the step 706 to test whether there are any missing fragments in the multi-part upload. If not, control branches to step 708 to finalize the multi-part upload (step 318 in FIG. 3), by the steps as depicted in FIG. 8 that is described below. If the outcome of the test at step 706 is positive, meaning that there are missing fragment(s), the following operations are carried out for each missing fragment, as reflected by step 710. To this end, at step 712 a test is performed to determine if the fragment is allowed to be pulled from its source. If the outcome of the test at step 712 is positive, control moves to step 714 to test if the fragment is allowed to be pushed to its destination. If the outcome of the test at step 714 is positive, control then continues at step 716 to schedule the upload (for the missing fragment) from source to destination.

[0040] If the outcome of the test at step 712 or 714 is negative, control continues at step 718, which is carried out for each of one or more “alternative” source and destination pair. The notion of an alternative source (or destination) is a by-product of the fact that, as fragments are successfully transferred from the original source to a destination, that destination is now a candidate (a possible “alternative” source) of that fragment. As described below, the processes / nodes also selectively check these new alternative sources as needed and, as a result, the available bandwidth for the delivery, as well as options for recovery (when a file / fragment delivery fails), are increased.

[0041] Referring back to FIG. 7, at step 720 the operation tests whether the fragment is on an alternative source. If not, control returns to step 710 (and loops for one or more remaining missing fragments). If the outcome of the test at step 720 is positive, control continues at step 722 to test whether the fragment can be pulled from the alternative source. If so, a test is then performed at step 724 to determine if the fragment is allowed to be pushed to the alternative destination. If the outcome of the test at step 724 is also positive, control moves to step 726 to schedule the upload from the alternative source to the alternative destination. If the outcome of either step 722 or step 724 is negative, however, the routine loops back to step 718 for one or more remaining alternative source and destination pairs.

[0042] FIG. 8 depicts the finalize multi-part upload operation, which is step 318 in FIG. 3, and step 708 in FIG. 7. The operation begins at step 800. Once all the fragments are in the multi-part upload, any node can finalize the upload at step 802 and thus initiation completion of the file transfer. Finalizing is the notion of reconstituting the file using the file fragments, and it means that all of the file fragments are then present at the destination location. A node signals its intention to complete the multi-part upload via a lock, as also depicted. Following step 802, the process is restarted at step 804 for a next occurrence.

[0043] FIG. 9 depicts the clean-up incomplete multi-part upload, which is step 320 in FIG. 3. It begins at step 900. This operation occurs if there was a conflict in the multi-part upload(s), and during which at step 902 any remaining (non-winning) multi-part uploads are aborted, cleaned up or removed. The process is then restarted at step 904.

[0044] The operations carried out in FIGS. 4-9 typically are implemented in software, as set(s) of computer program instructions held in computer memory and executed on physical or virtual machines. As noted, these main loop operations are used to schedule the possible transfers, whereas the transfer operations themselves are carried out by the transfer process(es). The operations in FIGS. 4-9 are informed by demand information available from a bucket, as the bucket is the entity that has the most up-to-date information about what it already present there (or what may be missing). In particular, the demand information is the logical file representation of the file that is available to each file transfer process, typically via an API call to the destination location service. In FIGS. 4-9, an API call of this type is indicated by a / . . . symbol, as previously noted. Without the need of a centralized control system, and based at least in part on the demand information that originates in association at the destination location, the nodes themselves independently and autonomously figure out which parts of a file are missing on the bucket. As noted above, and by virtue of using the repeatable and Markov-like processes at the various nodes (and that also include and execute conflict resolution rules when multiple nodes end up vying for the transfer of a particular fragment), once a job is submitted into the network there is no other management information needed to fulfill the request. The approach herein enables the system to maximize performance and value, irrespective of the size(s) of the files that are being moved. As noted, as content moves around and reaches other destinations, it becomes eligible to be transferred from the new location as well. As a result, the actual movement of data is dynamic and changes as more fragments propagate through the network, thereby providing more choices, but the choices are always governed by simple preferences.

[0045] Generalizing, a file transfer process acts as an instance, typically in a node (such as a compute node) in the overlay network, and as noted contributes a (relative to the file as a whole) small portion of the overall transfer, e.g., one or more small fragments, but typically just a single fragment. The main loop as described above is used to control the overall scheduling of the multiple single fragments. When a transfer is needed, a source of truth for the set of instances that will carry out that transfer is created, typically as a manifest file (or similar listing). The manifest file is sometimes referred to herein as a “job file.” The manifest file typically includes metadata, such as where the initial source of content resides (e.g., a URL), an agreed-upon chunk size (e.g., 128 MB, 256 MB, etc.), a checksum of each chunk, a final destination (or destinations) for the content, and any connecting information). There can be many sources of content packaged up in a transfer job, as many distinct pieces of content can be described and moved by one job / manifest file.

[0046] Preferably, and at each point in the process where a transfer is about to take place, the fragment involved is checked against its checksum (an integrity check), which may be computed from a hash function, such as MD5, SHA-1, from a CRC error code, or the like. If the checksum does not match, the transfer process will not proceed. Preferably, the checksum for each fragment, is also provided to the destination storage bucket, and the bucket itself also rejects content that does not match. By including checksum validation into the transfer process, preferably at every state, bad content does not propagate through the network and thus inefficient transfers are avoided. This ensures that the overall process is reliable irrespective of regional issues and actual deployment.

[0047] Once the job is submitted into the network, as noted there is no other management information needed in order to fulfill the request. Each node then active in the configuration of nodes has the capability (by virtue of supporting the file transfer process) participating in the transfer picks up the job, decides on its own what it can and should do based on its own local, independent perspective and the state of the destination storage bucket (the logical file representation), i.e., what fragments are already known to be present there. The process then performs those tasks until there are not more tasks to complete. Preferably, error handling and conflict resolution are integrated into the replication process. In particular, in the approach herein the notion of errors and conflicts occurring is not an exceptional condition, it is a normal and expected part of the process and designed to be minimized and handled efficiently. To this end, each transfer process knows what to do in a conflict and by definition that action takes into account what other nodes would also do, therefore, the system plans for and minimizes unnecessary flow on effects. This planning includes the above-described notion of creating a multi-part upload. As previously explained, and in order to reconstruct a large file from its fragments, a multi-part upload needs to be created that contains all the fragments. When two or more nodes happen to notice that there is no multi-part upload available, they all may attempt to create one. In this case, more than one multi-part upload may be created (two or more nodes working in parallel); this is not an error, but rather an artifact of each process working independently. As a result, an extra step needs to occur after a multi-part upload is created, which is to ensure that only one (1) such multi-part upload exists. This is the notion of resolving a conflict in the logical file representation(s) if two or more exist. If more than one (1) exists, a conflict has occurred, and the conflict resolution protocol (based on one or more conflict resolution rules) is initiated, also as previously described. Different conflict resolution rules may be placed strategically into the system and applied locally to allow the overall process to complete efficiently globally.

[0048] The number of nodes in this system is not a limitation, and the performance of the file transfer can be increased and theoretically maximized by adding more nodes because in theory adding more nodes increases throughput but not necessarily cost, as more nodes enable the job to be done quicker, with the nodes then freed to do another task. In practice, there may be a per-node overhead and throughput limit that can be reached in different areas of the network, but such limits need not exist for all nodes. In a variant, the network is modeled to determine what is the right balance of minimum and maximum nodes per region, and also when needed to address bucket limits by adding more buckets in the destination region, and when needed address region limits by adding more destination regions; because delivery is global (when a global CDN is involved) delivery limits are not of concern. Ideally, this modeling would be a dynamic modeling process that is controlling process scaling and transfer preferences automatically based, e.g., on job backlog and current spend.

[0049] When a particular node running its file transfer process identifies multiple missing fragments, it may select a particular fragment randomly or in some deterministic manner. Also, where the file transfer process has multiple places from which to source a particular fragment, the service provider may provide preferences or other configuration data on its nodes to increase a likelihood that the file transfer process obtains the fragment from a particular one of the source locations that are otherwise available to it. These preferences / configuration data, however, preferably do not necessarily control the file transfer process, which continues to operate its selection process (for obtaining the fragment) randomly. In an example embodiment, the service provider may provide configuration data in the form of a set of weights applied across the nodes (or some subset thereof), where the weights in effect bias the random decision process, preferably to ensure that higher weighted routes are more likely to be chose. This increase resilience of the overall system (when the preferred routes are not working, as an example), at the tradeoff of sometimes using slower or more expensive links. The tradeoff itself can then be configured by how the weights are defined.

[0050] In a representative example embodiment (using Amazon S3 and its API), the following APIs calls may be used: checking if the logical file representation exists (ListMultipartUploadsRequest); creating the logical file if one does not exist (CreateMultipartUploadRequest); checking if there is only one (1) logical file (ListMultipartUploadsRequest); if more than one, resolving the conflict, e.g., by deleting others (AbortMultipartUploadRequest); check while fragments are missing from the logical file (ListPartsRequest); something is missing, so pick a fragment from a best available source (PutObjectRequest, UploadPartCopyRequest); and finalize the logical file (CompleteMultipartUploadRequest). Of course, the nature of the API calls used will vary based on implementation, and the above listing is not intended to be limiting.Operating Environment

[0051] In a known system, such as shown in FIG. 10, a distributed computer system 1000 is configured as a content delivery network (CDN) and is assumed to have a set of machines 1002a-n distributed around the Internet. Generalizing, a CDN is a type of overlay network. Typically, most of the machines are servers located near the edge of the Internet, i.e., at or adjacent end user access networks. A network operations command center (NOCC) 1004 manages operations of the various machines in the system. Third party sites, such as web site 1006, offload delivery of content (e.g., HTML, embedded page objects, streaming media, software downloads, and the like) to the distributed computer system 1000 and, in particular, to “edge” servers. Typically, content providers offload their content delivery by aliasing (e.g., by a DNS CNAME) given content provider domains or sub-domains to domains that are managed by the service provider's authoritative domain name service. End users that desire the content are directed to the distributed computer system to obtain that content more reliably and efficiently. Although not shown in detail, the distributed computer system may also include other infrastructure, such as a distributed data collection system 1008 that collects usage and other data from the edge servers, aggregates that data across a region or set of regions, and passes that data to other back-end systems 1010, 1012, 1014 and 1016 to facilitate monitoring, logging, alerts, billing, management and other operational and administrative functions. Distributed network agents 1018 monitor the network as well as the server loads and provide network, traffic and load data to a DNS query handling mechanism 1015, which is authoritative for content domains being managed by the CDN. A distributed data transport mechanism 1020 may be used to distribute control information (e.g., metadata to manage content, to facilitate load balancing, and the like) to the edge servers. A given machine in the CDN comprises commodity hardware running an operating system kernel (such as Linux or variant) that supports one or more applications. To facilitate content delivery services, for example, given machines typically run a set of applications, such as an HTTP proxy (sometimes referred to as a “global host” process), a name server, a local monitoring process, a distributed data collection process, and the like. A CDN edge server is configured to provide one or more extended content delivery features, preferably on a domain-specific, customer-specific basis, preferably using configuration files that are distributed to the edge servers using a configuration system. A given configuration file preferably is XML-based and includes a set of content handling rules and directives that facilitate one or more advanced content handling features. The configuration file may be delivered to the CDN edge server via the data transport mechanism. U.S. Pat. No. 7,111,057 illustrates a useful infrastructure for delivering and managing edge server content control information, and this and other edge server control information can be provisioned by the CDN service provider itself, or (via an extranet or the like) the content provider customer who operates the origin server.

[0052] More generally, the techniques described above are provided using a set of one or more computing-related entities (systems, machines, processes, programs, libraries, functions, or the like) that together facilitate or provide the described functionality described above. In a typical implementation, a representative machine on which the software executes comprises commodity hardware, an operating system, an application runtime environment, and a set of applications or processes and associated data, which provide the functionality of a given system or subsystem. As described, the functionality may be implemented in a standalone machine, or across a distributed set of machines. The functionality may be provided as a service, e.g., as a SaaS solution. Because the CDN infrastructure (or “edge platform”) is shared by multiple third parties, it is sometimes referred to herein as a multi-tenant shared infrastructure. The CDN processes may be located at nodes that are publicly-routable on the Internet, within or adjacent nodes that are located in mobile networks, in or adjacent enterprise-based private networks, or in any combination thereof.

[0053] As used herein, an “edge server” refers to a CDN (overlay network) edge machine or server process used thereon. In the above-described context, a “region” typically is a set of edge servers or machines that are co-located with one another. More formally, a “region” or “cluster” typically is a collection of machines in a single location within a given region that share equivalent front-end network connectivity and also share a local back-end network.

[0054] Cloud computing is a model of service delivery for enabling on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a provider of the service. Available service models that may be leveraged in whole or in part include: Software as a Service (Saas) (the provider's applications running on cloud infrastructure); Platform as a service (PaaS) (the customer deploys applications that may be created using provider tools onto the cloud infrastructure); Infrastructure as a Service (IaaS) (customer provisions its own processing, storage, networks and other computing resources and can deploy and run operating systems and applications). Typically, the cloud computing environment has a set of high level functional components that include a front end identity manager, a business support services (BSS) function component, an operational support services (OSS) function component, and the compute cloud components themselves.

[0055] A representative cloud computing infrastructure is implemented in a data center operated by a virtual machine (VM) hosting provider. A representative provider is Linode®, now owned by Akamai Technologies, Inc., of Cambridge, Massachusetts. In this infrastructure, a “Host” refers to a bare-metal machine running software. A “Compute Host” is a machine that manages virtual machines VMs and typically runs associated administrative software for a cloud compute infrastructure. A “Guest VM” is a virtual machine running on a Compute Host, and it may be a customer VM or an infrastructure VM. A “Datacenter” (CD) typically is a customer-facing abstraction for cloud compute infrastructure, typically a cluster of Guest VMs.

[0056] In FIG. 11, an example virtual machine hosting environment (alternately referred to herein as a data center or “cloud”) is illustrated. This environment comprises host machines (HVs) 1102 (e.g., servers or like physical machine computing devices) connected to a physical datacenter network 1104, typically via a hypervisor management VLAN 1106. Typically, the environment also includes load balancers, network data switches (e.g., top-of-rack switches), firewalls, and the like. As shown in FIG. 11, physical servers 1102 are each adapted to dynamically provide one or more virtual machines (VMs) 1108 using virtualization technology. Server virtualization is a technique that is well-known in the art. As depicted, multiple VMs can be placed into a single host machine and share the host machine's CPU, memory and other resources, thereby increasing the utilization of an organization's data center. In this environment, tenant applications 1110 are hosted in network appliances 1112, and tenant data is stored in data stores and databases 1114. The applications and data stores are connected to the physical datacenter network 1104, typically via a network management / storage VLAN 1116. Collectively, the virtual machines, applications and tenant data represent a subscriber-accessible virtualized resource management domain 1105. Through this domain, the subscriber's employees may access and manage (using various role-based privileges) virtualized resources they have been allocated by the provider and that are backed by physical IT infrastructure. The bottom portion of the infrastructure illustrates a provider-accessible management domain 1115. This domain comprises a provider employee management portal 1118, BSS / OSS (Business Support Services / Operational Support Services) management functions 1120, identity and access management functions 1122, a security policy server 1124, and management functions 1126 to manage server images 1128. These functions interface to the physical datacenter network via a management VLAN 1130.Other Enabling Technologies

[0057] Each of the functions described herein may be implemented in a hardware processor, as a set of one or more computer program instructions that are executed by the processor(s) and operative to provide the described function.

[0058] The cloud compute infrastructure may be augmented in whole or in part by one or more web servers, application servers, database services, and associated databases, data structures, and the like. More generally, the techniques described herein are provided using a set of one or more computing-related entities (systems, machines, processes, programs, libraries, functions, or the like) that together facilitate or provide the functionality described above. In a typical implementation, a representative machine on which the software executes comprises commodity hardware, an operating system, an application runtime environment, and a set of applications or processes and associated data, networking technologies, etc., that together provide the functionality of a given system or subsystem. As described, the functionality may be implemented in a standalone machine, or across a distributed set of machines.

[0059] Each above-described process, module or sub-module preferably is implemented in computer software as a set of program instructions executable in one or more processors, as a special-purpose machine.

[0060] Representative machines on which the subject matter herein is provided may be computing machines running hardware processors, virtualization technologies (including QEMU), a Linux operating system, and one or more applications to carry out the described functionality. One or more of the processes described above are implemented as computer programs, namely, as a set of computer instructions, for performing the functionality described.

[0061] While the above describes a particular order of operations performed by certain embodiments of the disclosed subject matter, it should be understood that such order is exemplary, as alternative embodiments may perform the operations in a different order, combine certain operations, overlap certain operations, or the like. References in the specification to a given embodiment indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may not necessarily include the particular feature, structure, or characteristic.

[0062] While the disclosed subject matter has been described in the context of a method or process, the subject matter also relates to apparatus for performing the operations herein. This apparatus may be a particular machine that is specially constructed for the required purposes, or it may comprise a computer otherwise selectively activated or reconfigured by a computer program stored in the computer. Such a computer program may be stored in a computer readable storage medium, such as, but is not limited to, any type of disk including an optical disk, a CD-ROM, and a magnetic-optical disk, a read-only memory (ROM), a random access memory (RAM), a magnetic or optical card, or any type of media suitable for storing electronic instructions, and each coupled to a computer system bus.

[0063] While given components of the system have been described separately, one of ordinary skill will appreciate that some of the functions may be combined or shared in given instructions, program sequences, code portions, and the like. Any application or functionality described herein may be implemented as native code, by providing hooks into another application, by facilitating use of the mechanism as a plug-in, by linking to the mechanism, and the like.

[0064] The platform functionality may be co-located or various parts / components may be separately and run as distinct functions, perhaps in one or more locations (over a distributed network).

[0065] Generalizing, the techniques may be implemented in a computing platform, wherein one or more functions of the computing platform are implemented conveniently in a cloud-based architecture. As is well-known, cloud computing is a model of service delivery for enabling on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a provider of the service. Available service models that may be leveraged in whole or in part include: Software as a Service (Saas) (the provider's applications running on cloud infrastructure); Platform as a service (PaaS) (the customer deploys applications that may be created using provider tools onto the cloud infrastructure); Infrastructure as a Service (IaaS) (customer provisions its own processing, storage, networks and other computing resources and can deploy and run operating systems and applications).

[0066] The platform may comprise co-located hardware and software resources, or resources that are physically, logically, virtually and / or geographically distinct. Communication networks used to communicate to and from the platform services may be packet-based, non-packet based, and secure or non-secure, or some combination thereof.

[0067] According to this disclosure, nodes on which file transfer processes are instantiated and execute may be part of the cloud compute infrastructure, part of an edge server in an edge network of an overlay such as a CDN, or located as standalone processes, e.g., in association with third party cloud compute services.

Claims

1. A method for replicating a file from a source location to a destination location across a distributed set of nodes, each such node supporting a file transfer process, the file comprising a set of fragments constituting the file, comprising:responsive to publication of a job file, the job file having been created in association with receipt of the file at the source location, the job file including identification of the destination location, and the set of fragments, performing the following sub-steps at each file transfer process:(a) determining whether the file is present in the destination location;(b) upon determining that the file is not present in the destination location, determining whether a logical file representation of the file exists;(c) upon determining that no logical file representation of the file exists, creating the logical file representation;(d) determining whether the logical file representation created in step (c) is unique;(e) upon determining that the logical file representation created in step (c) is not unique, resolving a conflict between the logical file representation and one or more other logical file representation(s) to determine a final logical file representation;(f) thereafter, determining, based on the final logical file representation, what fragments are missing from the file at the destination location;(g) upon determining that there is a missing fragment, retrieve the missing fragment from an available source, and transfer the missing fragment to the destination location;(h) repeating at least steps (f) and (g) until a determination is made that the file at the destination location is complete;wherein the file transfer processes operate independently of one another.

2. The method as described in claim 1, wherein the available source is the source location.

3. The method as described in claim 1, wherein the available source is an intermediary node in the distributed set of nodes that receives a fragment along a delivery path that begins at the source location.

4. The method as described in claim 3, wherein the intermediary node is an edge node of a Content Delivery Network (CDN).

5. The method as described in claim 1, wherein the distributed set of nodes are compute nodes of a distributed compute network.

6. The method as described in claim 1, wherein replicating the file from the source location to the destination location includes transfer by one of the file transfer processes of a collection of two or more fragments of the file as a multi-part transfer.

7. The method as described in claim 1, wherein the conflict between logical file representations is determined by applying a conflict resolution rule.

8. The method as described in claim 1, wherein a size of a file fragment is at least an order of magnitude smaller than a size of the file.

9. The method as described in claim 1, wherein a subset of the set of distributed nodes operate within a region of the set of distributed nodes.

10. The method as described in claim 9, further including vertically scaling a processing capacity of at least one node within the region prior to instantiating one or more of the set of file transfer processes.

11. The method as described in claim 9, further including horizontally scaling the region to include an additional node prior to instantiating one or more of the set of file transfer processes.

12. The method as described in claim 9, further including vertically scaling a processing capacity of at least one node within the region and horizontally scaling the region to include an additional node prior to instantiating one or more of the set of file transfer processes.

13. The method as described in claim 1, wherein the source location is a node of the distributed set of nodes.

14. The method as described in claim 1, wherein the job file includes a checksum for each fragment of the file.

15. The method as described in claim 14, wherein the missing fragment is transferred only when the checksum for the missing fragment is first validated.

16. The method as described in claim 1, wherein the file is replicated from the source location to the destination location at least in part over one or more delivery paths of an overlay network.

17. A file replication system operating between a source location and a destination location, comprising:a distributed set of nodes, wherein a node comprises at least one physical or virtual machine, and computer memory holding computer program instructions, the computer program instructions comprising program code configured as a file transfer process;wherein a set of file transfer processes across the distributed set of nodes operate independently of one another, wherein a behavior of a given file transfer process in the set of file transfer processes depends on a logical file representation accessible from the destination location, and wherein the given file transfer process is configured to download a fragment of a file from a first location to a second location along a delivery path between the source location and the destination location and without regard to how the fragment arrived in the first location;the set of file transfer processes operating on a set of fragments instead of on the file, thereby replicating the file from the source location to the destination location.

18. A method for replicating a file from a source location to a destination location across a distributed set of nodes, each such node supporting a file transfer process, the file comprising a set of fragments constituting the file, comprising:responsive to publication of a job file, the job file including identification of the destination location, and the set of fragments, performing the following sub-steps at each of a set of active file transfer processes:(a) determining whether the file is present in the destination location;(b) upon determining that the file is not present in the destination location, obtaining a logical file representation from the destination location;(c) determining, based on the logical file representation, what fragments are missing from the file at the destination location;(d) upon determining that there is a missing fragment, retrieving the missing fragment from an available source;(e) upon verifying an integrity of the missing fragment retrieved from the available source, transferring the missing fragment to the destination location; and(f) repeating at least steps (c) through (e) until a determination is made that the file at the destination location is complete; andwherein the file transfer processes in the set of active file transfer processes operate independently of one another.

19. The method as described in claim 18, further including an active file transfer process initiating finalizing the file at the destination location, wherein finalizing includes issuing an instruction to reconstitute the file from the set of fragments.

20. The method as described in claim 18, wherein the available source is one of a set of available sources that includes the source location, and at least one alternate location within the distributed set of nodes.

Citation Information

Patent Citations

  • Data migration system

    US20190129616A1

  • Scalable media file transfer

    US20230156070A1