PinnedPublished inPython in Plain EnglishCommon FastAPI Anti-Patterns: What to Avoid for Production-Ready APIsFastAPI is a powerful and flexible framework that can help you build high-performance APIs rapidly. However, like any tool, it’s easy to…Jul 27A response icon1Jul 27A response icon1
PinnedPublished inPython in Plain EnglishBuilding Real-Time Applications with FastAPI and WebSockets: A Practical GuideWebSockets provide a way to create real-time, bidirectional communication between a client and a server. With FastAPI’s built-in support…Jul 24Jul 24
PinnedMastering SOLID Principles in Python: Understanding Open-Closed PrincipleWelcome to the second edition of The Python Newsletter! I’m thrilled to have you here. In this issue, we will delve into one of the key…Jul 5, 2023Jul 5, 2023
PinnedSoft Skills for Software Engineers: Unlocking Success Beyond CodeIn an era dominated by technological advances, software engineers often focus intensely on honing their technical abilities. However…Jul 19A response icon3Jul 19A response icon3
Pinned10 Lessons I Learned from 5 Years of Being a Software EngineerFive years ago, I began my career in software engineering. With my laptop and W3schools as my learning resource, I started this exciting…Jun 11, 2024A response icon2Jun 11, 2024A response icon2
Published inPython in Plain EnglishCaching Strategies for FastAPI: Redis, In-Memory, and HTTP Cache HeadersCaching is one of those things that seems straightforward until you realize there are three different layers to think about. I’ve seen…Nov 4Nov 4
Published inPython in Plain EnglishHow to Get the Real Client IP in FastAPI Behind a Reverse ProxyWhen you deploy FastAPI behind Nginx, Traefik, or Caddy, every request appears to come from the same IP address — typically something like…Oct 14A response icon1Oct 14A response icon1
Published inPython in Plain EnglishEssential Middlewares Every FastAPI Developer Should KnowFastAPI is already fast and powerful out of the box. But if you’re building production applications, you need more than just the core…Oct 13Oct 13
Published inPython in Plain EnglishTrack Request Performance in FastAPI with One Simple MiddlewareEvery production API needs performance monitoring. Here’s how to add request timing to your FastAPI app in under 10 lines of code.Oct 10Oct 10
Published inPython in Plain EnglishHow I Protect My FastAPI APIs from AbuseWhen you build a public API, you quickly learn that some users — or even bugs — can send far more requests than expected. This can slow…Oct 8A response icon3Oct 8A response icon3