That sounds unlikely unless those machines had access to crazy disk I/O. A local RAID 5/10 with 8 drives would still take 30-50 minutes just to read that much data. Even with a mid-range SAN you still would have spent 15-25 minutes just reading data. This assumes 7.2K SAS/SATA since SSD/NVMe were not ubiquitous in 2015, but even with 2015-era SSDs you're still looking at half that much time spent reading.
It’s cool to see the flip side of that argument. Planet scale is answering the question, “what does it look like when you DO fan out your workload to >100 nodes?”
There’s a place for both technologies. Very cool stuff.
Neki 1 primary + 2 replicas: ~$5.0M/month (just the AWS bill)
Google Spanner w/ 3 replicas built in: ~$3.85M/month
> 512 shards, each with one Postgres primary each on an r8g.16xlarge
> 480 Neki routers, each on its own 8xlarge instance
> We sustained 118,538,803 QPS for 16 minutes across 512 shards and 1.22 PiB of data. Our largest recording was 118,747,267.
Component Detail Monthly Hourly 16-min burst
---------------------------------------------------------------------------------------------
Shard compute 512x r8g.16xlarge $1.41M $1,930 $515
Router compute 480x r8g.8xlarge* $661K $905 $241
Storage (gp3 floor) 1.22 PiB @ $0.08/GB-mo $102K $140 $37
Storage (io2 floor) 1.22 PiB @ $0.125/GB-mo $160K $219 $58
IOPS (io2, light) 5K IOPS/shard, tiered rate $166K $228 $61
IOPS (io2, medium) 20K IOPS/shard, tiered rate $666K $912 $243
IOPS (io2, worst-case) 231,517 IOPS/shard (0% cache) $4.56M $6,251 $1,667
---------------------------------------------------------------------------------------------
Total (gp3 floor) $2.17M $2,975 $793
Total (io2 floor) $2.23M $3,054 $814
Total (io2 + light IOPS) $2.40M $3,282 $875
Total (io2 + medium IOPS) $2.90M $3,966 $1,058
Total (io2 + worst-case IOPS) $6.79M $9,305 $2,481512 shards, each with one Postgres primary each on an r8g.16xlarge
480 Neki routers, each on its own 8xlarge instance
That's ~250K queries/sec per router which seems lowish for this type of workload? The routers won't be doing very much (parse query, route it to proper shard?).
neki is still in platform preview, this experimentation allowed us to collect profiles at such scale and ship some nice optimizations, more are coming
Multiple live shards: yes
Query routing across shards: yes
Online shard splitting: yes
Zero-downtime resharding: yes
Multiple independent shard groups: yes
Data topology management: yes
HA / automated failover: yes
Multi-AZ: yes
Connection pooling: yes
Online schema changes: yes
Workflow-driven migrations/cutovers: yes
Zero-downtime imports: yes
CDC / logical replication: yes
Online Postgres version upgrade workflows: yes
Cross-shard transactions: coming
Multigres today:
Multiple live shards: no
Query routing across shards: no
Online shard splitting: no
Resharding: no
Multiple shard groups: no
HA / failover: yes
Multi-AZ: yes
Connection pooling: yes
Logical replication/import work: in progress
Distributed migration/resharding workflows: no
How it is an it's an alternative? Do you just say things without validating?
I get that PlanetScale has the currently superior product, and I listed the closest thing to it. You're right it's not ready, but in the case that the parent had mentioned of closed-source making it a deal breaker, it's the best alternative.
Neki looks like a good product, and I trust that something coming from the folks behind Vitess is going to be a damn fine offering, but some of us don't love tying our workloads to fully proprietary products. I wouldn't even want to host something like this myself, but knowing there's a path out of the proprietary hosting (which we've seen time and time again is something we should plan for) is critical for a lot of us when choosing solutions as important as our data layer.
If I needed a truly sharded PG at the moment, Neki is probably the best option I could find.
As for the "alternative" argument specifically, it's not on par at the moment, you're right, but that's their goal and they're attempting to fill the same void. In the case of someone who has a requirement their solution be open source, then Neki is flat out of the running too.
I'm rooting for a good Postgres sharding solution to come out. Your team appears to be doing some good work. I would also like to see where both Neki and Multigres are in five years.
Anyone can start a project and say it's an alternative until it achieves the same results is not an alternative. They have raised 10x more venture funding than my company, and we have out executed them with hard work. I will absolutely defend that work.
Supabase hire companies to write fake AI slop to slander competitors. https://dev.to/sivarampg/how-a-neutral-supabase-vs-convex-co... They also claim ownership over projects they dont contribute to https://x.com/jrdntgn/status/2022003873171620160 https://news.ycombinator.com/item?id=45321794 (they have no vitess maintainers on staff now and they did not then either)
This is who you are carrying water for.
Not sure how I wrote your product off. I spoke about how it wasn't open, which it isn't.
> Anyone can start a project and say it's an alternative until it achieves the same results is not an alternative. They have raised 10x more venture funding than my company, and we have out executed them with hard work. I will absolutely defend that work.
Good on your team. I believe the animosity here is mostly in our differing opinions of the word "alternative".
> This is who you are carrying water for.
I am not "carrying water". I listed another company. I've never used a Supabase product.
All this because I mentioned something that was open and in the same lane as your new product.
How's this: I won't refer to it as an alternative because it isn't up to at feature parity yet. That's fair. I will however say that you've taken multiple angles unrelated to the original core of my first reply's parent that was that Neki is not open source. That is true and many of us will see it as a downside when chosing a product. That isn't bad. That's just a thing that is.
I'm sure it's a great product (it seems like planetscale do good engineering and the folks I know who use them seem fine with it) but I don't do vendor lock-in as a service personally, I'll use whatever employer uses because that's the deal but for personal stuff, well this isn't designed for that really, wrong order of magnitude on scaling.
I mean... What's the point of this "benchmark"?