<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Gunicorn on AI VOID</title><link>https://ai-blog.noorshomelab.dev/tags/gunicorn/</link><description>Recent content in Gunicorn on AI VOID</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 20 Aug 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://ai-blog.noorshomelab.dev/tags/gunicorn/index.xml" rel="self" type="application/rss+xml"/><item><title>Chapter 12: Deployment Strategies and Considerations</title><link>https://ai-blog.noorshomelab.dev/chat-guide/chapter-12-deployment/</link><pubDate>Wed, 20 Aug 2025 00:00:00 +0000</pubDate><guid>https://ai-blog.noorshomelab.dev/chat-guide/chapter-12-deployment/</guid><description>&lt;p&gt;You&amp;rsquo;ve built a real-time chat application, complete with authentication, rooms, message persistence, and Dockerization. Now, the final frontier is deploying it to a production environment. This chapter discusses various deployment strategies and crucial considerations for making your application scalable, reliable, and secure in the wild.&lt;/p&gt;
&lt;h3 id="purpose-of-this-chapter"&gt;Purpose of this Chapter&lt;/h3&gt;
&lt;p&gt;By the end of this chapter, you will:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Understand the role of Gunicorn and reverse proxies in FastAPI deployments.&lt;/li&gt;
&lt;li&gt;Be familiar with essential production configurations (environment variables, logging).&lt;/li&gt;
&lt;li&gt;Learn about common deployment platforms (PaaS, VMs, Kubernetes).&lt;/li&gt;
&lt;li&gt;Grasp key security and scalability considerations for a production environment.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="concepts-explained-production-deployment-stack"&gt;Concepts Explained: Production Deployment Stack&lt;/h3&gt;
&lt;p&gt;For local development, running &lt;code&gt;uvicorn app.main:app --reload&lt;/code&gt; is fine. However, in production, Uvicorn is typically used as a worker within a more robust ASGI server like &lt;strong&gt;Gunicorn&lt;/strong&gt;, and often fronted by a &lt;strong&gt;reverse proxy&lt;/strong&gt; like Nginx or Caddy.&lt;/p&gt;</description></item></channel></rss>