Automattic was replacing the web server software that underpins its popular WordPress blogging platform, and things werenât going well.
This was 2008, and the company was intent on moving WordPress to software in line with its open source philosophy. The worldâs best-known web server, Apache, was the obvious choice, but when engineers started tinkering with the way the software was setup, Apache would crash, especially when WordPress was really busy. âWe realized that it wasnât super-stable under production traffic,â says Barry Abrahamson, a WordPress âsystems wranglerâ who helped manage the transition.
So Automattic pulled the plug on its Apache migration and bet the company on a then-unknown open source project called Nginx. Five years later, WordPress still runs on Nginx â" pronounced âEngine Xâ â" and so many others have followed suit.
At a time when the worldâs best-known web servers are losing marketshare, Nginx is growing, fueled by a no-frills philosophy and its knack for handling myriad web connections at the same time. Apache is still the king of all web servers, but use of Nginx has nearly doubled over the past two years, according to internet research outfit Netcraft.
It now runs about 15 percent of all websites, including everyone from startups such as CloudFlare and Parse (bought by Facebook earlier this year) to web giants such as Automattic and Netflix. âWe use it for everything,â says Automatticâs Abrahamson. âWe run as much of our software stack as possible on top of Nginx.â
In many ways, itâs an unlikely success story, but one that underscores the global power of open source software, software that anyone can use and modify â" for free.
Nginx was created as a pet project by a Russian systems administrator named Igor Sysoev. The 42-year-old started work on the project in 2002, and the first public code came out that October. Like many open source project leaders, he was trying to scratch an itch. At the time, he worked for Rambler, a fast-growing Russian internet portal, and he needed a server that could handle more traffic than the open source alternatives.
As he developed Nginx, he was able to test the code on Ramblerâs web properties. But that wasnât where it first went live. It got picked up first by the MP3 download site, Zvuki, â" that was back in 2003 â" then an Estonian online dating service and finally it powered Ramblerâs own photo-sharing site.
By 2005, there were maybe 100 users, but it was hard for English speakers to figure out how to get up and running. Most of the projectâs documentation was in Russian and so was the its most active discussion list. But in 2006, Engish speakers started posting to Ngnxâs discussion list, even as Russian language speakers in the U.S. and other countries helped the project spread, sharing configuration files on blogs and helping to translate the complex documentation so others could pick it up.
When sites like YouTube and Facebook started taking off, Nginx remained obscure, but it was perfectly positioned for the next generation of internet companies, and by the end of decade, it was roping in companies like Automattic and CloudFlare.
In 2009, CloudFlare was building a company that sold websites protection from cyber attacks and services that sped up their performance, and it needed web server software that would work with modern machines that used multi-core processors â" computer chips that behave like many chips. According to CloudFlare CEO Matthew Prince, Nginx worked better on multi-core and multiprocessor systems, and it could connect with many more web clients without overwhelming the computerâs memory.
Would they have considered obscure Russian software if they hadnât been able to examine the source code? âNever in a million years,â Prince says. âIf it hadnât been open-source, we wouldnât have trusted it.â
Instead, CloudFlare offered Sysoev a job (he declined) and bet the company on the project. Today, the company serves more than 1 trillion web requests per month using Nginx. âThe great thing about tech is great tech rises to the top,â says Prince. âIf it solves the problem⦠and if itâs open source, you can go in and read the source and, worst-case, you can change it.â
Today, Nginx is particularly popular among startup like CloudFlare. According to Netcraft, Nginx accounts for more than 40 percent of the 12 million websites that run on Amazonâs cloud computing service, which is a mainstay in the startup world. A lot of this growth has come at the expense of Apache, which, like Microsoftâs IIS web server, was created back in the 1990s â" back when web servers were powered by much simpler chips and operating systems.
Sysoev was serving a real need. âThe problem he was solving was really common. It wasnât really a Russian problem,â says Andrew Alexeev, director of business development at Nginx. âEverything started to transition more and more to online services, and that meant a bigger number of users per server and more complex architectures.â
After Automattic switched to the platform in 2008, founder Matt Mullenweg sent Sysoev an unsolicited donation of $3,500. âLet me know if I can do anything to help,â he wrote. âIt is very well done.â
Thatâs when Sysoev says he knew the project had hit the big time. âIt was the largest donation I ever saw,â he remembers.
Two years ago, he quit his job at Rambler, and now â" with investors including Michael Dellâs MSD Capital â" heâs chief technology officer at a newly formed company that aims to sell a souped-up version of Nginx to corporate users. Last month, the company introduced their first commercial product: Nginx Plus. After more than a decade of development and 100 million web sites, Sysoev is finally ready to cash in.
No comments:
Post a Comment