Hi Folks,
I stumbled across an Erlang factory 2014 conference where the speaker was from WhatsApp.
He suggested a number of patches they applied to the BEAM etc.
I want to find out if these patches found their way to mainstream Erlang or they are exclusive to WhatsApp.
Thank you.
3 Likes
I briefly talked on that in Nov 2021 CodeBEAM talk. WhatsApp no longer uses “special OTP 16 version”. Some changes mentioned in the talk were contributed:
- pg2 - after patching it to no avail, I came up with a completely different implementation, pg
- different ETS/phash2 hash salt (slide on 24:40) contributed
The rest were obsoleted by OTP improvements, like NIF for file I/O, off-heap message queues, improved ETS table scalability.
There are two more I haven’t had enough time to contribute. Help is appreciated.
6 Likes