PostgreSQL

Indexes, performance, UUIDs, ULID, and Postgres internals.

3 posts

Benchmarking UUID v4 vs ULID

Benchmarking UUID v4 vs ULID

Benchmarking UUID against ULID.

· 1 min read · postgres
UUID vs Serials

UUID vs Serials

Benchmarking UUID and Serial Values in Postgres and Python.

· 2 min read · postgres
Connecting Django to RDS via pgbouncer using IAM auth

Connecting Django to RDS via pgbouncer using IAM auth

Setting up the infra We primarily use a django backend with RDS postgres in a kubernetes cluster for production environments. We were trying to setup an environment which would be HIPAA compliant and secure as well, as well as keep complexity to a minimum in the backend layer.  We decided to go with IAM authentication to connect to RDS for the django application. The tricky part was to figure out how we would add pgbouncer between RDS and django to manage connection pooling issues. We setup a

· 3 min read · devops