Bhaineann dearadh córais ar scála mór le go leor coincheapa a chomhcheangal — scála ollmhór a láimhseáil, ailtireacht oiriúnach a roghnú, bunachair sonraí, taiscéadh agus bainistiú ar thralámacha. Úsáid sampla nithiúil (fothram nuachta meáin shóisialta) a léiríonn conas a thagann na codanna le chéile.
Sampla: fothram nuachta meáin shóisialta
Requirements: millions of users; post content; see a feed of followed users' posts;
read-HEAVY (far more feed views than posts); low latency; high availability.
High-level components:
→ CLIENTS → LOAD BALANCER → APPLICATION servers (stateless, horizontally scaled)
→ DATABASES → user/post data (sharded); a graph of follows
→ CACHING (Redis) → hot feeds, posts, user data (crucial for read-heavy load)
→ CDN → media (images/videos)
→ MESSAGE QUEUES → async work (fan-out, notifications)
