4 Comments
User's avatar
тна Return to thread
Alex Rosenfeld's avatar

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

Expand full comment
Neo Kim's avatar

can you give a more specific example?

Expand full comment
Alex Rosenfeld's avatar

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
Neo Kim's avatar

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