How we optimized Python API server code 100x

1 · Sentry · Feb. 25, 2022, 8:25 p.m.
Some of the tricks we used to speed up calls to our analytics API written in Python: played with asyncio, messed with SQLAlchemy, hacked deep in asyncpg, rewrote parts in Cython, found better data structures, replaced some pandas with pure numpy....