3 ms·
- Scalability. Even if it is true the db layer will probably be the bottleneck in your typical django app, it is nice to have a scaling strategy at every layer.
by smashed 10y ago
- Scalability. Even if it is true the db layer will probably be the bottleneck in your typical django app, it is nice to have a scaling strategy at every layer.
- Redundancy. Platforms like k8s and other PaaS can distribute instances of the same apps to multiple hosts / availability zones.
- Zero downtime deployment. Spin up the new version in a container, have both previous and new version running concurrently, then start routing traffic to the new app.
- Standardization. Settling on a container type to run all your apps makes for great dev and ops relationships.
- Immutable code. Know exactly which version is running in production and be confident it can't be changed manually.