Provides persistent storage for files and assets, such as videos served by an application. In a microservices system, file storage can remain behind a dedicated service instead of coupling application logic directly to a provider. section 4.0 section 4.4
A practical file-storage arrangement separates responsibilities:
- Use external cloud storage such as Azure Storage, AWS S3, or Google Cloud Storage for application files. section 4.4
- Place a storage microservice between application services and the external provider. section 4.4
- Use Docker Compose to run the storage service with the rest of a multi-container application during development. section 4.1
Replacing cloud storage locally
A mock-storage service can store videos in a local filesystem instead of Azure Storage. A GET /video request reads a file by identifier, while POST /upload writes the request stream to a path under the service's storage directory. Mounting that directory into the container preserves files during development and avoids external cloud dependencies. section 10.7.2
Shows the storage microservice as an intermediary between the video-streaming service and external cloud storage. section 4.4



