4 ms·
Cloudflare used NGINX up until recently and that would be Google scale IMO
by bosch_mind 4y ago
Cloudflare used NGINX up until recently and that would be Google scale IMO
- donboscow 4y agoGood to know. Any idea why Google chose to use custom servers instead of opting for Nginx or Apache? Specially when Nginx offers excellent load balancing capabilities in-built?
- detaro 4y agoBecause their own can solve their problems better. Note that the Cloudflare reference is "used to" - just because you can use nginx at scale doesn't mean it's the best, and all such deployments aren't running stock nginx, and not nginx alone.
- donboscow 4y agoGot it. Thanks. Which servers are best suited to handle such high levels of load, and are available for free and open usage like Nginx or Apache is? I read that Apache has even more problems than Nginx.
- bosch_mind 4y agoNothing wrong with NGINX. Read Cloudflare post on Pingora. Different needs for different usecases where NGINX is more of an OOTB situation. NGINX is great. I see Caddy mentioned quite a bit, believe it’s written in Go where NGINX is written in C. Cloudflare wrote Pingora in Rust IIRC and I want to say they are releasing an open source flavor
- donboscow 4y agoHmm I read the post. Cloudfare handles almost 1 trillion requests per day, Google does that per year. However, the request types are different, Cloudfare handles a variety of requests like caching and forwarding, while Google requests are about serving complete web pages. May be for the webserver purpose like Google Nginx may suffice?
- ngetchell 4y agoI'm sorry but those numbers can't be right. Google Analytics is embedded in enough sites to hit a trillion hits a day.
- bosch_mind 4y agoCloudflare serves web pages bro because they proxy the bytes between servers from origin to eyeball
- donboscow 4y agoTBH, looks like Nginx has bunch of issues: https://www.youtube.com/watch?v=QbOAHkaFU6w&ab_channel=HusseinNasser https://www.youtube.com/watch?v=QbOAHkaFU6w&ab_channel=Husse...