Skip to content
Insight CodeAcademy

Databases

2 articles

System Design7 min read

SQL vs NoSQL: How to Actually Choose

In this article we will learn what genuinely separates SQL and NoSQL databases, why the common answers about scale and schema are mostly wrong, the four NoSQL families and what each is for, and a decision procedure you can defend in a system design interview.

System Design7 min read

Consistent Hashing Explained

In this article we will learn what consistent hashing is, why the simple modulo approach falls apart when you add a server, how the hash ring works step by step, what virtual nodes solve, and where consistent hashing is used in real systems like Cassandra, DynamoDB and Memcached.