Distributed storage provides data across networked storage resources. Containers can mount SMB or NFS shares, Azure Files, or Amazon S3 as filesystem locations, but applications may encounter unsupported operations and much slower network-based writes. section 6.4
Check two practical risks before using distributed storage for a container:
- Verify that the storage supports every filesystem operation the application requires; Azure Files caused a Postgres container to crash when it attempted to create a file link. section 6.4
- Expect different performance from local storage because file writes travel over the network; disk-intensive applications may become extremely slow. section 6.4
Figure 6.14 Distributed storage systems may not provide all the usual filesystem features.
Use the figure to inspect how distributed storage can omit filesystem features expected by applications. section 6.4
