Skip to content

Instantly share code, notes, and snippets.

@iperera97
Last active June 7, 2025 08:27
Show Gist options
  • Save iperera97/a2ee2011c616b90d6d2dbcc5ae7ceb7b to your computer and use it in GitHub Desktop.
Save iperera97/a2ee2011c616b90d6d2dbcc5ae7ceb7b to your computer and use it in GitHub Desktop.
Category Details
Frameworks FastAPI vs Flask
Query Engines DataFusion (in-process query engine, using Parquet) vs PostgreSQL
App Spec. 1 Core and 1GB Memory
DB Spec 4 Core and 8GB Memory
Benchmark Tool Apache Benchmark (ab)
Data Volume 1 million records
Concurrency 1000 requests with 100 concurrency
Test Environment Docker containers for both API services and database/query engines
Metrics Recorded CPU usage, memory usage, requests per second (RPS), latency, error count
Github Repo. https://github.com/iperera97/fastapi-vs-flask-for-dashboard-api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment