Computer Science, asked by rahulleo2083, 1 year ago

Difference between file caching and file replication

Answers

Answered by AdityaPurohit009
1

You might accomplish them using similar means and similar software packages, but the main purposes of each are different.

Caching is so that your application can quickly access information that you perceive would be needed by your application quite often. The little time savings would add up, of course.

Data replication is so that if you have segmented or sharded your data across different instances or servers, you can access them from a replicated server which is nearer you (and therefore quicker to access). The replication may also be so that your application is more resilient to failures. If the main server or shard fails, the secondary shard can still give you access to the information.

Namste

Similar questions