4 ms·
Except the configuration is far simpler with Nginx. What's more, you can even couple this with upstream weighted loadbalancing or round-robin which is terribly
by eksith 13y ago
Except the configuration is far simpler with Nginx. What's more, you can even couple this with upstream weighted loadbalancing or round-robin which is terribly awkward without modules on Apache.
Edit: Not to mention sticky sessions per proxy which simplifies user management.
- gnaritas 13y agoSimpler, yes, that doesn't make Apache complicated. They're all simple. To say without modules makes no sense, modules are how Apache does features and the mod balance module makes all of that simple including sticky sessions. If you can write code, you can configure Apache easily.
- eksith 13y ago"Simpler, yes, that doesn't make Apache complicated. They're all simple." Didn't you just contradict yourself? How can it be simpler and all be simple? Simpler implies one is greater in simplicity so which is it? FWIW, we were running Apache 1.3 with patches on OpenBSD. For us, using the 2.x branch wasn't possible without staying atop the modules for code issues/vulnerabilities. Considering other client expectations, we didn't have the resources to audit everything like that. The fact that OpenBSD 5.2 included Nginx by default was a nice plus for us too, but we started the move before then.
- leephillips 13y agoWhere's the contradiction? He says that Nginix is simpler than Apache, which is also simple. "which is it?" He just said which one it was. I don't see how anyone could fail to understand this.
- gnaritas 13y ago> Didn't you just contradict yourself? No, I did not. > How can it be simpler and all be simple? Simpler implies one is greater in simplicity so which is it? Is English not your first language? I can choose 5 simple things, and then compare them to each other and say one is simpler. They're all still simple. > FWIW, we were running Apache 1.3 with patches on OpenBSD. For us, using the 2.x branch wasn't possible without staying atop the modules for code issues/vulnerabilities. Sounds like your OS was the real culprit for not keeping up with newer releases. Again, if Nginx works for you, great, you can promote that without putting down Apache which is quite simple and rock solid stable as well.
- eksith 13y agoInsulting me is a pretty poor way of being persuasive. And English is my first language, thank you. As someone who's apparently more fluent than I am in English, you should have noted that I'm not "putting down" Apache as much as showing that, out of the box, Nginx still is a better option than Apache. This isn't my opinion as much as it is empirically observed fact both in our environment as well as our clients' environments.
- gnaritas 13y ago> Insulting me is a pretty poor way of being persuasive. I didn't insult you, it was an honest question as I can't assume everyone here is a native English speaker and your confusion could have easily been a language thing. > And English is my first language, thank you. OK, great, then I don't know what was at all confusing about what I said. > Apache as much as showing that, out of the box, Nginx still is a better option than Apache. Such blanket statements are simply unsupportable. It depends entirely on the workload, needs, language, and configuration. Out of the box, Apache isn't configured for the process model that everyone complains makes it a pig.
- jafaku 13y agoYou have been downvoted, lol. This is the stupid HN system at work: Someone who doesn't understand English being a native speaker (simple vs simpler) can downvote you because he has "earned" that right, by submitting a gazillion articles with 1 point each.
- eksith 13y agoI didn't downvote anyone on this thread. In fact, you can't downvote anyone who has replied to you or anyone you're replying to you. Article submissions are for everyone to read whether they're voted for or not. I frequently browse /newest because I see articles that never make the front page, that I enjoy regardless and I want to share what I find interesting. While you're here, you may want to take a browse on the guidelines http://ycombinator.com/newsguidelines.html http://ycombinator.com/newsguidelines.html
- chc 13y ago> How can it be simpler and all be simple? Simpler implies one is greater in simplicity so which is it? Two feet is not very far to walk. Three feet is farther, but it is still not a great distance to walk. Two things can both be short/simple even if one is a bit shorter/simpler.
- na85 13y agoThere's no contradiction in his/her statement. You are just being obtuse
- oakaz 13y agoEither Nginx and Apache is pain in the ass to configure. No need to mention both have some unix challenges that you gotta solve for just starting to serve bunch of stupid shit. Have a look at boxcars