Home > World Of ICT > Server utama WhatsApp rupanya jalan di FreeBSD

Server utama WhatsApp rupanya jalan di FreeBSD

Informasi bagi anda yang belum mengetahui, rupanya server messenger Whatsapp berjalan pada sistem operasi FreeBSD, informasi ini saya dapat dari mailing list dan info resminya ada pada blog Whatsapp berikut http://blog.whatsapp.com , dengan transaksi secara simultan sebanyak 1 juta request tcp, woww , mantap, tentunya request ini juga didukung dengan perangkat keras berupa processor, memory, dan server yang mumpuni, lebih jelasnya dapat anda baca pada blog whatsapp yang saya paste dibawah.

A few months ago we published a blog post that talked about our servers doing 1 million tcp connections on a single box: http://blog.whatsapp.com/?p=170

Today we have an update for those keeping score at home: we are now able to easily push our systems to over 2 million tcp connections!

jkb@c123$ sysctl kern.ipc.numopensockets
kern.ipc.numopensockets: 2277845

Best part is that we are able to do it with plenty of CPU and memory to spare and do it sustainably:

CPU: 37.9% user,  0.0% nice, 13.6% system,  6.6% interrupt, 41.9% idle
Mem: 35G Active, 14G Inact, 18G Wired, 4K Cache, 9838M Buf, 27G Free

 This time we also wanted to share some more technical details with you about hardware, OS and software:

hw.machine: amd64
hw.model: Intel(R) Xeon(R) CPU X5675 @ 3.07GHz
hw.ncpu: 24
hw.physmem: 103062118400
hw.usermem: 100556451840

jkb@c123$ uname -rps
FreeBSD 8.2-STABLE amd64
jkb@c123$ cat /boot/loader.conf.local

and the last important piece of our infrastracture is Erlang:

8> erlang:system_info(system_version).
"Erlang R14B03 (erts-5.8.4) [source][/source] [64-bit] [smp:24:24] [rq:24] [async-threads:0] [kernel-poll:false]n"

P.S. – we are hiring in both client and server teams, so send your resume to jobs at whatsapp dot com if you are interested (.. and we are also looking for summer interns)


  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.