supavisor

A cloud-native, multi-tenant Postgres connection pooler.

APACHE-2.0 License

Stars
1.6K
Committers
14

Bot releases are hidden (Show)

supavisor - v1.1.45 Latest Release

Published by abc3 7 months ago

What's Changed

Full Changelog: https://github.com/supabase/supavisor/compare/v1.1.44...v1.1.45

supavisor - v1.1.44

Published by abc3 7 months ago

What's Changed

Full Changelog: https://github.com/supabase/supavisor/compare/v1.1.40...v1.1.44

supavisor - v1.1.40

Published by abc3 8 months ago

What's Changed

Full Changelog: https://github.com/supabase/supavisor/compare/v1.1.39...v1.1.40

supavisor - v1.1.39

Published by abc3 8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/supabase/supavisor/compare/v1.1.13...v1.1.39

supavisor - v1.1.13

Published by abc3 9 months ago

Notable

  • Fixes "expected SASL response, got message type" which can appear in Postgres logs
  • Don't attempt to check database availability during tenant CRUD operations
  • Fixes metrics per tenant endpoint
  • Fixes edge cases during scram auth

What's Changed

Full Changelog: https://github.com/supabase/supavisor/compare/v1.1.6...v1.1.13

supavisor - v1.1.6

Published by chasers 9 months ago

Notable

  • Fixes a bug which caused prepared statements to fail in session mode

What's Changed

Full Changelog: https://github.com/supabase/supavisor/compare/v1.1.5...v1.1.6

supavisor - v1.1.5

Published by chasers 9 months ago

Notable

  • Pools now start with only 10 connections and create new ones up to tenant default_pool_size or user pool_size
  • Logs correct tenant id
  • API endpoints accept PATCH requests

What's Changed

Full Changelog: https://github.com/supabase/supavisor/compare/v1.1.2...v1.1.5

supavisor - v1.1.2

Published by chasers 10 months ago

Notable

  • allow_list field on the tenant to support network restrictions
  • More docs
  • client_heartbeat_interval on the tenant to detect zombie client connections
  • Bug fixes
  • Observability improvements

What's Changed

New Contributors

Full Changelog: https://github.com/supabase/supavisor/compare/v1.0.0...v1.1.2

supavisor - v1.0.0

Published by abc3 10 months ago

Notable

  • Added support for named prepared statements
  • Added support for read replicas and query load balancing
  • Added a client_idle_timeout option
  • New docs build process and website (Github hosted)
  • Docs for migrating from PgBouncer
  • auth_query with md5 support
  • native pool_mode to proxy direct connections to Postgres
  • New metric for unique connected tenants
  • Cache metadata database queries for faster tenant info lookups
  • Bug fixes

What's Changed

New Contributors

Full Changelog: https://github.com/supabase/supavisor/compare/v0.9.0...v1.0.0

supavisor - v0.9.0

Published by abc3 about 1 year ago

Notable

  • SSL support upstream and downstream - clients can connect with SSL and SCRAM-SHA-256 authentication
  • Optionally enforce SSL connections - set enforce_ssl to true on the tenant to force clients to connect with SSL
  • Authentication query support like PgBouncer - define an auth_query on the tenant to authenticate users dynamically
  • Metrics endpoint per tenant - /metrics/:external_id will respond with metrics filtered for a single tenant by external_id
  • Region and instance id metadata in logs - filter your logs easily by region or instance_id
  • Optionally limit client connections per tenant - set default_max_clients on the tenant and optionally max_clients on the user to limit inbound connections per tenant

What's Changed

New Contributors

supavisor - v0.1.0

Published by abc3 over 1 year ago

  • Connect to multiple different Postgres instances/clusters
  • Transaction pooling
  • Cluster-able
  • Resilient during cluster resizing
  • Supports rolling and blue/green deployment strategies
  • NOT run in a serverless environment
  • NOT dependent on Kubernetes
  • Easily understand throughput by a tenant, tenant database or individual connection
  • Prometheus /metrics endpoint
  • OpenAPI spec at /api/openapi
  • SwaggarUI at /swaggerui
  • When deployed as a Supavisor cluster and a node dies connection pools should be quickly spun up or already available on other nodes when clients reconnect
  • Connection buffering
  • Brief connection buffering for transparent database restarts or failovers