News for hackers. Stuff that matters.
Re:Jan Koum to leave after broad clashes with Facebook by mars4rp on Monday April 30, 2018 @05:49PM (#16962742)
at the time of accusation, WhatsApp was running on 16 servers! Erlang is idle for communication, they had like 1 million concurrent user on each server!!!
Re:Jan Koum to leave after broad clashes with Facebook by AlexandrB on Monday April 30, 2018 @06:04PM (#16962837)
It feels like modern web design practices have grossly skewed people’s estimates of what it costs to deliver a service. Text messages are not fundamentally hardware intensive to deliver - unless you add tracking, “machine learning”, ad delivery, and mountains of JS for serving the app itself dynamically.
Re:Jan Koum to leave after broad clashes with Facebook by bluedino on Monday April 30, 2018 @10:06PM (#16964109)
Or write the service in Ruby
Re:Jan Koum to leave after broad clashes with Facebook by wpietri on Monday April 30, 2018 @10:34PM (#16964213)
I adore Ruby, but I think that's fair.

Twitter's failwhale-heavy Ruby experience is a good example. Ruby and especially Rails are good examples of trading hardware for programmer convenience. This is absolutely great when you're banging out an in-house app for 100 people, and there's no problem spending $1 per user-month on hardware. But Twitter's revenue is only $0.60 per user-month, and they need to spend on things besides severs. There is a reason that they needed to switch away from Ruby to a much more complicated architecture: https://blog.twitter.com/engineering/en_us/topics/infrastruc...

I also saw some people go the other direction. They had a Java app for serving a high-volume website. But the developers had a rewrite itch, and the execs were afraid they couldn't get acquired without a more hip technology stack. They even hired a fancy consulting firm to help, but when the first version was ready to go it was incredibly slow. Like two orders of magnitude slower to render a page. The rendering times were considered normal in Rails-land, but were a real problem at volume. So they spent another 6 weeks putting in a lot of caching while the ops people ordered a bunch more hardware.

Re:Jan Koum to leave after broad clashes with Facebook by kornish on Monday April 30, 2018 @07:44PM (#16963502)
Absolutely stellar talk by principal engineer Rick Reed about scaling their Erlang setup: https://www.youtube.com/watch?v=c12cYAUTXXs.
Re:Jan Koum to leave after broad clashes with Facebook by komali2 on Monday April 30, 2018 @07:38PM (#16963473)
We use erlang for managing our device messaging, I've seen the board in the office crawl up to simply obscene numbers of connected devices... on one server. Multi millions.

To be fair it's tiny little messages, I'm talking one device does maybe a meg a day after communicating constantly

Re:Jan Koum to leave after broad clashes with Facebook by kbenson on Tuesday May 01, 2018 @01:06AM (#16964716)
There's a talk one of the engineers gives[1] (that someone else posted here so I'm watching it) about their architecture that's published in March of 2014, and in it he talks about ~550 servers, which includes 250 multimedia servers and 150 chat servers.

The only places he mentions 16 is when he talks about the "multimedia database". I think there were 16 sharded database servers.

1: https://www.youtube.com/watch?v=c12cYAUTXXs

Re:Jan Koum to leave after broad clashes with Facebook by imnotadoctor999 on Monday April 30, 2018 @06:35PM (#16963088)
I am personally very impressed by this, and I suspect it is one of the less-mentioned reasons they were acquired by Facebook.

I remember reading this when it came out https://blog.whatsapp.com/196/1-million-is-so-2011

Re:Jan Koum to leave after broad clashes with Facebook by snthd on Monday April 30, 2018 @06:59PM (#16963247)
BTW they were running ejabberd.
Re:Jan Koum to leave after broad clashes with Facebook by mmmBacon on Monday April 30, 2018 @06:52PM (#16963199)
I agree that what they did with server utilization was impressive. However the blast radius was pretty huge if something went down. Also wouldn’t scale to images/video very well.
Re:Jan Koum to leave after broad clashes with Facebook by avip on Monday April 30, 2018 @06:15PM (#16962918)
16 servers for 10^9 users doing voip and uploading vids? How's that possible?
Re:Jan Koum to leave after broad clashes with Facebook by detaro on Monday April 30, 2018 @06:40PM (#16963134)
it didn't have VoIP when it was aquired, and back then sending media was way less common.
Re:Jan Koum to leave after broad clashes with Facebook by saagarjha on Monday April 30, 2018 @06:40PM (#16963131)
You can offload a lot of the work to client devices themselves.
Re:Jan Koum to leave after broad clashes with Facebook by liberte82 on Tuesday May 01, 2018 @11:15AM (#16967701)
what were they accused of?
Re:Jan Koum to leave after broad clashes with Facebook by kirankn on Thursday May 03, 2018 @03:54AM (#16984141)
I think he meant acquisition.