7 ms·
Nginx 1.3.0 is out
- pavs 15y agoRunning Ubuntu 11.04 with nginx 0.8.4 how do I upgrade to stable (1.2.0) without screwing my whole setup (multiple sites + varnish + php-fpm + memcache)?
- shtylman 15y agoAnd still no websockets. Makes me sad inside :(
- bpierre 15y agoIt’s planned for 1.3.x: http://trac.nginx.org/nginx/milestone/1.3 http://trac.nginx.org/nginx/milestone/1.3
- tomku 15y agoIt's important to note that this is a development release, something that's not immediately apparent from the linked page. This does not replace or obsolete 1.2.0 that came out last month and it is not intended for production use. Rather, it's the first release of the new development branch that parallels 1.2.0 and will hopefully see WebSocket support added as a feature soon.
- overshard 15y agoI still see no SPDY, looks like it's still planned though.
- getsat 15y agonginx 1.3.0 isn't actually out, and they weren't actually targeting 1.3.0 for SPDY support according to this: http://trac.nginx.org/nginx/roadmap http://trac.nginx.org/nginx/roadmap
- hackermom 15y agoLooking forward to a day when I can give Nginx another try when its feature set has matured in more directions. Its unfortunate lack of fine-grained versatility in some areas of configuration forced us to stick with Apache's httpd after trying to replace an old Apache setup with Nginx - everything looked much better in terms of resource efficiency, until we hit the problem of simply not being able to translate a few specific configuration scenarios from Apache to Nginx, forcing us to deem Nginx as a definite no-go for our case.
- hackermom 15y agoDid I hit a nerve of some zealous Nginx user when mentioning the fact that Nginx isn't a silver bullet? :) I'm sure you can downvote this comment, too! Knock yourself out!
- deleted 15y ago[deleted]
- hellweaver666 15y agoI think it's because you didn't expand on the problems you experienced sufficiently.
- elithrar 15y ago> Did I hit a nerve of some zealous Nginx user when mentioning the fact that Nginx isn't a silver bullet? :) I'm sure you can downvote this comment, too! Knock yourself out! I don't believe the comments had anything to do with being a zealot, but instead a curiosity: being HN, it is useful to know why a user made a technical decision. If you could elaborate on the problem, you're much less likely to get downvoted.
- mhurron 15y agoNo you just gave a handwave "Nginx is not all that" without supporting the assertion. You would get the same response posting "Nginx is the greatest thing since sliced bread and you should ditch httpd."
- jiggy2011 15y agoQuestion: Is there any advantage to using nginx over apache if you are not hosting a huge traffic website that uses lots of long polling etc?
- EwanToo 15y agoIt depends is the only honest answer. However, personally I find it uses less memory, which if nothing else frees up space for other processes
- jiggy2011 15y agoPhrased another way, if Apache's performance is adequate are there any non-performance advantages to nginx?
- zzzcpan 15y agoNo.
- powersurge360 15y agoWell, I'd argue that configuration is nicer with nginx than with apache if you're running something other than php. But the trade off there is nginx only has centralized config whereas you can do .htaccess stuff with apache, so meh.
- untog 15y agoTrue. But if you already have your Apache configs complete then it might not be worth switching at this point.
- billpatrianakos 15y agoNot really. The standard "it depends" answer usually doesn't take personal preference and choice of language into account though. I'm used to seeing the Apache or Nginx question framed in a way that's all about performance but performance isn't everything. Nginx configuration will probably feel a little foreign to you because you're used to Apache. There's a bit of a learning curve with Nginx too. Apache modules are something I feel are important and Nginx doesn't really have anything comparable that just works out of the box. Nginx has a large community and good docs so its not like it's hard to Google your way through any issues that crop up bit Apache has more because it's so damn common. So the more obscure the issue the harder it'll be to find the answer compared to Apache. But then again some platforms work better with and are partial to Nginx. The Rails community is one that I can think of that seems to put a lot of effort into making it easy to run Rails apps on Nginx out of the box. I'd argue that they actually put more effort into supporting Nginx out of the box than Apache. I've heard it's easier to get multiple SSL sites working in Nginx than it is with Apache so if that's important I might look into it. I think your background is also a factor. I'm not a server guy. I'm a programmer. I write code, put it on a server and would prefer not to get into too much detail with the server configuration. So to me, Apache feels like the better choice because any time I want to use a new framework or anything that's going to run on the server the docs are always written in a way that assumes you use Apache. It's rare that I see setup instructions that include Nginx configurations too. One exception is Passenger which goes out of its way to show you how to use it on both Apache and Nginx. I'm sure that my reasons for choosing one over the other aren't relevant to hardcore server people because they're far more well versed in how server software works than a front end dev or even a backend dev. I also want to point out that while Nginx is fast out of the box you can still get comparable performance out of Apache. You just have to do a little homework and get your hands dirty in the confit files. I hope my answer wasn't perceived as saying one is better than the other. I just wanted to expand on the standard "it depends" answer because a need for speed and your site's traffic are just the tip of the iceberg.