PRABHAT KASHYAP’S ENGINEERING NOTES
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

Evaluate technical debt through delivery friction, operational risk, and maintenance cost. Make room for a bounded improvement and check whether...

Inspect CPython's reuse and optimization mechanisms without making application correctness depend on cached identities or particular bytecode.

Trace what keeps Python objects alive, observe cycle reclamation, and distinguish object cleanup from process memory and resource lifetimes.

Understand how Python names refer to objects, how mutation differs from reassignment, and where shared references need an explicit copying...

Learn Python's object model, syntax, functions, loops, exceptions, and classes through tested examples and a complete batch-processing script.

Design caching around freshness, invalidation, capacity, and failure. Explore cache-aside, Redis eviction, HTTP caching, stampedes, and safe fallback paths.
Open source
Tools I build.
Code you can use.
Practical tools and libraries, with the source open to explore.
Explore open source →Featured project
Mockery
A mock REST server with YAML configuration, request matching, and a built-in browser editor. Run it from a single downloaded binary.
Explore Mockery →Get new articles
Practical engineering notes, published when there is something worth reading.