frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Why is Apache still popular even as Nginx has proven its mettle on performance?

3•pyeri•2h ago
As I understand, the popular consensus today is that nginx+php-fpm performs faster than apache even with the mpm_event process management enabled?

But when it comes to real world usage, many production instances I observe these days still deploy apache a lot. Even cpanel based web hosting (shared or dedicated instances) are more often apache based than nginx.

Is it due to some old habits and dependence on apache specific features like .htaccess support? Or is it the case that apache has actually caught up in the race with ngnix and the performance difference is quite negligible these days?

Comments

warmax356•2h ago
old habits, documentation and just lazy practices like using it out of the box, I personally used Apache, nginx and OLS and lately been leaning more and more on open-light-speed for the fact that it can handle more traffic on less resources
tell_me_whai•2h ago
I think a lot of people take a "If it ain't broke don't fix it" approach to these things. Breaking a reverse proxy can be catastrophic
blueflow•1h ago
If you are a company who does some non-IT thing, it makes sense to stick to the LAMP stack because it has the largest and most thorough knowledge bases online.
stefanos82•1h ago
The only logical explanation I can think of based on my personal experience is that shared hosting services offer Apache web server by default so they can host WordPress websites which by the way, based on w3techs.com, 43.1% of all websites are WordPress.

You may ask why Apache then? Well, because when a user modify some settings via dashboard, they change in .htaccess which does not expect a web server restart or super user permissions like you need with NGINX, for example.

Now you know why WordPress websites are getting hacked easier than other CMS-es...because they can apply changes in .htaccess on the fly, whereas with other web servers, you need root permissions, thus the extra layer of security.

perrygeo•7m ago
A recent contract job of mine used Apache because they had written a critical component of their application as an Apache module. 10 years ago. There isn't much incentive to change it.

When people ask these questions, do they think people are actively choosing to use the old technology? That's a huge misunderstanding. It's not an apache vs nginx decision. It's do nothing vs spend precious time on a side quest to upgrade. Opportunity cost is your answer.

And re: performance, keep in mind that very few applications are limited by the speed of their HTTP server. You first look at your application servers, networks, disks, databases. If your app is truly HTTP-bound, well you're probably not still using Apache! IOW the people who NEED to upgrade from apache for performance reason already have. For the rest, there is no incentive.

mbrock•48s ago
If you've already gotten used to one custom ad hoc confusing configuration language...

When Edges and Vertices Were Discovered

https://www.realtimerendering.com/blog/when-edges-and-vertices-were-discovered/
1•ingve•20s ago•0 comments

Ancient Roman Glass Reveals a Hidden "Language"

https://nautil.us/ancient-roman-glass-reveals-a-hidden-language-1247932/
1•DrierCycle•1m ago•0 comments

So you want to build AI Agent group chat like OpenAI?

https://zknill.io/posts/how-to-build-ai-group-chat/
1•zknill•4m ago•0 comments

How to Tolerate Annoying Things

https://psyche.co/guides/how-to-respond-to-annoying-things-with-greater-ease
1•zdw•4m ago•0 comments

Boomers Are Passing Down Way, Way Too Much Stuff

https://www.bloomberg.com/news/features/2025-11-14/millennials-gen-x-set-to-inherit-boomers-antiq...
1•zdw•5m ago•0 comments

Tree.fm

https://www.tree.fm/
1•bookofjoe•8m ago•0 comments

We avoided side-channels in our new post-quantum Go cryptography libraries

https://blog.trailofbits.com/2025/11/14/how-we-avoided-side-channels-in-our-new-post-quantum-go-c...
1•ingve•13m ago•0 comments

Free $150 worth of Claude credits (not spam)

https://megallm.io/ref/REF-O0UU2J7R
1•freakynit•20m ago•0 comments

An unemployed gentleman scholar (2010)

https://robertedgar.wordpress.com/2010/05/04/an-unemployed-gentleman-scholar/
1•kkoncevicius•20m ago•0 comments

tRPC: End-to-end typesafe APIs made easy

https://trpc.io/
1•edweis•22m ago•0 comments

Waymo Was on a Roll in San Francisco. Then One of Its Cars Killed a Cat

https://www.nytimes.com/2025/11/15/us/waymo-san-francisco-kit-kat.html
2•donohoe•25m ago•0 comments

Opensource.Builders – find and build open-source alternatives

https://opensource.builders
1•theturtletalks•29m ago•0 comments

Transaction-Oriented Programming

https://btmc.substack.com/p/transaction-oriented-programming
1•sirwhinesalot•29m ago•0 comments

Debian 13.2 Released

https://www.debian.org/News/2025/20251115
3•midzer•30m ago•0 comments

Ask HN: Anyone have the pptx understanding deep learning Simon j.d. prince

1•kwoii•31m ago•0 comments

We Optimize RocksDB in TiKV – The Battle Against the DB Mutex

https://medium.com/@siddontang/how-we-optimize-rocksdb-in-tikv-part-1-the-battle-against-the-db-m...
2•ngaut•32m ago•0 comments

The Death of Government Tax Filing

https://www.wsj.com/opinion/irs-ends-direct-file-treasury-department-tax-filing-bill-cassidy-eliz...
1•fortran77•32m ago•0 comments

Show HN: MapScraper – Extract local business data from Google MAPS in seconds

https://mapscraper.co/
1•ivanramos•32m ago•0 comments

The Classical Chess Starting Position Is Not Ideal. Its Rating Is Below Average

https://chess960v2.com/en
2•lavren1974•33m ago•0 comments

A Nerd's Peculiar Patterns

https://number-garden-preshow.netlify.app/
1•cpuXguy•34m ago•0 comments

TypeScript X Perl

https://andrews.substack.com/p/typescript-x-perl
1•andrew_rfc•35m ago•0 comments

Direct tensor processing with coherent light

https://www.nature.com/articles/s41566-025-01799-7
1•westurner•36m ago•0 comments

How does the UK keep the lights on with 12 GW at risk of retirement by 2030?

https://watt-logic.com/2025/11/14/ccgt-retirement-risk/
2•mike_hearn•38m ago•0 comments

Hybrid Work Productivity Strategies That Transform Remote Teams in 2025

https://intelligentfuturetech.com/blog/hybrid-work-productivity-strategies-2025/
1•ift•40m ago•1 comments

Suicide Attempt by Means of Aspirin Enema

https://journals.sagepub.com/doi/10.1177/106002809402800409
2•Eridanus2•40m ago•0 comments

Ask HN: Architecting audit-grade ESG platforms – AI assistants vs. human CTOs

2•Jayeshkumbhar•42m ago•1 comments

Is ChatGPT and OpenAI Stealing Ideas?

https://medium.com/@klaudibregu/is-chatgpt-and-openai-stealing-ideas-does-it-have-the-right-to-do...
2•trilogic•43m ago•1 comments

Iran judiciary calls for tougher stance on 'social anomalies'

https://www.arabnews.com/node/2622701/middle-east
1•mhb•44m ago•0 comments

Argusee: A Multi-Agent Architecture for Automated Vulnerability Discovery

https://www.darknavy.org/blog/argusee_a_multi_agent_collaborative_architecture_for_automated_vuln...
1•uneven9434•44m ago•0 comments

Anthropic partners with Iceland to deploy Claude in schools nationwide

https://aibusiness.com/foundation-models/iceland-claude-schools-ai-pilot
1•geox•48m ago•0 comments