RustProof Labs 🐘 Profile picture
Moved to Mastodon - https://t.co/9Ef7Eaegoa
Mar 29, 2021 16 tweets 7 min read
Gave the #psycopg3 connection pool to #PostgreSQL an initial test run...

Spoiler: Loving it! Thank you @psycopg!!

A thread. 1/?

Created a Flask app to use pgbench tables/queries for easy setup/scaling.

Currently 2 routes: account balance and update balance. Update intentionally uses 1 transaction/query to amplify the effect of many short connections (not a real bank app!)

github.com/rustprooflabs/…

2/?