Hacker News new | ask | show | jobs
by asdasf 4669 days ago
Facebook hasn't been a PHP shop in a long time. PHP is only used on the front end site. New projects that come along are written in whatever language makes sense. Like facebook chat being in erlang for example.
1 comments

I heard a rumor a while back that Facebook Chat was rewritten in C++... but I can't seem to find anything to verify that. Do you know if it's still Erlang?
When it was "erlang" I think they were just running ejabberd.
Ejabberd is not an epoll-driven web server, which is what the quotes from facebook people said they wrote in erlang.
It was always both as far as I know.

"For Facebook Chat, we rolled our own subsystem for logging chat messages (in C++) as well as an epoll-driven web server (in Erlang)"

The rumor was that it had been rewritten in 100% C++...
No idea. Sounds like the kind of thing that gets started based on a misunderstanding like someone saying "we wrote that in C++" in reference to part of the chat system. Either way, my point was that facebook isn't a PHP shop. Erlang/C++ or just plain C++, neither is PHP.