News for hackers. Stuff that matters.
Re:Tesla engineers were on-site to evaluate the Twitter staf... by taf2 on Saturday October 29, 2022 @07:46PM (#33389135)
Isn’t twitter a pretty simple thing… db with writes and reads… it was maybe still is rails? I don’t know MySQL , Pgsql have come a long way and most of the hard parts would be scaling these services…. Keeping good caches in memory with redis or memcached… not really sure I see twitter being all that crazy other then it being so many people and so many years of edge case handling they would be hard for an outsider to follow … but it’s not like it was handling a complex UI or enterprise style hacks for a handful of worth it customers…

Would be really interesting to see the code base for sure and definitely exciting to modify a code base handling so much traffic… not sure I can recall a fail whale in many years so maybe they did something right or maybe fearing the whale set the large organization into stone code fear

Contrast that with Tesla and ever car is requesting data from Tesla servers and many many different complex interactions with much more complex engineering to accomplish a task and id imagine the Tesla engineering to be pretty impressive… but who knows it probably does not handle the same amount of read or write traffic…

Re:Tesla engineers were on-site to evaluate the Twitter staf... by _vertigo on Saturday October 29, 2022 @07:59PM (#33389217)
I think you're massively underselling how complex it is to run something at scale. It's not a matter of just making the database go fast. Just using the database as an example (even though there's way more to it than just the database), you can scale a database a bit by sharding or running it as a cluster or what-have-you, but you can only shard so wide before you run into other problems which are much harder to solve. Running at a massive scale requires rearchitecting almost everything that came before.
Re:Tesla engineers were on-site to evaluate the Twitter staf... by jvm___ on Saturday October 29, 2022 @07:55PM (#33389189)
Twitter is just a ticket booth. Had over request, get tickets back.

Except the ticket booth is in the middle of Times Square in New York and it needs to serve millions of people per second and be instantly accessible around the globe.

The complexity is in the infrastructure, not in the complexity of what they're serving.

Re:Tesla engineers were on-site to evaluate the Twitter staf... by x86x87 on Saturday October 29, 2022 @07:54PM (#33389181)
Hahaha. No. They switched to the JVM eons ago. Also, you are severely underestimating how difficult it is to build and run something like twitter at scale.
Re:Tesla engineers were on-site to evaluate the Twitter staf... by ikiris on Saturday October 29, 2022 @07:53PM (#33389178)
"It's just a simple matter of programming"
Re:Tesla engineers were on-site to evaluate the Twitter staf... by birken on Saturday October 29, 2022 @07:57PM (#33389193)
Tesla has millions of cars in service and Twitter has millions of users. Same level of complexity!