Does anyone have positive or negative experiences with Citus?
Stop making excuses for PostgreSQL lacking a built-in, supported horizontal scalability solution.
They have added horizontal scalability in the form of built-in replication: https://www.postgresql.org/docs/current/high-availability.ht...
Adding sharding-style horizontal scaling to that while maintaining the characteristics of PostgreSQL that make it so popular is a very tall order. My suspicion is that handling sharded horizontal write scalability through external systems and extensions is a better architectural fit than trying to bake that into core.
I don't understand why this sentence appears to treat "tables" and "apps" as the same concept. Is this a use of the term "app" that I'm not familiar with?
---
TLDR of this post is that it's promoting a new open source (AGPL) horizontal sharding solution for PostgreSQL called PgDog: https://github.com/pgdogdev/pgdog
Looks like the trick this one uses is to parse your SQL queries inside a custom router/load-balancer and redirect them based on introspecting the WHERE clause of a SELECT/UPDATE/DELETE or the VALUES clause of an INSERT to identify sharding keys: https://docs.pgdog.dev/features/sharding/query-routing/
It let you do all sorts of clever tricks with Lua scripting, though oddly enough it looks like the repo was archived back in 2024 (and the last commit to it was 11 years ago), and the linked docs on https://dev.mysql.com/doc/mysql-proxy/en/ are a 404 now.