Skip to content

Checking your reading list…

Retry

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

33 Golden Rules of System Design: Essential Principles for Scalable Architecture

This article presents 33 essential system design principles covering caching strategies, database selection, load balancing, microservices patterns, fault tolerance, and scalability techniques to guide architects in building robust, high-performance distributed systems for modern applications.

System design 33 golden rules diagram
System design 33 golden rules diagram

System design is complex and requires deep computer science and domain knowledge; no single design fits all scenarios. However, the following 33 general principles can serve as a reference for designing systems and preparing for interviews.

For data-intensive systems — consider using caching.

For write-heavy systems — use message queues for asynchronous processing.

For low-latency requirements — consider using caching and CDN.

For databases requiring Atomicity, Consistency, Isolation, Durability (ACID) — choose RDBMS/SQL databases.

For unstructured data — consider NoSQL databases.

For complex data (videos, images, files) — choose Blob/object storage.

For complex computations — use message queues and caching.

For massive data search — consider search indexes, try search engines.

To scale SQL databases — implement database sharding.

For high availability, performance, and throughput — use load balancers.

For global data delivery — consider using CDN.

For graph data (data with nodes, edges, and relationships) — leverage graph databases.

To scale various components — implement horizontal scaling.

For high-performance database queries — use database indexes.

For batch job processing — consider batch processing and message queues.

For server load management and preventing DoS attacks — use rate limiters.

For microservices architecture — use an API gateway.

To address single points of failure — implement redundancy.

For fault tolerance and durability — implement data replication.

For fast user-to-user communication — use WebSockets.

For failure detection in distributed systems — implement heartbeats.

For data integrity — use checksum algorithms.

For efficient server scaling — use consistent hashing.

For decentralized data transfer — consider the Gossip protocol.

For location-based features — use quadtrees, Geohash, etc.

Avoid specific technology names — use generic terms.

Trade-off between high availability and consistency — eventual consistency.

For IP resolution and domain name queries — DNS.

For handling large data in network requests — implement pagination.

Cache eviction strategy — prefer LRU (Least Recently Used) cache.

For handling traffic spikes: implement auto-scaling to dynamically manage resources.

For audit trails — consider using a data lake.

For handling high concurrent connections — use connection pools and consider using Protobuf to minimize data.

About this article

For questions about attribution, corrections or content rights, please contactadmin@besthub.devand we will review it promptly.

distributed systemsmicroservicesscalabilitymessage queuesSystem DesignCachingfault-tolerancedatabase sharding

Discussion 0

Questions, practical examples and thoughtful responses.

Open full discussion