10 May 2012: Scalability of the Erlang VM and FreeBSD (reaching 2.5M+ concurrent connections/box)
Erlang Solutions - - May 10, 2012
They reduced the number of contentions in BEAM and tweaked OTP in order to improve its throughput. Their suggestions for writing scalable Erlang programs include: preferring os:timestamp to erlang:now and partitioning ets and mnesia tables in order to localise access to smaller number of processes. They reached 2.5M+ concurrent connections/box from an initial server load of ~200k connections. They found that Erlang has *awesome* SMP scalability, as it can reach >85% CPU utilization across 24 logical CPU cores uniformly and the CPU utilization grows almost linearly with the number of connections.
They have published as open source all their changes here. Some of their suggestions are now enabled by default (e.g. number of memory allocators being equal to the number of schedulers in the VM) but most of their changes are not included as they are system-specific.
Categories: Companies Erlang Solutions
Erlang on Twitter
» AyinunMardiyah (AM): @nisaImantia sabar ya buu nungguin Erlang wkwkwkw
» abiliobagaskara (abiliobagaskara.): @IrfaannM alip rehan erlang mah jam 3 an, bawa jaket imon ya sekalian
» narkisr (Ronen): Rubified erlang https://t.co/7tjL7iaJMW
» a1cn (Алиса Маргатройд): RT @karno: いちばんE言語 Erlang
» karno (司祭): いちばんE言語 Erlang
» Muh_Erlang (M. Erlangga Pangestu): Mesti sabar ngerjain soal di TOKI @IT_Bandung
» mike_neck (もちださん): Erlangのlistsモジュールを試してみる - 第3回 - mike、mikeなるままに… http://t.co/kGF77EWKuT mergeとminを追記した。
» tashakawe (TashaKawe): @Muh_Erlang ha?
» HamidanZW (Hamidan Zaneddine W™): @naufalshabrito hii maniaks,aku ndak kesana ah~ entar dicegat pasukan dewa erlang
» NaufalShabrito (Naufal Shabrito): Щ(˚̩̩Д°̩̩щ) tak tgg tgl 1 d teater lho @HamidanZW: Itu dewa erlang Mending kamu ke thailand aja lagi deh :| km disana kan fakir koneksi .__.
Statistics
Number of aggregated posts: 10651
Most recent article: May 21, 2013
Latest comments
» Moraru on This is Why You Spent All that Time Learning to Program: It is true that computer science was a pain in the back at time that i’ve had to learn it…
» Commercial hand dryers on Couchbase Meetup at new HQ: Buy online from here where you will get so much of variety in Commercial hand dryers for people. If you…
» Fort McMurray Homes on Motivated Reasoning and Erlang vs Python vs Node: I don’t really understand why this post is motivational? I don’t even see a post, just a title. Fort McMurray…