Virtual Threads in Real Java APIs
How to use Java virtual threads in backend APIs without overloading databases, pools, or downstream services.
Amit Kumar Singh2 min read
Everything tagged api, newest first.
How to use Java virtual threads in backend APIs without overloading databases, pools, or downstream services.
Networks fail, clients retry, and duplicate requests happen. Here's how to design write endpoints that produce the same result no matter how many times they're called.
Where else exactly-once thinking saves you from duplicate side effects.
Timeouts, jitter, and budgets that keep retries from making things worse.