Hacker Newsnew | past | comments | ask | show | jobs | submit | achanda358's commentslogin

This is very cool, congrats on the launch. Do you think making this CLI/API compatible with Vitess or Citus is worth it?


Thanks! I never considered this. What would that look like?



> By its nature, K8s is designed to host stateless apps. It is fantastic at doing this, to be clear. I love K8s. But a system where the nodes can (and should, if you're taking advantage of spot pricing) disappear with a few minutes' warning is not a great host for an RDBMS.

Why is this a problem? A typical deployment will have multiple replicas, with (hopefully) small replication lag. Those should be able to be promoted to be the new primary within a minute.


> A typical deployment will have multiple replicas, with (hopefully) small replication lag. Those should be able to be promoted to be the new primary within a minute.

What happens within that minute to database writes?


Do you enjoy being paged for something out of your control? I don’t.


I don't get a page for something that is not under my control, that is an organisational problem if you get that. But how is it relevant here?

In my example, I will get a page for large replication lag. But not for an unplanned failover. That will be an alert, but not a page.


Well, the problem is a little bit more complicated than just having replicas.

You cannot build operational procedures based on “hope”.

High replication lag occurs for many many reasons (and they are not a rare event, or something that you can prevent). As well as network partitions.

Replication and binary logs can get corrupted, there can be deadlocks, duplicated row errors, etc.

The thing is that database administration is a broad and complicated topic, a small mistake or the lack of understanding how these systems work can easily lead to huge data losses.


> typical deployment

Ah yes, HN. You know there are billions of sites(wp mostly), LoB apps etc that run on 1 mysql/pg/etc instance right? Replicas are not typical and a tiny minority.


Exactly. Kubernetes and micro services? Sure, for about 0.5% of the industry. Everyone else needs two servers and a load balancer.


Technically four servers, because you’ll want a HA LB as well, but yes.

Tech is rife with people who have never set up an old school HA solution proffering advice on how a miasma of cloud services makes theirs better.


Why would I want k8s for a simple Wordpress site in that case?


OP was talking about 'typical database setup' being a replicated db. It's not typical. Nor is the use of k8s for stuff outside HN and massive companies. Not that I mentioned k8s anyway.



Cloudflare | Senior/Staff Systems engineer – database platform | Remote | UK, Germany, Portugal or Netherlands

We are hiring a systems engineer at Cloudflare. Our team is responsible for managing all of Cloudflare's internal Postgres deployments. This particular role fullstack engineer-ish since this will involve writing frontend code for a system that engineers use to interact with databases, among other things. I am not the hiring manager but I am a part of this team, happy to answer any questions.

https://boards.greenhouse.io/cloudflare/jobs/5979113?gh_jid=...


This link doesn't work for me


From the linked JD

    Available Locations: UK, Germany, Portugal or Netherlands
Please don't write Europe if you mean 4 countries.


Thanks, edited.


Peter Norvig's work is great to learn from https://github.com/norvig/pytudes


No, but there might still be basis for a lawsuit. For example, if a worker can prove that they need to be remote due to a medical condition, that might make this discrimination on that medical condition.



Yes but it says nothing about cpu/ram and/or memory/storage/io optimized hardware, cost per hour, or anything like that. Does it scale to zero? Does it autoscale? Will it throttle with spikes in load?


Thanks for the good question! Our free tier offers fixed resources per application (under the hood, a Firecracker microVM with 512 MB of RAM and 1 vCPU) that scale to zero when not in use. For paid users, we'll offer autoscaling per application--we'll share more details on that soon.


With different bioavailability


So far


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: