←back to thread

420 points rvz | 3 comments | | HN request time: 1.503s | 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 #
AnonymousPlanet ◴[] No.41415586[source]
As an outsider, I can't help but feel that the American election system that boils everything down to just two parties imposes a limited binary lens onto at least the American view of the world.
replies(5): >>41415615 #>>41415658 #>>41415712 #>>41416370 #>>41416420 #
1. throwaway2037 ◴[] No.41415712[source]
Are French Presidential elections so different? And the UK only has two major parties, so the outcome will be similar.
replies(2): >>41416020 #>>41416086 #
2. NeoTar ◴[] No.41416020[source]
The French system, with its two rounds system has a built-in protection against extremism and to encourage compromise.

The UK is also a FPTP system, but has strong parties outside of the two main, for instance in the last general election over 42% of people voted for a party other than Labour or the Conservatives.

[admittedly that’s an outlier, but looking over the last few elections at least around 20% went to parties outside of the big two]

3. XorNot ◴[] No.41416086[source]
The UK system has a much less powerful Executive though.

To be clear: FPTP is terrible, but the reason the UK system isn't as broken as the US one is because the correct functioning of the Legislature is much more vital to the overall system - i.e. 3 viable parties can exist because they're fighting over hundreds of seats, and then it's by the Legislature that the Prime Minister is chosen - rather then by direct vote.