logoalt Hacker News

Neki – Sharded Postgres

244 pointsby simon_weberyesterday at 3:43 PM131 commentsview on HN

Comments

gk1yesterday at 4:23 PM

Folks, in your launch posts remember to describe what you're launching and what it's for. Ideally in the opening paragraph.

- Intro: Explains problem but not what is Neki or what it's for.

- Why Neki: Explains alternatives and why they suck but not what is Neki or what it's for.

- How does Neki work: Describes the technical components but not what is Neki or what it's for.

- What you get beyond sharding: Explains how to run/deploy but not what is Neki or what it's for.

- What is a platform preview + Try Neki today: 140 words on the definition of "preview" and links to get started... but not what is Neki or what it's for.

Edit: The landing page has 100x more useful information up front -> https://neki.dev/

Edit #2: They've since added a "What is Neki" section. Good reaction time.

show 3 replies
Yannik_Sctoday at 8:12 AM

I love the offer which is running on the "PlanetScale Metal".

They claim to provide unlimited IOPS (I/O operations Per Second).

I would like to get some of these drives myself. Sounds like a technical miracle.

On the other hand claiming such miracles makes me wonder which other aspects in this are are actually a working miracle or rather a mythos/false marketing claim.

Atreidenyesterday at 5:07 PM

The top concern I've gotten from dev teams when proposing HA distributed postgres (e.g through RDS Aurora global) is that eventual consistency is not suitable for many workloads.

Does Neki solve for this, and if so how? My understanding of CAP theorem is that this basically requires some compromises around availability, but I'm curious as to what that looks like in practice here.

show 3 replies
xyzzy_plughyesterday at 6:17 PM

I love how the Planetscale CEO has been shitting on multigres[0], Supabase's equivalent to Neki, and gloating about how superior Neki is, and yet Neki is not even open source!

Sam, it feels like you're just playing games. It's hard to take anything you say or do seriously. Are you going to OSS this thing? Or have you decided to backpedal?

Congrats on the checks notes closed launch, I guess?

0: https://github.com/multigres/multigres

show 3 replies
fsutsyesterday at 10:22 PM

Kinda ironic that Planetscale built their company on open source Vitess that google built

And now planetscale have made a Vitess like equivalent for Postgres which they have made proprietary

show 1 reply
hanspagelyesterday at 6:44 PM

I need this for my side project that has zero users, but I wonder if Neki will scale well enough.

show 1 reply
erulabsyesterday at 4:59 PM

I love to see this but as a heavy Vitess/MySQL user I do fear the split focus from PlanetScale. Hoping to see continued improvements on the Vitess side as well.

Selfish doubts aside, congrats to Planetscale on the launch!

show 2 replies
dvtkrlbsyesterday at 5:48 PM

Is this going to be open sourced? I thought this was the plan at the start. But ow I am confused.

eile23today at 4:26 AM

How are cross-shard joins and transactions handled? Are there query patterns that would require application changes despite using the same drivers and ORM?

khyyesterday at 4:26 PM

Man, I was deep into this blog post before I was able to answer the question "what is Neki?".

show 2 replies
kaycebasquesyesterday at 4:59 PM

I am on a 12 Muni right now that is plastered with a Neki ad, and I looked up neki.dev literally 10 mins ago to see what this product is about. Did they time the release of this bus ad with the launch date?

show 1 reply
ripeyesterday at 5:34 PM

Neki is a sharded Postgres implementation. It introduces one level of indirection between the application and the Postgres shards.

Found this from neki.dev.

show 1 reply
devyyesterday at 6:40 PM

How does Neki compare to https://pgdog.dev/?

show 1 reply
Tepixtoday at 5:50 AM

So apparently the neki router uses many parts of Postgres. But is it open source itself?

Apparently not.

aamederenyesterday at 5:33 PM

The first question came to my mind was, how would this compare against Citus.

show 1 reply
kamikazechasertoday at 7:04 AM

Not even freeware/shareware?

tjohnellyesterday at 4:24 PM

A C2 level diagram included in the blog post would be helpful. What are the drawbacks to using Neki aside from the obvious (new software has bugs)?

show 1 reply
wewewedxfgdfyesterday at 8:40 PM

Nice work by the marketing department getting two posts on HN front page at same time.

vaibhav2614yesterday at 4:18 PM

Pretty exciting to see a sharded Postgres product in the market.

The pitch is compelling. I wonder how many teams will be able to operate sharded database setups in production as a result of this.

vira28yesterday at 5:06 PM

Obviously welcome more tools for Postgres and sharding but it’s a tough hill to climb against the hyper clouds. Best wishes to the team.

show 2 replies
ragallyesterday at 4:35 PM

I see no mention of foreign keys, or any other constraints, across shards. If, as I suspect, they're not implemented, it would still be useful but at the level of Spanner 10 years ago.

show 1 reply
phoenix24yesterday at 5:34 PM

is this open-sourced?

manlymuppettoday at 12:48 AM

I think this will become the new standard.

_1tanyesterday at 7:06 PM

Cool, but we're on MySQL - anything similar available? Percona XtraDB?

show 2 replies
Haszyesterday at 5:19 PM

Independent of the product, love the branding design for this page.

xnxyesterday at 4:53 PM

What does this compete with? Google Cloud SQL?

show 1 reply
karuppiah7890yesterday at 6:27 PM

It's not Open Source Software. So, I'm not even interested. Lol

show 1 reply
rs_rs_rs_rs_rsyesterday at 4:29 PM

Will this be open source at some point?

beholeyesterday at 4:39 PM

Site design is tight. I like it.

xystyesterday at 6:01 PM

only planet scale? Rookie numbers.

I am looking for interdimensional and interuniversal scale. Which of you trust fund babies has a startup which is working on this problem?

show 1 reply
_kidlikeyesterday at 8:27 PM

can we choose read-after-write consistency at query time, if needed?

parthdesaiyesterday at 6:09 PM

The tech might be amazing, but the CEO comes across as an asshole

show 5 replies
halilBBtoday at 8:23 AM

[flagged]

arpinumyesterday at 4:44 PM

[dead]

nicechiantiyesterday at 4:29 PM

[dead]