Deployments Concepts - FastAPI
When deploying a FastAPI application, or actually, any type of web API, there are several concepts that you probably care about, and using them you can find the most appropriate way to deploy your application. Some of the important concepts are: We'll see how they would affect deployments. In the end, the ultimate objective is to be able to serve your API clients in a way that is secure, to avoid disruptions, and to use the compute resources (for example remote servers/virtual machines) as efficiently as possible. 🚀 I'll tell you a bit more about these concepts here, and that would hopefully give you the intuition you would need to decide how to deploy your API in very different environments, possibly even in future ones that don't exist yet. By considering these concepts, you will be able to evaluate and design the best way to deploy your own APIs. In the next chapters, I'll give you more concrete recipes to deploy FastAPI applications. But for now, let's check these important concep
Deployments Concepts ¶ When deploying a FastAPI application, or actually, any type of web API, there are several concepts that you probably care about, and using them you can find the most appropriate way to deploy your application . Some of the important concepts are: Security - HTTPS Running on startup Restarts Replication (the number of processes running) Memory Previous steps before starting We'll see how they would affect deployments . In the end, the ultimate objective is to be able to serve your API clients in a way that is secure , to avoid disruptions , and to use the compute res
related reading
- Everything I know about good API designseangoedecke.com
- Run a Server Manually - FastAPIfastapi.tiangolo.com
- Bigger Applications - Multiple Files - FastAPIfastapi.tiangolo.com
- About HTTPS - FastAPIfastapi.tiangolo.com
- FastAPI vs Flask: Comparison Guide to Making a Better Decisionturing.com
- REST API: Everything You Need to Know | Directusdirectus.io
- How to Build End-to-End LLM Observability in FastAPI with OpenTelemetryfreecodecamp.org
- Six Strategies for Application Deployment - The New Stackthenewstack.io
- GitHub - karanpratapsingh/system-design: Learn how to design systems at scale and prepare for system design interviewsgithub.com
- Best practices for REST API design - Stack Overflowstackoverflow.blog
- Which web frontend architecture fits best?workingsoftware.dev
- Web Applications 101 - Robin Wieruchrobinwieruch.de