May 3 · 22 min read · TLDR: Every NoSQL database hides a partitioning engine behind a deceptively simple API. Cassandra uses a consistent hashing ring where a Murmur3 hash of your partition key selects a node — virtual nodes (vnodes) make rebalancing smooth. DynamoDB mana...
Join discussionApr 18 · 2 min read · Step 1: Login into the AWS environment using provided credentials. Step 2: Go to S3, Name bucket and create public bucket. Step 3: Go to S3, Name bucket and create private bucket. Step 4: Open pub
Join discussionApr 17 · 46 min read · In the summer of 2023, the platform team at a fast-growing e-commerce company was handling 100,000 orders per day across three microservices: Order Service, Inventory Service, and Billing Service. All three needed to react to the same database mutati...
Join discussion
Apr 14 · 1 min read · Step 1: Login into the AWS environment using provided credentials. Step 2: Go to Dynamo DB Section and create table. verify table creation. Step 3: Click on created table and click on explore ta
Join discussionApr 8 · 5 min read · Migrating from relational databases to NoSQL solutions like Amazon DynamoDB offers significant advantages in scalability and flexibility. However, a critical challenge often emerges: the generation of
Join discussion
Apr 5 · 35 min read · TLDR: ACID transactions in distributed databases are not equal. DynamoDB provides multi-item atomicity scoped to 25 items using two-phase commit with a coordinator item, but only within a single region. Cosmos DB wraps partition-scoped operations ins...
Join discussion
Apr 5 · 34 min read · 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...
CCamma commentedApr 2 · 12 min read · Every time a viewer opens a streaming app, the recommendation service has a few hundred milliseconds to decide what to show them. It pulls a viewer engagement profile from a low-latency store, passes it to a ranking model, and returns a personalized ...
Join discussion