Lurker News
Elon Musk:

"To address extreme level of data scraping & system manipulation, we've applied the following temporary limits:
- Verified accounts are limited to reading 6000 posts/day
- Unverified accounts to 600 posts/day
- New unverified accounts to 300/day"
Source: https://pbs.twimg.com/media/Fz94eReWYAEhkHS?format=png&name=900x900
Source (backup): https://i.imgur.com/WvwtHez.png

Comments (716) 157 threads

Show all comments

Showing thread 2 of 157

user_named3 replies#
This is hilarious. It appears that Twitter is DDOSing itself.

The Twitter home feed's been down for most of this morning. Even though nothing loads, the Twitter website never stops trying and trying.
In the first video, notice the error message that I'm being rate limited. Then notice the jiggling scrollbar on the right.
The second video shows why it's jiggling. Twitter is firing off about 10 requests a second to itself to try and fetch content that never arrives because Elon's latest genius innovation is to block people from being able to read Twitter without logging in.
This likely created some hellish conditions that the engineers never envisioned and so we get this comedy of errors resulting in the most epic of self-owns, the self-DDOS.
Unbelievable. It's amateur hour.
#TwitterDown #MastodonMigration #DDOS #TwitterFail #SelfDDOS
A mostly still movie of a Twitter feed showing a rate limited error message and a jiggling scrollbar indicating repeated attempts to load a resource.
Firefox network console showing 10 requests to twitter.com zooming by per second. https://sfba.social/@sysop408/110639435788921057

moose_man5 replies#
You mean to tell me that you can't actually run a tech company with three engineers and a Mac Mini?
WinLychee1 reply#
Sounds like a really interesting challenge, would be fun to see how far you can get.
WJW#
Without specifying scale, this seems pretty easy. Pieter Levels has been able to manage a tech company with just a single engineer and with some optimization he could probably fit it all onto a mac mini without too much trouble.
cogman101 reply#
I mean, hat tip to the pie-acquisition engineers, Twitter has done better than I thought it would without maintenance.
malfist#
I'm not terribly surprised. General rule of thumb is you devote 20% of your resources to KTLO. If you fire 50% of your staff, you can still keep the lights on, just the portion of new development fell from 80% of your capacity to 60%.

Now obviously firing entire teams changes that metric some. Probably why there's been some high profile outages like MFA. But most companies can sacrifice large portions of their workforce if they only want to maintain the status quo.

wilg1 reply#
Just for my own interest, based on the latest data I could find and making ChatGPT's code interpreter doing the remedial math (https://chat.openai.com/share/3745dbcd-5be5-4af9-ae34-36845b...)

The Monthly Active Users (MAUs) per engineer for Twitter is approximately 600,000, while for Mastodon it's around 280,000.

Continue this thread — 1 reply

albertopv#
Managing servers/infrastructure also? AFAIK Twitter has a couple of data centers.
rafark#
Doesn’t take too many people to build a website like twitter. It’s not really hard and there are tons of mvc frameworks in pretty much any major language.

Only one good programmer could probably create a clone.
Of course the scale matters, but it’s not like you’d be writing an OS.

ipaddr#
They are not involved in running your instance
throwaway14356#
one would be ideal... until they leave...
GuB-421 reply#
I think Twitter was definitely overstaffed. You don't need that much manpower to run a tech company, at least on the technical side.

The problem is that Twitter organized itself as an overstaffed company, with complex structures, complex code, lots of R&D, etc... Than Elon Musk came in and did a Thanos snap and immediately fired half of the workforce, and I guess quite a few others left, especially among the best who would have an easy way finding a good job elsewhere. But while the workforce was drastically reduced, the complexity of the system wasn't reduced and probably never will. So, you get what happens now.
It is possible to run a Twitter-like website with much less resources than Twitter had before Elon Musk bought it, but you can't run Twitter as it is now.

berkes#
Only Twitter was an advertising company. And for that to run smooth, you apparently need a lot of staff.

From people that ensure your Kelloggs ads don't appear below literal neonazi movies, to people that close deals on large advertising campaigns, to people that ensure the place where those ads appear (Twitter, the product) actually keeps running.

jklinger41010 replies#
> Twitter is firing off about 10 requests a second to itself to try and fetch content that never arrives because Elon's latest genius innovation is to block people from being able to read Twitter without logging in.

Hey, just as an FYI, this comment doesn't make any sense.
Why would blocking people from viewing the TL on the home page cause Twitter more stress?

lolinder#
I don't know what all is involved on the backend, but when I go to twitter.com it runs 123 requests and transfers 11MB of data in order to serve me a login page.
Maxion1 reply#
> Why would blocking people from viewing the TL on the home page cause Twitter more stress?

If you block stuff somewhere in the microservie hell in the backend, but forget to update the frontend code properly, and everything was built with the assumption that authentication and authorization is not a thing, and suddenly it is, there's bound to be craploads of stuff that can start spamming network requests.

dan-robertson#
I don’t think ‘built with the assumption that authentication and authorisation is not a thing’ is the best description. Requests from logged in users would already need to be authenticated to see private accounts they follow. It’s more just the client having aggressive retry logic in the case of whatever rate limit responses they’re getting.
minimaxir#
Broken retry logic due to an unexpected situation.
adamwk#
It could be retry logic that gets stuck in certain conditions that have been met by how TL blocking is handled.
ben_w#
10 If User has reached end of scroll region, load more content

20 Wait $timeout for new content; if a load failed, it was probably a mobile network glitch or something else we should ignore
30 GOTO 10

spiffytech#
I think the GP is saying Twitter's client-side scripting doesn't understand permanent failures. It thinks all failures are transient, so it keeps retrying, hoping to get through. That creates more traffic than if Twitter just let the user read the site.
the42thdoctor5 replies#
I think he was trying to say that the Frontend of the Twitter timeline is not aware of the new request limit, and when that limit is reached it just retries the request, as it would in a normal network error, and keeps in retrying resulting on DDOS.

But I don't believe on that because Twitter is a billion dollar company and that kind of mistake is dumb. So idk.

cududa#
You severely overestimate musk’s software engineering prowess
dspillett1 reply#
> But I don't believe on that because Twitter is a billion dollar company and that kind of mistake is dumb.

This sort of mistake is very common especially when a product is going through a period of change, so it seems very believable to me that recent rate limiting features (or older features that have not been used in a long time or maybe ever) on the backend hadn't been adequately tested to make sure there are no unforeseen side-effects on the front-end when they are activated under pressure.

Continue this thread — 1 more reply

Continue this thread — 3 more replies

Continue this thread — 3 more replies

Continue this thread — 1 more reply