Requirements of the File API
Discover how to design a file storage API by learning its key functional operations like upload, download, delete, and list. Understand crucial non-functional requirements such as reliability, security, scalability, and low latency. This lesson helps you evaluate API architecture choices and plan for efficient communication between clients and backend services.
Introduction
File or cloud storage services are gaining popularity because they offer cheaper, more reliable storage without the worry of manually managing and upgrading space. We can upload various media, such as photos, videos, documents, and software, to the cloud storage service. The media can be downloaded later when needed. Cloud storage services are designed to be reliable, so users can access their data as is when needed. The most popular cloud storage services today include Google Drive, Microsoft OneDrive, Amazon Drive, Dropbox, and MediaFire.
Let's now see what a file service looks like at an abstract level.
File service
Cloud storage services work by transferring files from one computer system (client) to another (host), which is usually a more powerful computer system with a large ...