Python series How CPython manages memory
Engineering deep dives.
Browse by topic.
Series and guides
AI Engineering Series
LiveRAG pipelines, agents, LLMs, and production AI systems for backend engineers.
Python for Backend Developers
LiveStart with Basic of Python, then explore references, object lifetime, and CPython optimizations.
Cats, Cats Effect & fs2 Series
LiveFunctional Scala, type classes, effectful programs, resource safety, and streams.
Kafka in Practice
LiveMessaging choices, reliable event delivery, and practical event-driven systems.
Recent articles
- Best Practices
- GenAI
- General
- Java
- Python
- QuickFix/J
- Rust
- Scala
- Talk
- Uncategorized
- Back
- Claude Code
- Back
- Rust Series
- Back
- Spring Boot

Use Cats Effect Ref for shared state without lost updates. Build an atomic in-flight job registry, understand retryable callbacks, and...

Keep PostgreSQL authoritative while Elasticsearch handles search across 100 million records. A practical design for CDC, replay-safe deletes, freshness, and...

Compose Scala service workflows with EitherT and OptionT. Handle optional lookups, typed errors, cache fallback, and effect failures, with a...

Design rate limiting with token buckets, Redis, fair budgets, safe retries, and explicit failure policies. Understand where rate limits stop...

Transform values inside Option, List, and Either with Cats Functor. Build a Page instance, test identity and composition, and understand...

Evaluate technical debt through delivery friction, operational risk, and maintenance cost. Make room for a bounded improvement and check whether...
Open source projects
Project directoryThe Engineering Stack
My newsletter covers Scala, distributed systems and AI engineering.