/rinha-de-backend-fastapi

Solution for rinha-de-backend using fastapi

Primary LanguagePython

A FastAPI solution to the rinha de backend challenge, just to practice a bit of Python.

Heavily inspired by iancambrea's solution in Sanic.

Stress Testing

The current implementation achieves a count of 23891, without using the network_mode: host config. Below is a summary of the stress test:

Gatling Results

TODO

  • See if bulk inserts help
  • Optimize sqlalchemy and postgres configs
  • Try network_mode: host