DEV Community

Cover image for The Best Café in Town Turns People Away. Your System Should Too

The Best Café in Town Turns People Away. Your System Should Too

Shubhra Pokhariya on November 27, 2026

Two cafés, both completely full at 8:15 on a Monday. Both are about to turn away the next person through the door. (Both imaginary. Probably.) At ...
Collapse
 
xulingfeng profile image
xulingfeng 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!

Collapse
 
shubhradev profile image
Shubhra Pokhariya The Third Cup •

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

Collapse
 
xulingfeng profile image
xulingfeng The Third Cup •

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!

Thread Thread
 
shubhradev profile image
Shubhra Pokhariya The Third Cup •

Now that's a café rule I can happily get behind! 😄 Looking forward to sharing more stories here. ☕

Thread Thread
 
xulingfeng profile image
xulingfeng The Third Cup •

Then it's settled! 😂 Just bring the stories, and I'll take care of the coffee. Looking forward to many more cups and conversations! 🍻

Collapse
 
star123 profile image
Sᴛᴀʀ⭐ The Third Cup •

I really liked this post. Thank you! 😊

Collapse
 
shubhradev profile image
Shubhra Pokhariya The Third Cup •

Aww, thank you so much, Star! So happy you enjoyed it. Keep shining bright! ⭐😊

Collapse
 
leob profile image
leob The Third Cup •

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! :-)

Collapse
 
shubhradev profile image
Shubhra Pokhariya The Third Cup •

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! ☕

Collapse
 
leob profile image
leob The Third Cup •

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 ! :-)

Thread Thread
 
shubhradev profile image
Shubhra Pokhariya The Third Cup •

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 ☕

Collapse
 
dafili profile image
Renhua Wei •

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.

Collapse
 
shubhradev profile image
Shubhra Pokhariya The Third Cup •

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 ☕

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala The Third Cup • • Edited

I loved the café examples, di 😀 And that last line, "A yes you can't deliver is just a slow no". So true!

Collapse
 
shubhradev profile image
Shubhra Pokhariya The Third Cup •

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 😂

Collapse
 
technogamerz profile image
𝐓𝐡𝐞 𝐋𝐚𝐳𝐲 𝐆𝐢𝐫𝐥 The Third Cup •

Awesome Article!! :D

Collapse
 
shubhradev profile image
Shubhra Pokhariya The Third Cup •

Thank you, Divya! 😄 So glad you stopped by our little café. Hope you didn't get stuck in the slow queue ☕❤️