Abstract Algorithms
Abstract AlgorithmsAn AI Powered Learning Platform

  • Home
  • Interview Prep
Home

Topic

architecture patterns

2 articles across 2 sub-topics

Sub-topic

Cassandra

1 article

The Dual Write Problem in NoSQL: MongoDB, DynamoDB, and Cassandra

TLDR: NoSQL databases trade cross-entity atomicity for scale — and every database draws that atomicity boundary in a different place. MongoDB's boundary is the document (pre-4.0) or the replica set (4.0+ multi-doc transactions). DynamoDB's boundary i...

Apr 5, 2026•34 min read

Sub-topic

Consistency

1 article

The Dual Write Problem: Why Two Writes Always Fail Eventually — and How to Fix It

TLDR: Any service that writes to a database and publishes a message in the same logical operation has a dual write problem. try/catch retries don't fix it — they turn failures into duplicates. The Transactional Outbox pattern co-writes business data ...

Apr 5, 2026•22 min read

Abstract Algorithms

Exploring the fascinating world of algorithms, data structures, and software engineering through clear explanations and practical examples.

Navigate

  • Home
  • Guided Topics
  • Interview Prep
  • About

© 2026 Abstract Algorithms. All rights reserved.

Powered by Hashnode