What async really means for your python web app?
The Python community is abuzz with excitement about better async support. If you have an existing service, you might wonder if you’re missing out. Benchmarks show higher throughput and promise the ability to handle more requests with less hardware. Will a switch to async be a free lunch for your existing service?
As often happens, the reality differs from expectations. Unless you run in a highly distributed environment and your service is the bottleneck, needing 10 instances just to keep up with all the traffic, you probably won’t see the benefits that most benchmarks promise. In fact, you might see worse performance by switching.