Facebook uses a variety of services, tools, and programming languages to make up its core infrastructure. At the front end, their servers run a LAMP (Linux, Apache, MySQL, and PHP). Facebook’s backend services are written in a variety of different programming languages including C++, Java, Python, and Erlang .