PgDog is funded and coming to a database near you
1–10 of 275 posts
Re: PgDog is funded and coming to a database near you
#2Still trying to figure out how this works technically, is the performance gain really just re-write in rust?
Re: PgDog is funded and coming to a database near you
#3>PgDog is a sharder, connection pooler and load balancer for PostgreSQL. Written in Rust, PgDog is fast, reliable and scales databases horizontally without requiring changes to application code. Still trying to figure out how this works technically, is the performance gain really just re-write in rust?
Edit:
Performance gains are from having the ability to load balance reads (horizontal scaling for read queries) and scale out writes (with sharding). Once instance bottleneck in Postgres has many faces:
1. Behind schedule vacuums because of too many dead tuples (too many writes)
2. The WALWriter is single-threaded and IO-bound - Postgres can only do about 200-300MB/sec in writes per instance (real prod numbers on EC2 with NVMes and ZFS, basically best case scenario).
3. Bulkheading: single primary is a single point of failure. With 12 primaries, if one fails, 91% of your customers don't notice.
The list goes on. Rust is just a side effect. We love it because it's fast and correct - the perfect match for a database product.
Re: PgDog is funded and coming to a database near you
#4Re: PgDog is funded and coming to a database near you
#5I hope people pronounce this as „pig-dog” and has a mascot that looks like „man-bear-pig”
Re: PgDog is funded and coming to a database near you
#6Re: PgDog is funded and coming to a database near you
#7Re: PgDog is funded and coming to a database near you
#8>PgDog is a sharder, connection pooler and load balancer for PostgreSQL. Written in Rust, PgDog is fast, reliable and scales databases horizontally without requiring changes to application code. Still trying to figure out how this works technically, is the performance gain really just re-write in rust?
Not quite. The performance gain is to bring those features to Postgres! Edit: Performance gains are from having the ability to load balance reads (horizontal scaling for read queries) and scale out writes (with sharding). Once instance bottleneck in Postgres has many faces: 1. Behind schedule vacuums because of too many dead tuples (too many writes) 2. The WALWriter is single-threaded and IO-bound - Postgres can only…
Re: PgDog is funded and coming to a database near you
#9Does making it "just work" here come with any caveats vs standard PG?
Re: PgDog is funded and coming to a database near you
#10Does making it "just work" here come with any caveats vs standard PG?
You _could_ make that ACID, but it's not going to be faster than a single machine.