Blog

How to Choose a Good Shard Key in MongoDB
You can add shards to a MongoDB cluster in an afternoon. What you can't easily fix is a bad shard key. Pick one that sends every new write to the sam
Continue Reading
How to Create Smooth Scroll-Driven Animations with CSS
For years, anything that moved in response to scrolling meant JavaScript. You attached a scroll listener, read scrollY, did some maths, and wrote
Continue Reading
MongoDB Atlas Monitoring and Alerts: What to Watch
One of the biggest reasons teams move to MongoDB Atlas is that they no longer have to build monitoring themselves. Metrics are collected automaticall
Continue Reading
The Walrus Operator (:=) in Python: When It Helps and When It Hurts
The walrus operator, :=, landed in Python 3.8 after one of the most heated debates in the language's history. Its official name is the **assignment
Continue Reading
MongoDB vs. Cassandra: Comparing Distributed NoSQL Databases
MongoDB and Apache Cassandra are two of the most widely deployed distributed NoSQL databases, and they often show up on the same shortlist when a tea
Continue Reading
CSS Subgrid: Aligning Nested Layouts
You've built a row of cards with CSS Grid. The cards themselves line up perfectly, but inside them, things fall apart: one card has a two-line title,
Continue Reading