3 ms·
What about single-host container (i.e. regular docker host, not k8s) with data partition mounted from host?
by ivan_ah 6y ago
What about single-host container (i.e. regular docker host, not k8s) with data partition mounted from host?
- squibbles 6y agoFor me, personally -- I cannot think of a sufficient justification to put a production database in a container. A good database server is designed for performance, reliability, scalability, security, etc., without containers. Putting a production database inside a container introduces a world of unnecessary edge cases and complexity.
- ivan_ah 6y agoThanks for your feedback. I might run the DB on the host then, and just use containers for the app server. I'm not at the scale to warrant a separate host for the DB.
- neop1x 6y agoDepends on requirements. Someone needs one big, highly-optimized DB instance. Someone else needs high-availability 3+ instance cluster. Having a cluster of containers brings performance penalty but if your app is read-heavy, you can read from all instances and multiply read throughput...
- biglost 6y agoAnd using delegated, for local development, multiple versions with a few commands is really great.