A FastAPI solution to the rinha de backend challenge, just to practice a bit of Python.
Heavily inspired by iancambrea's solution in Sanic.
The current implementation achieves a count of 23891, without using the network_mode: host
config. Below is a summary of the stress test:
- See if bulk inserts help
- Optimize sqlalchemy and postgres configs
- Try
network_mode: host