5 ms·
Neki – Sharded Postgres by the team behind Vitess
- purpleidea 1y agoMaybe make the announcement after you've actually released code? Today I'm announcing I've cured cancer. Well not yet, but coming soon hopefully!
- tpetry 1y agoMore like: We‘re announcing to work on a cure in cancer! Isn‘t that aweslme? No, we dont have anything yet. But we started working on it. ETA? When its done. We dont share roadmaps with outsiders.
- crowcroft 1y agoProbably want to try front run comms with Supabase getting into this as well.
- shoeb00m 1y agoLooks like there is two ongoing vitess for postgres projects. Hopefully this competition leads to a better postgres ecosystem. https://supabase.com/blog/multigres-vitess-for-postgres https://supabase.com/blog/multigres-vitess-for-postgres
- qaq 1y agoSupabase also working on OrioleDB
- eatonphil 1y agoOrioleDB is not about sharding, it's about the storage layer.
- qaq 1y agoI did not claim OrioleDB is about sharding. It was just an observation that Supabase is contributing to Postgres ecosystem through multiple projects.
- selfhosttoday 1y agothey likely said that because the context is "vitess for postgres projects" and OrioleDB is not "vitess for postgres"
- n2d4 1y agoThere is also pgdog by the author of pgcat: https://pgdog.dev https://pgdog.dev
- dangoodmanUT 1y agoIt gets more spicy when you realize the founder of vitess, also the founder of planet scale, left planet scale to build this at supabase
- samlambert 1y agohe left PlanetScale 4 years ago.
- hubertzhang 1y agoDoes Neki still need sharding key in query, just like Citus?
- rockwotj 1y agoIf it’s like vitess then no, but IIRC you get relaxed consistency across shards
- n_u 1y agoRegarding cross-shard consistency, there's a doc here[1] on the options. In short you can just send the writes to all replicas, you can disallow cross-replica transactions (read and write), use two-phase commit to perform a distributed transaction or use their own hybrid approach that they set as the default. [1] https://vitess.io/docs/20.0/user-guides/configuration-advanced/shard-isolation-atomicity/#method-1--the-naive-way https://vitess.io/docs/20.0/user-guides/configuration-advanc...
- ozgrakkurt 1y agoIs anyone working on replacing postgres? Feels like it might be very useful since a lot of new technologies came out since spinning disks.
- erpellan 1y agoIf you look at the changes that have been made to Postgres, and continue to be made, the answer is yes. The Postgres team is working on replacing Postgres. With even better Postgres.
- eatonphil 1y agoWho isn't? Cockroach rewrote Postgres in Go. CedarDB rewrote Postgres in C++. And then to lesser degrees you've got Yugabyte, AlloyDB, and Aurora DSQL (and certainly more I'm forgetting) that only replace parts of Postgres.
- vladich 1y agoBoth Cockroach and CedarDB didn't rewrite anything, they built stuff from scratch. Just used the same client protocol. There are a bunch of other unrelated databases using Postgres protocol btw.
- eatonphil 1y agoI'm not talking about speaking the protocol. I'm talking about trying as hard as they can to be as indistinguishable from Postgres (to a non-operations user) as they can. And that list is very small.
- atombender 1y agoThis is exciting. The announcement says it will be open source. I really hope that this includes a functionally complete control plane so you realistically self-host. I looked Neon recently, and it appears that it's designed as a SaaS product from the outset; while it is technically possible to self-host the individual components of the architecture, it does not look trivial, in large part because the control plane is closed source (and probably extremely specific to Neon's SaaS operations).
- benjiro 1y agoYour probably better off with the original flavor (the guy that made Vitesse) https://multigres.com/ https://multigres.com/ He is making a open source version of porting Vitesse to Postgres.
- bddicken 1y agoWhy? Neki is built by the the engineers who have built, maintain, and operate massive-scale Vitess databases.
- kelp 1y agoTo add to this, if you look at the top 10 committers to Vitess over the last 12 months, 8 of them are helping with Neki in one way or another: https://github.com/vitessio/vitess/graphs/contributors?from=8%2F10%2F2024 https://github.com/vitessio/vitess/graphs/contributors?from=...
- pjjpo 1y agoMultigres is made by the guy that made Vitess, Sugu, before it became a startup. Doesn't mean it will be better, but I think it's why people have high hopes for both products.
- andrew_mason1 1y agothere are also a significant number of previous vitess maintainers that have gone to supabase to work on it with him, so there's that. it is not at all accurate to say that neki is made by "the team that brought you vitess" and that multigres is somehow not
- kyrra 1y agoThey did a interview 2 weeks ago about this on the changelog podcast with Sugu Sougoumarane, the co-creator of Vitess, who is at Supabase now. Watching the competition year will be interesting https://youtu.be/y1aq8RsnJeI https://youtu.be/y1aq8RsnJeI
- josevalerio 1y agoJust FYI that interview is for Multigres, a sharded Postgres in development by Supabase. Sugu hasn’t been at Planetscale for a few years https://github.com/multigres/multigres https://github.com/multigres/multigres
- Reubend 1y agoVery cool, and I'm looking forward to using this. But unfortunately it seems like it's not actually released yet? I'm a little surprised to hear that PlanetScale is doing the work to make this considering I thought their entire system was based on Vitess. Maybe the demand for Postgres compatible DBs is so high nowadays that they need to offer compatibility for customers that don't want to port their apps to MySQL's syntax?
- abrkn 1y agoI love this website!
- saurik 1y agoI wonder how this compares to YugabyteDB?
- v5v3 1y agoYugabyte is a 'postgresql compatible' database. These are forks or extensions of Postgresql.
- saurik 1y agoYugabyteDB is also a fork of PostgreSQL. Last year, they got around to rebasing from 11 to 15, and spent some time working on better isolating their changes to make that easier going forward. https://www.yugabyte.com/blog/yugabytedb-moves-beyond-postgresql-11/ https://www.yugabyte.com/blog/yugabytedb-moves-beyond-postgr... > When we set out to make YugabyteDB Postgres-compatible, we took a fork of Postgres, and modified all of the operations that use shared memory or storage to instead talk to our LSM- and Raft-based distributed storage and transaction layer.