Dilectus blog
System design, architecture & GenAI explained
Diagram-first explainers for engineers levelling up or preparing for interviews: system design, architecture, GenAI, data systems and CS fundamentals. A new article every day.
Browse by topic
System Design
How large systems stay fast, available and correct — the building blocks behind every system design interview.
- Scalability fundamentals 1
- Caching 1
- Databases & storage 1
- Messaging & streaming 1
- APIs & networking 0
- Distributed systems 0
- Design walkthroughs 0
4 articles
Software Architecture
Structuring systems and teams: services, events, cloud platforms, reliability and security.
- Microservices 1
- Event-driven architecture 1
- Cloud & Kubernetes 0
- Observability & reliability 0
- Security & auth 0
2 articles
GenAI & LLMs
How large language models work and how to build reliable products on top of them.
- LLM fundamentals 1
- Prompt engineering 1
- RAG & vector search 1
- AI agents 0
- Fine-tuning & evaluation 0
- LLMOps & production AI 0
3 articles
Data & ML Systems
Pipelines, warehouses and the systems that train and serve machine learning models.
1 article
CS Fundamentals
The computer science underneath it all — operating systems, concurrency and how code runs.
1 article
Latest articles
System Design · Messaging & streaming
Message Queue vs Pub/Sub vs Event Stream: How to Choose
Learn the differences between message queues, pub/sub, and event streams, with diagrams, trade-offs, and interview-friendly guidance.
· 8 min read
GenAI & LLMs · RAG & vector search
Retrieval-Augmented Generation (RAG) Explained for Reliable LLM Apps
Learn how RAG grounds LLM answers in your own data, how retrieval and generation fit together, and the trade-offs that affect quality, latency, and cost.
· 7 min read
System Design · Databases & storage
SQL vs NoSQL: how to choose the right database for a workload
Learn when SQL or NoSQL fits best, how they differ on consistency and scaling, and how to choose based on access patterns, not hype.
· 8 min read
Software Architecture · Event-driven architecture
Event-Driven Architecture Explained: Events, CQRS, and Trade-offs
Learn how event-driven systems work, where CQRS and event sourcing fit, and when the added complexity is worth it in real software systems.
· 7 min read
GenAI & LLMs · Prompt engineering
Prompt Engineering Techniques That Actually Work for Reliable LLM Output
Learn practical prompt engineering patterns for clearer, more reliable LLM outputs: instructions, examples, constraints, structured responses, and evaluation.
· 7 min read
System Design · Caching
Cache-aside vs Read-through vs Write-through vs Write-back
Learn the four common caching patterns, how reads and writes flow, their trade-offs, and when each pattern fits a real system design.
· 7 min read
CS Fundamentals · OS & concurrency
Processes vs Threads vs Coroutines: What Runs Where and Why
Learn the differences between processes, threads, and coroutines, how they share memory and CPU time, and when to use each in real systems.
· 7 min read
Data & ML Systems · Data engineering
ETL vs ELT: how data moves from sources to analytics and ML
Learn the difference between ETL and ELT, when to use each, how data flows through modern pipelines, and the trade-offs for analytics and ML systems.
· 8 min read
GenAI & LLMs · LLM fundamentals
How Large Language Models Work: Tokens, Transformers, and Inference
Learn how LLMs turn text into tokens, predict the next token with transformers, and produce reliable outputs in real products.
· 7 min read
Software Architecture · Microservices
Monolith vs Microservices: an honest comparison for system design
Learn how monoliths and microservices differ in deployment, scaling, debugging, reliability, and team ownership — with practical trade-offs.
· 7 min read
System Design · Scalability fundamentals
Vertical vs Horizontal Scaling: When Each Approach Stops Working
Learn how vertical and horizontal scaling affect latency, throughput, availability, and cost, plus when each approach breaks down in real systems.
· 7 min read

