I've spent 16 years finding things that don't work. These days, I also teach AI how to find them.
Somewhere along the way, I started writing stories about AI, work, and life.
Now I run The Third Cup.
Hey Shubhra! Look who's taking the seventh seat at The Third Cup! 🎉
Welcome aboard, my friend! I read your article, and now I'm wondering if I should start turning people away when they ask for free refills. Just kidding!😆
Make yourself at home. Your coffee is waiting. ☕The café is getting busier, and I couldn't be happier!
Full-stack developer and technical writer creating hands-on tutorials, deep dives, and product guides for developer tools. I research, build, and test before I write.
Location
India
Education
Self-taught developer through courses, books, and hands-on practice.
Pronouns
Lover of clean UI, simple design, and coding workflows that save time for everyone.
Work
Technical writing for developers, founders, and tech businesses. https://shubhra.dev/work-with-me
Thank you so much for the warm welcome! I’ll try not to put the free-refill policy under too much pressure. 😄 Happy to have a seat at The Third Cup, and looking forward to the conversations and stories ahead. ☕
I've spent 16 years finding things that don't work. These days, I also teach AI how to find them.
Somewhere along the way, I started writing stories about AI, work, and life.
Now I run The Third Cup.
Full-stack developer and technical writer creating hands-on tutorials, deep dives, and product guides for developer tools. I research, build, and test before I write.
Location
India
Education
Self-taught developer through courses, books, and hands-on practice.
Pronouns
Lover of clean UI, simple design, and coding workflows that save time for everyone.
Work
Technical writing for developers, founders, and tech businesses. https://shubhra.dev/work-with-me
I've spent 16 years finding things that don't work. These days, I also teach AI how to find them.
Somewhere along the way, I started writing stories about AI, work, and life.
Now I run The Third Cup.
Solo developer building practical CLI tools for Linux auditing and B2B data extraction. Creator of Vaultcheck and NPILift. I write about silent failures, false green lights, and infrastructure reliabi
The right status codeisn't decided in your handler if nginx ownslimit_req: it answers 503 unless someone setlimit_req_status 429;, so a throttled caller is told "server can't handle it" and the dashboard pages on an outage that is really back-pressure.nginx -T | grep -n limit_req_status` prints nothing on a default config.
Full-stack developer and technical writer creating hands-on tutorials, deep dives, and product guides for developer tools. I research, build, and test before I write.
Location
India
Education
Self-taught developer through courses, books, and hands-on practice.
Pronouns
Lover of clean UI, simple design, and coding workflows that save time for everyone.
Work
Technical writing for developers, founders, and tech businesses. https://shubhra.dev/work-with-me
Thanks for pointing that out, Renhua! The café's bouncer apparently has a habit of putting up the wrong sign 😄 When NGINX handles limit_req, it returns 503 by default. Setting limit_req_status 429; makes sure the sign tells customers what's actually happening. And your nginx -T | grep -n limit_req_status check is a handy way to catch it before the dashboard pages someone for a café that's merely full ☕
Full-stack developer and technical writer creating hands-on tutorials, deep dives, and product guides for developer tools. I research, build, and test before I write.
Location
India
Education
Self-taught developer through courses, books, and hands-on practice.
Pronouns
Lover of clean UI, simple design, and coding workflows that save time for everyone.
Work
Technical writing for developers, founders, and tech businesses. https://shubhra.dev/work-with-me
Great write-up, and I love the cafe/bar metaphor! (or is it an analogy? well that's the same, probably)
P.S. interesting that there are even RFC's which standardize some of this stuff, e.g. RFC 9457 with its application/problem+json document definition! :-)
Full-stack developer and technical writer creating hands-on tutorials, deep dives, and product guides for developer tools. I research, build, and test before I write.
Location
India
Education
Self-taught developer through courses, books, and hands-on practice.
Pronouns
Lover of clean UI, simple design, and coding workflows that save time for everyone.
Work
Technical writing for developers, founders, and tech businesses. https://shubhra.dev/work-with-me
Thank you so much, leob! 😄 Let's call it an analogy and let the grammar police enjoy their coffee in peace. RFC 9457 is basically the café's little "sorry, we're full" card, in a form even a client library can read. Even a rejection deserves good paperwork! ☕
Full-stack developer and technical writer creating hands-on tutorials, deep dives, and product guides for developer tools. I research, build, and test before I write.
Location
India
Education
Self-taught developer through courses, books, and hands-on practice.
Pronouns
Lover of clean UI, simple design, and coding workflows that save time for everyone.
Work
Technical writing for developers, founders, and tech businesses. https://shubhra.dev/work-with-me
Same here, leob! 😄 Turns out even saying no deserves a standards committee! Glad our little café is keeping up with the RFCs. Always good to have you around ☕
The Lying No is the one I have seen cost the most, because a 200 that means no is invisible to every dashboard until a person notices the work never happened. Your too-late no is close behind: once work has started before capacity was checked, the caller cannot even tell what state it is in.
Ascendra Ventures hit the internal version of this on a candidate pipeline for a seed-stage talent platform. Enrichment touched resumes, LinkedIn data, OpenAI batch jobs, embeddings and PostgreSQL writes, and any slow step left a person in an unclear state, neither done nor failed. The fix was to move the processor into a durable Temporal workflow that finalizes every person's status, so failed work is visible instead of quietly stuck, and that falls back to polling when webhooks go silent. The case study reports 99.99% reliability at about $0.004 per candidate imported. The lesson matched your café: a clear, recorded no was worth more than a hopeful maybe.
Do you think RFC 9457 problem details are enough on their own, or does a refusal also need a retry hint that clients are expected to honour?
Full-stack developer and technical writer creating hands-on tutorials, deep dives, and product guides for developer tools. I research, build, and test before I write.
Location
India
Education
Self-taught developer through courses, books, and hands-on practice.
Pronouns
Lover of clean UI, simple design, and coding workflows that save time for everyone.
Work
Technical writing for developers, founders, and tech businesses. https://shubhra.dev/work-with-me
Complementary, I think. RFC 9457 says what kind of no it was, and Retry-After tells the client how long to wait before trying again.
I'd treat that hint as a minimum wait, not a promise that we'll be ready by then. The client should still back off with jitter and keep a retry budget. Otherwise, everyone who got "2 seconds" walks back in at second 2.5! 😄
Server side, only send it if you have a meaningful estimate. If you're guessing, leave it out.
One more thing worth making explicit is which refusals guarantee that the work function never ran. That gives the client a clear admission outcome, but whether repeating the operation is actually safe still comes down to idempotency.
Your Temporal setup is a nice parallel. A recorded outcome you can query beats leaving work quietly stuck.
Full-stack developer and technical writer creating hands-on tutorials, deep dives, and product guides for developer tools. I research, build, and test before I write.
Location
India
Education
Self-taught developer through courses, books, and hands-on practice.
Pronouns
Lover of clean UI, simple design, and coding workflows that save time for everyone.
Work
Technical writing for developers, founders, and tech businesses. https://shubhra.dev/work-with-me
Ha, the refund ticket is basically the receipt for the Too-Late No 😄
Admission before body parsing keeps the refusal cheap. The payment part is about ordering: don't trigger irreversible side effects before admission and validation have passed. Failures after that still need their own handling, with idempotency where it fits.
Nobody wants to be charged for a cake the café can't bake.
Full-stack developer and technical writer creating hands-on tutorials, deep dives, and product guides for developer tools. I research, build, and test before I write.
Location
India
Education
Self-taught developer through courses, books, and hands-on practice.
Pronouns
Lover of clean UI, simple design, and coding workflows that save time for everyone.
Work
Technical writing for developers, founders, and tech businesses. https://shubhra.dev/work-with-me
Hey, I'm Hema 👋
Developer, writer, and creator of Dev Opportunity Radar, a weekly series published every Friday on DEV, helping people discover opportunities they might otherwise miss.
Full-stack developer and technical writer creating hands-on tutorials, deep dives, and product guides for developer tools. I research, build, and test before I write.
Location
India
Education
Self-taught developer through courses, books, and hands-on practice.
Pronouns
Lover of clean UI, simple design, and coding workflows that save time for everyone.
Work
Technical writing for developers, founders, and tech businesses. https://shubhra.dev/work-with-me
Aww, thank you, Hema! ❤️ Glad the café examples landed. That line deserves a little sign above the café door! Though I think a few sprint boards could use one too 😂
We're a place where coders share, stay up-to-date and grow their careers.
Hey Shubhra! Look who's taking the seventh seat at The Third Cup! 🎉
Welcome aboard, my friend! I read your article, and now I'm wondering if I should start turning people away when they ask for free refills. Just kidding!😆
Make yourself at home. Your coffee is waiting. ☕The café is getting busier, and I couldn't be happier!
Thank you so much for the warm welcome! I’ll try not to put the free-refill policy under too much pressure. 😄 Happy to have a seat at The Third Cup, and looking forward to the conversations and stories ahead. ☕
Haha, don't worry! The seventh seat comes with unlimited refills. That's one café rule I'm never changing. 😂☕
Looking forward to your stories, Shubhra!
Now that's a café rule I can happily get behind! 😄 Looking forward to sharing more stories here. ☕
Then it's settled! 😂 Just bring the stories, and I'll take care of the coffee. Looking forward to many more cups and conversations! 🍻
The right status code
isn't decided in your handler if nginx ownslimit_req: it answers 503 unless someone setlimit_req_status 429;, so a throttled caller is told "server can't handle it" and the dashboard pages on an outage that is really back-pressure.nginx -T | grep -n limit_req_status` prints nothing on a default config.Thanks for pointing that out, Renhua! The café's bouncer apparently has a habit of putting up the wrong sign 😄 When NGINX handles
limit_req, it returns 503 by default. Settinglimit_req_status 429;makes sure the sign tells customers what's actually happening. And yournginx -T | grep -n limit_req_statuscheck is a handy way to catch it before the dashboard pages someone for a café that's merely full ☕I really liked this post. Thank you! 😊
Aww, thank you so much, Star! So happy you enjoyed it. Keep shining bright! ⭐😊
Great write-up, and I love the cafe/bar metaphor! (or is it an analogy? well that's the same, probably)
P.S. interesting that there are even RFC's which standardize some of this stuff, e.g. RFC 9457 with its
application/problem+jsondocument definition! :-)Thank you so much, leob! 😄 Let's call it an analogy and let the grammar police enjoy their coffee in peace. RFC 9457 is basically the café's little "sorry, we're full" card, in a form even a client library can read. Even a rejection deserves good paperwork! ☕
Thanks! I was surprised (in a good way) that even these kind of things are getting some "standards love" in the form of an official RFC ! :-)
Same here, leob! 😄 Turns out even saying no deserves a standards committee! Glad our little café is keeping up with the RFCs. Always good to have you around ☕
The Lying No is the one I have seen cost the most, because a 200 that means no is invisible to every dashboard until a person notices the work never happened. Your too-late no is close behind: once work has started before capacity was checked, the caller cannot even tell what state it is in.
Ascendra Ventures hit the internal version of this on a candidate pipeline for a seed-stage talent platform. Enrichment touched resumes, LinkedIn data, OpenAI batch jobs, embeddings and PostgreSQL writes, and any slow step left a person in an unclear state, neither done nor failed. The fix was to move the processor into a durable Temporal workflow that finalizes every person's status, so failed work is visible instead of quietly stuck, and that falls back to polling when webhooks go silent. The case study reports 99.99% reliability at about $0.004 per candidate imported. The lesson matched your café: a clear, recorded no was worth more than a hopeful maybe.
Do you think RFC 9457 problem details are enough on their own, or does a refusal also need a retry hint that clients are expected to honour?
Complementary, I think. RFC 9457 says what kind of no it was, and
Retry-Aftertells the client how long to wait before trying again.I'd treat that hint as a minimum wait, not a promise that we'll be ready by then. The client should still back off with jitter and keep a retry budget. Otherwise, everyone who got "2 seconds" walks back in at second 2.5! 😄
Server side, only send it if you have a meaningful estimate. If you're guessing, leave it out.
One more thing worth making explicit is which refusals guarantee that the work function never ran. That gives the client a clear admission outcome, but whether repeating the operation is actually safe still comes down to idempotency.
Your Temporal setup is a nice parallel. A recorded outcome you can query beats leaving work quietly stuck.
taking the payment and then saying sorry is the one that ends up as a refund ticket lol. admission before body parsing is a cheap way to dodge it
Ha, the refund ticket is basically the receipt for the Too-Late No 😄
Admission before body parsing keeps the refusal cheap. The payment part is about ordering: don't trigger irreversible side effects before admission and validation have passed. Failures after that still need their own handling, with idempotency where it fits.
Nobody wants to be charged for a cake the café can't bake.
Awesome Article!! :D
Thank you, Divya! 😄 So glad you stopped by our little café. Hope you didn't get stuck in the slow queue ☕❤️
I loved the café examples, di 😀 And that last line, "A yes you can't deliver is just a slow no". So true!
Aww, thank you, Hema! ❤️ Glad the café examples landed. That line deserves a little sign above the café door! Though I think a few sprint boards could use one too 😂