Architecture Lab
How I think about systems.
Reference designs for the kinds of systems I work on, each with its main flow, boundaries, failure handling and trade-offs.
Illustrative reference design built from general engineering practice. It is not the architecture of any employer's or client's production system.
Retrieval-Augmented Generation pipeline
Grounding LLM answers in a private document library: ingestion, hybrid retrieval, re-ranking and cited answers.
- RAG
- LLMs
- pgvector
- Hybrid search
AI-assisted code review pipeline
Combining static analysis, security scanning and an LLM reviewer grounded in project guidelines into one set of review comments.
- LLMs
- Static analysis
- Security scanning
- RAG
Event-driven microservices with a message broker
Synchronous APIs for requests, a message broker for side effects, and the patterns that keep it reliable: idempotent consumers, retries and dead-letter queues.
- Microservices
- RabbitMQ
- Django
- REST APIs
Chaos engineering experiment platform
Running controlled failure experiments safely: hypothesis, guardrails, time-boxed fault injection, steady-state checks and automatic rollback.
- Chaos engineering
- Resiliency
- Observability
- Cloud