System Design Foundations
MODULE 01 Β· 12 core conceptsThe bedrock of every system design decision. DesignGurus opens with these because everything else builds on them β scalability, reliability, availability, and the trade-offs between them.
Distributed Systems Concepts
MODULE 02 Β· 18 advanced patternsDesignGurus goes deep into the internals of how distributed systems maintain consensus, detect failures, and handle the realities of networks. These are the concepts that separate senior engineers from junior ones.
Data & Storage Systems
MODULE 03 Β· 14 storage conceptsComprehensive coverage of data storage patterns, from partitioning and replication to search systems and event sourcing.
Communication Patterns
MODULE 04 Β· 10 protocols & patternsAll the ways services talk to each other: REST, GraphQL, gRPC, WebSockets, SSE, message queues, and more.
| Pattern | What | When to Use | FBT Usage | Projects |
|---|---|---|---|---|
| REST / HTTP | Stateless resource-based API, JSON payloads, HTTP verbs | All | ||
| GraphQL | Query language β client specifies exact shape needed | RentFlow Mobile | ||
| gRPC | Binary protocol, Protocol Buffers, HTTP/2, strongly typed | CatchMoment | ||
| WebSockets | Full-duplex persistent connection, low latency bidirectional | RentFlow, CatchMoment | ||
| Server-Sent Events | Server β client push, HTTP/1.1 compatible, unidirectional | CatchMoment, RentFlow | ||
| Message Queues | Async decoupled communication via broker (RabbitMQ, Kafka, SQS) | All | ||
| Event Streaming (Kafka) | Ordered, replayable, partitioned log of events | CatchMoment, Future | ||
| Webhooks | HTTP callback β server pushes to client endpoint on event | RentFlow, FIROSE | ||
| tRPC | Type-safe RPC for TypeScript β no codegen, no schema | RentFlow FE |
Reliability & Resilience Patterns
MODULE 05 Β· 12 patternsCircuit breakers, retries, bulkheads, timeouts, idempotency, and dead letter queues β the patterns that keep systems standing.
Scalability Techniques
MODULE 06 Β· 10 strategiesCDNs, connection pooling, async processing, query optimization, stateless services, pagination, materialized views, and batch processing.
| Technique | Mechanism | FBT Application | Priority |
|---|---|---|---|
| CDN | Serve static assets from edge nodes closest to user. Pull-through or push CDN. Cache-Control headers control edge TTL. | Critical | |
| Connection Pooling | Reuse DB connections rather than creating per-request. PgBouncer for PostgreSQL. ADO.NET built-in pool for .NET. | Critical | |
| Async Processing | Offload slow operations to background workers. Message queues decouple producers from consumers. | Critical | |
| Database Query Optimization | EXPLAIN ANALYZE, N+1 elimination, index tuning, query hints, covering indexes. | High | |
| Stateless Services | No session state on server β enables horizontal scaling. Store session in Redis or JWT claims. | Critical | |
| Database Connection Per-Tenant Routing | Route queries to appropriate shard based on tenant. Middleware resolves tenant and selects connection string. | High | |
| Pagination (Cursor-based) | Never return unbounded result sets. Cursor-based for consistent results with live data. Offset-based for admin panels. | Critical | |
| Materialized Views | Pre-computed query results stored as a table. Refreshed periodically or on-demand. Avoids expensive joins at query time. | High | |
| Batch Processing | Process records in bulk rather than one-by-one. Bulk INSERT/UPDATE. LINQ batch operations via EF Core Extensions. | High | |
| Lazy Loading (Application Layer) | Load data only when needed. Defer expensive operations. Load plugins on demand (relates to plugin architecture). | High |
Security & Authentication
MODULE 07 Β· 8 security patternsOAuth 2.0, OIDC, RBAC, ABAC, API keys, zero trust, secrets management, and OWASP Top 10 prevention.
Observability & Monitoring
MODULE 08 Β· 7 pillarsStructured logging, distributed tracing, metrics (RED/USE), alerting, SLO/SLI/SLA definitions.
Classic System Designs β FBT Analogs
MODULE 09 Β· 18 design problems mappedDesignGurus walks through 18 classic system design interview problems. Each is directly analogous to something FBT is building or will build. Learn the pattern, apply to FBT.
FBT Project System Design Map
MODULE 10 Β· complete architecture blueprintTreating every DesignGurus lesson as a direct specification for FBT's architecture. RentFlow = Ticketmaster + Uber + Messenger. CatchMoment = YouTube + Dropbox. Zentra = Auth0 architecture.
FBT Implementation Roadmap
MODULE 11 Β· apply now Β· phased planApply these DesignGurus lessons immediately. Phased plan across Q1-Q4 for all FBT products.
Bloom filter (Zentra), bulkheads (RentFlow), cursor pagination (all APIs), composite indexes (RentFlow DB), SLO definitions (all products), CSP headers (all frontends). These are small changes with massive reliability impact.
OpenTelemetry distributed tracing, PostgreSQL read replica routing, materialized views for dashboards, booking saga with Temporal/MassTransit, rate limiting on Zentra. Start measuring before optimising.
Full HLS transcoding via Modal, Qdrant vector search for semantic video search, Temporal multi-stage saga for processing, SSE progress streaming, BunnyCDN HLS delivery optimisation, DLQ for failed jobs.
Kafka event bus bridging RentFlow, Zentra, CatchMoment. Schema registry for event contracts. CDC from RentFlow PostgreSQL. Begin EduConnect system design. Vyxnos Shield zero-trust gateway hardening.