Architecture · 19 topics + practiceArchitecture · 19টি টপিক + প্র্যাকটিস
System Architecture FoundationsSystem Architecture Foundations
Code builds a feature. Architecture keeps it alive when 10,000 users arrive, a server dies, or a payment callback comes two times. Each topic takes about 5 minutes: one idea, one diagram, one real example, the common mistakes, and what a tester can check.কোড একটা ফিচার বানায়। আর্কিটেকচার সেই ফিচারকে বাঁচিয়ে রাখে, যখন 10,000 ইউজার আসে, একটা সার্ভার বন্ধ হয়ে যায়, বা একটা পেমেন্ট কলব্যাক দুইবার আসে। প্রতিটা টপিকে সময় লাগে প্রায় 5 মিনিট: একটা আইডিয়া, একটা ডায়াগ্রাম, একটা বাস্তব উদাহরণ, সাধারণ ভুল, আর একজন টেস্টার কী যাচাই করতে পারেন।
The topics follow the owner's notes and diagrams. Each fact on a page links to an official source, such as AWS, Google Cloud, Redis, MDN, or an IETF RFC.টপিকগুলো মালিকের নোট আর ডায়াগ্রাম অনুসরণ করে। প্রতিটা পেজের প্রতিটা তথ্য একটা অফিশিয়াল সোর্সে লিংক করা, যেমন AWS, Google Cloud, Redis, MDN বা IETF RFC।
0 of 19 topics done19টির মধ্যে 0টি টপিক সম্পন্ন
Topicsটপিকসমূহ
Why System Design Matters
A feature that works is not yet a system that survives real traffic and failures.
Functional and Non-functional Requirements
What the system does, and how well it must do it.
Single Server Architecture
Everything on one machine: cheap and simple, until it is not.
Vertical Scaling
Make one server bigger: more CPU, more RAM, a faster disk.
Horizontal Scaling
Add more servers and share the traffic between them.
Load Balancer
The front door that sends each request to a healthy server.
Stateless Service
Keep sessions and files outside the app server, so any server can answer.
File Storage and Object Storage
Where uploaded files live when there is more than one server.
CDN for Static Content
Serve images, videos, and scripts from a place near the user.
Basic Cloud Architecture
Managed services that work together: compute, database, storage, and monitoring.
Database Replication and Read/Write Splitting
Copies of the database share the reads. Watch out for stale data.
Caching with Redis
Keep often-read data in fast memory, and know when to throw it away.
Distributed Cache
One shared cache for all servers: sessions, OTPs, counters, and locks.
Rate Limiting
Limit how many requests a user can send, and answer 429 when it is too many.
Message Queue and Async Processing
Let background workers do slow jobs, so the user does not wait.
Idempotency
The same request two times must not charge or enroll two times.
API Gateway
One entry point for all clients: routing, auth, and limits in one place.
Monolith, Modular Monolith, and Microservices
One app, one app with clear modules, or many small services.
Monitoring and Observability
Logs, metrics, and traces: know that it broke, and find out why.
Practice Questions
30 questions with model answers. Tick each one when you can answer it.