Benjamin-Philip

Benjamin-Philip

Why does WhatsApp use FreeBSD?

In every WhatsApp “success story” article, I notice that they all mention that WhatsApp runs FreeBSD.

I don’t see what is advantage of running FreeBSD compared to running some mainstream Linux distro like some Debian derivitiave or RHEL. It seems to me that documentation and support will be somewhat worse for FreeBSD.

Most Liked

al2o3cr

al2o3cr

+1 for this - folks spend a lot of time trying to discover deep technical reasons for decisions that often come down to “we need to use SOMETHING and our CEO has deep experience deploying WHATEVER_THING so let’s use that”.

The other popular-but-often-overlooked reason is “because implementing it was a hassle and the person who was willing to do it wanted to use WHATEVER_THING because it was shiny”; for instance, the choice of Scala over other JVM languages at Twitter for performance-critical parts.

AstonJ

AstonJ

Why does WhatsApp use FreeBSD?

They don’t :lol:

As mentioned by others they moved to Linux. There have been a few threads about it, think this was one of the most recent:

You may also be interested in:

tj0

tj0

During the 2000’s, FreeBSD had a more performant tcp stack and many high-traffic websites used it. Considering that Whatsapp ran on a small set of big servers, picking FreeBSD certainly doesn’t seem out of line. I’m not sure if Linux tcp stack has ever surpassed it. For instance, Netflix still uses FreeBSD to serve video.

https://papers.freebsd.org/2022/eurobsdcon/gallatin-the_other_freebsd_optimizations-netflix/
https://papers.freebsd.org/2021/eurobsdcon/gallatin-netflix-freebsd-400gbps/

victorbjorklund

victorbjorklund

They seem to have moved away from that in order to fit better in with the rest of meta. > WhatsApp moved away from FreeBSD to Linux. I'm a former WhatsApp server engine... | Hacker News

See also this thread on running elixir on FreeBSD vs Linux. Linux vs FreeBSD for Phoenix? - #12 by Mandemus

JeyHey

JeyHey

FreeBSD is a great system. I’m running one since 7 years and had no problems.

The main reason, thought, might be that Jan Koum was a FreeBSD expert.

Where Next?

Popular in Questions Top

Tee
can someone please explain to me how Enum.reduce works with maps
New
LegitStack
I’m hoping you guys can give me some general advice and perhaps code examples if you’re feeling up to it. I’m very interested in Elixir,...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
Kagamiiiii
Student & New to elixir. Nice language. I want to convert a english character, e.g. “a”, which is stored in a variable, to it’s asci...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
gonzofish
I’m currently trying to understand how to join three tables using Ecto. All the examples I’ve seen use 2, so maybe I’m just missing somet...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New

Other popular topics Top

JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1140 51847 244
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New
New
polypush135
As many of you may have realized by now (sorry for all the posts here) I’ve been working on a db problem where I’m trying to aggregate a ...
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
myronmarston
The Elixir Typespec docs show the following syntax for keyword lists in typespecs: # ... | [key: type] # keyword lis...
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New

We're in Beta

About us Mission Statement