fpsebastiam / rinha-de-backend-fastapi

Solution for rinha-de-backend using fastapi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Solution for rinha-de-backend using fastapi


Languages

Language:Python 94.0%Language:Mako 4.8%Language:Dockerfile 1.2%