Readit News logoReadit News
dmlittle commented on K8s with 1M nodes   bchess.github.io/k8s-1m/... · Posted by u/denysvitali
jauntywundrkind · 2 months ago
The API server is the thing. It so happens that the API server can mostly be a thin shell over etcd. But etcd itself while so common is not sacrosanct.

https://github.com/k3s-io/kine is a reasonably adequate substitute for etcd. sqlite, MySQL, PostgreSQL can also be substituted in. Etcd is from the ground up built to be more scale-out reliable, and that rocks to have baked in. But given how easy it is to substitute etcd out, I feel like we are at least a little off if we're trying to say "etcd is also the entire point of k8s" (the APIserver is)

dmlittle · 2 months ago
It's been a while since I've checked this but a few years ago we tried to limit test kine on a large-ish cluster and it performed pretty poorly. It's fine for small clusters but the way they have to implement the watch semantics makes it perform poorly (at least this was the case a few years ago).
dmlittle commented on K8s with 1M nodes   bchess.github.io/k8s-1m/... · Posted by u/denysvitali
cyberax · 2 months ago
How often do you have sudden host failures? Especially if you use a half-decent server with redundant components for the DB node?

Once in maybe 10 years?

dmlittle · 2 months ago
The node failure rate is much higher than that. On a 1M node cluster of cloud-managed instances (AWS, GCP, Azure, etc.) you'd likely see failures a few times a month, if not more.
dmlittle commented on DaisyUI: Tailwind CSS Components   daisyui.com/... · Posted by u/a_bored_husky
coneonthefloor · 5 months ago
Tailwind has the Bootstrap problem, in that I can tell straight away that a website uses Tailwind, and for some reason that is off putting.
dmlittle · 5 months ago
It depends on how much effort you put into it vs. just using any of the base templates/components that Tailwind Plus (previously Tailwind UI) has to offer.

If you look at their Showcase section[1], you can't tell it's using TailwindCSS for most of them (imo).

[1] https://tailwindcss.com/showcase

dmlittle commented on Ask HN: Bitcoin mining as an alternative to ad revenue    · Posted by u/pipeline_peak
dmlittle · 8 months ago
Jeremy Rubin built a proof-of-concept for this over a decade ago for a hackathon and ended up being sued by the state of New Jersey. This blog post[0] has a good summary of the events.

[0] https://ethanzuckerman.com/2015/05/28/the-death-of-tidbit-an...

dmlittle commented on SpaceX's Fram2 returns from first-of-its-kind mission around Earth's poles   cnn.com/2025/04/04/scienc... · Posted by u/TMWNN
ThinkBeat · 9 months ago
SpaceX is able to land spent rocket stages with precision. Way back the space shuttle was able to land at a precise point, (I read it was a nightmare to try to steer it)

Why are capsules still being dumped into the ocean?

Is there not a modern fancy way to make the capsules land on a runway?

I am pretty sure this is a dumb question for people wh know why but I am curious.

dmlittle · 9 months ago
Just an (uneducated) guess here, I don't believe capsules carry the necessary amount of fuel that it would take to accomplish this.
dmlittle commented on Every V4 UUID   everyuuid.com/... · Posted by u/LorenDB
zaken · a year ago
I tried to find the biggest UUID and if I got it right, it's

99999999-9999-4999-9999-999999999999

(note the 4 in the 3rd block)

I'm curious why it's not 99999999-9999-9999-9999-999999999999 (all 9s)?

dmlittle · a year ago
It depend on the UUID version you're using. Version 4 (Random) will always have that value be 4 as per RFC 9562. So 99999999-9999-9999-9999-999999999999 is a valid UUID but not a valid UUID v4. If you wanted to be pedantic the website should have been named https://everyuuidv4.com/

https://datatracker.ietf.org/doc/html/rfc9562

dmlittle commented on How Uber tests payments in production   news.alvaroduran.com/p/cr... · Posted by u/ohduran
danielheath · a year ago
Stripe is the best I've used, but it has a ton of issues to this day:

    A) Account settings are specified separately in prod / staging
    B) Differences between those environments are not automatically reported in a useful way
    C) Only one staging env per customer. Want to check what a new setting will do? Every developer is getting that setting turned on.

dmlittle · a year ago
> C) Only one staging env per customer. Want to check what a new setting will do? Every developer is getting that setting turned on.

Stripe Sandboxes[1] aim to solve this problem!

(Disclaimer: I work for Stripe but not on this feature)

[1] https://docs.stripe.com/sandboxes

dmlittle commented on Starlark Language   github.com/bazelbuild/sta... · Posted by u/zerojames
nhumrich · 2 years ago
Not trying to bash, honestly curious; why not just use python?
dmlittle · 2 years ago
There's some explicit differences with Python[1]. My understanding is that Starlark was specifically created for Bazel so if I had to guess it's to enforce the immutability of values between contexts.

[1] https://bazel.build/rules/language#differences_with_python

dmlittle commented on Free MIT Course: Performance Engineering of Software Systems   ocw.mit.edu/courses/6-172... · Posted by u/danielovichdk
explaininjs · 2 years ago
I TA’d this course this semester (Fall 2018 - wow the time flies), happy to answer questions.

(Though I’m currently backpacking through the Andes so you may need to be patient)

dmlittle · 2 years ago
Thank you for TA'ing the class! I took it in 2015 and TAs really made the class for myself and most of my friends.

Is the end of semester Leisserchess competition still going? I believe I heard that the year you TA'd it (might have been a year before or after) a group finally compiled an opening playbook and beat everyone in the class

dmlittle commented on Dive: A tool for exploring a Docker image, layer contents and more   github.com/wagoodman/dive... · Posted by u/tomas789
fishpen0 · 2 years ago
Kubernetes specifically is in go because google invented go and also invented Kubernetes. Their internal teams have a lot of go engineers due to the whole inventing it thing
dmlittle · 2 years ago
I believe the original Kubernetes proof of concept was written in Java

u/dmlittle

KarmaCake day593November 16, 2014View Original