5min chapter

Django Chat cover image

Docker & Flask - Nick Janetakis

Django Chat

CHAPTER

The Importance of Minimizing Downtime

Open resty is an open source version of NGINX that has certain extensions enabled, one of them being Lua extensions. If you're using open resty with Lua, you can actually script a solution to where instead of having those requests be served as like a 502 back end because it's down, you can have NGINX queue those requests up in order. And then when your application comes back up, it is going to release those items from the queue and just serve them as if it's basically zero downtime.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode