4 ms·
I'd argue that if you don't make application developers consider these things, then you risk their sanity when they have to deal with the fallout. They need to
by vidarh 13y ago
I'd argue that if you don't make application developers consider these things, then you risk their sanity when they have to deal with the fallout.
They need to understand the tradeoffs, and be able to decide which guarantees are important when.
- kstrauser 13y agoExactly this. I wrote a blog (at https://www.crittercism.com/blog/scaling-with-eventual-consistency/ https://www.crittercism.com/blog/scaling-with-eventual-consi...) about why my company designs for eventually consistent stores from the beginning. There are a lot of use cases - and the number is growing as companies deploy large, scaleable systems - where a consistent store just isn't practical or even needed. You can't just use an eventually consistent store as an ACID system and expect it to work, and it's almost always a Really Bad Idea to try to implement ACID on top of EC. Understand how your database works and design to its strengths instead of trying to pretend that its weaknesses don't exist.
- Terr_ 13y agoand be able to decide which guarantees are important when. This is why I like the idea of Aggregate Roots from domain-driven-design. The boundary is clear in your object model.