←back to thread

420 points rvz | 1 comments | | HN request time: 0.204s | source
Show context
pfraze ◴[] No.41412758[source]
Copying over my latest backend status update; figure folks would find it interesting

Servers are holding up so far! Fortunately we were overprovisioned. If we hit 4mm new signups then things should get interesting. We did have some degradations (user handles entering an invalid state, event-stream crashed a couple times, algo crashed a couple times, image servers hit bad latencies) but we managed to avoid a full outage.

We use an event-sourcing model which is: K/V database for primary storage (actually sqlite), into a golang event stream, then into scylladb for computed views. Various separate services for search, algorithms, and images. Hybrid on-prem & cloud. There are ~20 of the k/v servers, 1 event-stream, 2 scylla clusters (I believe).

The event-stream crash would cause the application to stop making progress on ingesting events, but we still got the writes, so you'd see eg likes failing to increment the counter but then magically taking effect 60 seconds later. Since the scylla cluster and the KV stores stayed online, we avoided a full outage.

replies(9): >>41412984 #>>41413343 #>>41413506 #>>41413569 #>>41415242 #>>41415812 #>>41416225 #>>41417516 #>>41417547 #
pcwalton ◴[] No.41413569[source]
It's frustrating that anything related to X/Twitter is such a predictably-partisan tinderbox because this is really interesting technical information. Thank you for sharing it!
replies(1): >>41414443 #
kstenerud ◴[] No.41414443[source]
It's partisan/political because Musk is partisan/political. And it's not just Musk.

We've been living in a fantasy land of "no political affiliation" in the tech world for decades, and now that the age of the hyper-rich has come once again, they are realizing the benefits of using the power they wield to shape the worlds they live in.

So now in the early stages of this century's great fight, we'll see our beloved tech giants join the political fray in full force, dragging their follower armies along for the ride.

And it works, too. Just look at the comments here.

replies(9): >>41414549 #>>41414566 #>>41414571 #>>41414596 #>>41414987 #>>41415229 #>>41415701 #>>41416661 #>>41417566 #
kstenerud ◴[] No.41415229[source]
Looking at the responses, I can see that people are still viewing this through the limited lens of left vs right.

This is of course a thing in that nobody can hide their colors anymore, but I'm specifically talking about the rich now feeling empowered enough that they even have the hubris to challenge governments of the world for their own benefit, and in some cases even build their own empires to escape the limitations of governments by forming their own rich-people-only worlds.

For example: https://www.nytimes.com/2024/08/28/magazine/prospera-hondura...

So long as you continue fighting left vs right, you're fighting the wrong enemy.

replies(5): >>41415279 #>>41415586 #>>41415752 #>>41415757 #>>41416519 #
mikrotikker ◴[] No.41415279[source]
Free speech is all that matters. Musk is not perfect by any means here but he is better than the rest. He is exporting the 1st amendment to us nations who don't get to experience such freedoms. Which is what Twitter should have been doing, instead of kowtowing to the likes of the German and Saudi govts among others...
replies(6): >>41415431 #>>41415520 #>>41415528 #>>41415655 #>>41415806 #>>41415996 #
kristiandupont ◴[] No.41415431[source]
But Musk doesn't care about free speech, he is actively and eagerly suppressing it as well, just for the other team.
replies(2): >>41416683 #>>41416857 #
1. namaria ◴[] No.41416683[source]
That man will say anything, I don't know why anyone would pay attention to it.