4 Comments
тна Return to thread

How do you handle data concurrency across an application between cells with different databases?

Expand full comment

can you give a more specific example?

Expand full comment

Maybe I lack conceptual understanding - but the diagram shows each cell with its own server, load balancer, and db. So IтАЩm wondering what mechanisms are used to keep all those dbтАЩs in sync if clients are making requests that could be routed to any of n potential cells.

Expand full comment

There could be cell replicas for high availability. But a customer gets routed to the same cell. And a cell could either represent a bounded context or the entire application.

If concurrency between users on different cells arise, perhaps reserved quota can be used. I don't know the right answer to this question.

Expand full comment