7 ms·
Why would you run Postgres on a different box in such a scenario? A docker run command to get a Postgres instance up and running isn’t any more complicated than
by codeflo 2y ago
Why would you run Postgres on a different box in such a scenario? A docker run command to get a Postgres instance up and running isn’t any more complicated than linking in Sqlite, maybe even simpler. And you get proper ACID transactions for free.
- rcarmo 2y ago1) Fault isolation in case of hardware failure 2) You may not even be able to _think_ about using Docker (OS restrictions, airgaps to install images, etc.) These are just 2 that come to mind from working in regulated industries.
- codeflo 2y agoIn this thread, we're making a comparison to running Sqlite. Fault isolation is not an argument. And you don't have to run Docker to run Postgres, it's just an easy way to do so. Even airgapped.
- rcarmo 2y agoIn my experience, people running airgapped systems prefer OS packages and prebuilt images rather than even considering doing Docker pulls
- rcarmo 2y agoI don't get the downvotes here. These are real world constraints.