5 ms·
> your database gets rescheduled and emptied along the way That's bundling an CP application into seemingly AP infrastructure (from what I gleaned from their d
by zamalek 10y ago
> your database gets rescheduled and emptied along the way
That's bundling an CP application into seemingly AP infrastructure (from what I gleaned from their docs). Completely the wrong tool for the job. If the application was designed for that it would have recovered. In your defense, they have nothing to warn about that in their documentation.
- jdoliner 10y agoThis isn't really a CAP theorem problem and it's certainly not right to describe Docker as "AP infrastructure." What would that mean exactly? Would you expect this problem to go away if I used a database that sacrificed consistency for availability such as Riak?
- zamalek 10y agoSwarm (not the whole of Docker) seems like something designed for databases like Riak, yes. A SQL failover cluster might work, but certainly not a single database container on infrastructure designed for highly available apps.