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

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...

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.
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.