The post compares the performance of FastAPI, a Python web framework, with Go's standard library. The tests measure latency, throughput, CPU and memory usage, error rates, and CPU throttling. Deployed on Kubernetes in AWS, the tests evaluate the frameworks in a basic scenario and a more complex one involving database interactions and caching. FastAPI lags significantly behind Go in performance, reaching a limit quickly, while Go maintains higher throughput and lower latencies for extended periods.

8m watch time

Sort: