Blog Posts
- Home /
- Blog Posts

When to use cache and when not to
There is a production bug that I still remember vividly: user A cancels an order, but the app still displays “delivering” for the next 10 minutes. Support receives 30 tickets in one morning. The reason: cache TTL is 10 minutes, but no one invalidates it when the order status changes.
Read More
API Filtering: retrieving data like a coffee connoisseur
In my first year of working, I once wrote an endpoint GET /api/menus that returned… the entire menu. 200 items every time it was called. The JSON was 1.2MB heavy. The frontend only needed the name and price of 10 active dishes. I remember the first thing my lead said: “You’re sending the entire warehouse to someone who just needs to view the menu, aren’t you?”
Read More
Context in Go: passing data, deadline, cancel - use correctly or die of performance
When I first coded in Go, I encountered a strange production bug: after running for 3-4 days, the service suddenly consumed 8GB of RAM and caused an OOM error. I spent the entire Friday afternoon debugging and finally discovered the issue: a goroutine never ended because I forgot to pass the context to the gRPC call. Each request leaked a goroutine, and after 100K requests, the server was overwhelmed.
Read MoreTags
- 9router
- Agent
- Agent-Harness
- Ai-Agent
- Ai-Agents
- Ai-Coding
- Ai-in-Production
- Ai-Router
- Ai-Tools
- Anthropic
- Aphrodite
- Api
- Architecture
- Automation
- Backend
- Best-Practices
- Browser
- Cache
- Caveman
- Claude-Code
- Codex
- Comparison
- Concurrency
- Context
- Context-Compression
- Context-Engineering
- Cost-Saving
- Database
- Devops
- Distributed-Monolith
- Filtering
- Ford
- Golang
- Goroutine
- Graceful-Shutdown
- Headless
- Headroom
- Hermes-Agent
- Interview
- Lean-Ctx
- Llm
- Llm-Safety
- Matplotlib
- Mcp
- Memory
- Meta
- Microservices
- Microsoft
- Models
- Monolith
- Mvcc
- Mysql
- Network
- Open-Source
- Openclaw
- Opencode-Go
- Performance
- Pi-Agent
- Plugin
- Postgresql
- Proxy
- Reality-Check
- Routing
- Rust
- Scraping
- Search
- Security
- Self-Hosted
- Setup
- Skill
- System-Design
- Tcp
- Token-Optimization
- Trellis
- Web-Scraping
- Workflow
- Zig