News for hackers. Stuff that matters.
Re:Phusion Passenger 5.0.1 “Raptor” Released by dang on Wednesday March 04, 2015 @03:59PM (#9147299)
Re:Phusion Passenger 5.0.1 “Raptor” Released by ForHackernews on Wednesday March 04, 2015 @12:24PM (#9145785)
I really like Passenger for my dev servers, because you can easily run both Ruby (Rails) and Python (WSGI) applications under it. I'm not aware of another mainstream app server that offers that flexibility.
Re:Phusion Passenger 5.0.1 “Raptor” Released by fleetfox on Wednesday March 04, 2015 @12:53PM (#9145993)
I'm not sure if you can call it mainstream but what about uwsgi?
Re:Phusion Passenger 5.0.1 “Raptor” Released by mrinterweb on Wednesday March 04, 2015 @01:40PM (#9146339)
Don't forget that you can also run Node.js apps on Passenger.
Re:Phusion Passenger 5.0.1 “Raptor” Released by bshimmin on Wednesday March 04, 2015 @01:25PM (#9146239)
And Node.js too.
Re:Phusion Passenger 5.0.1 “Raptor” Released by fny on Wednesday March 04, 2015 @01:31PM (#9146286)
Is the 4x performance improvement in all the charted benchmarks exclusively an enterprise benefit?

It would be really nice to a see comparison including both the open source and enterprise versions.

Re:Phusion Passenger 5.0.1 “Raptor” Released by cheald on Wednesday March 04, 2015 @01:36PM (#9146316)
It's because of Passenger's built-in short-term HTTP cache, which is included in the open-source version. That said, the performance gain from the charts is from caching; it's not going to make your Ruby code run 4x faster. Be sure you read https://blog.phusion.nl/2015/02/09/turbocaching-security-cha... to make sure you don't accidentally end up serving things from a cache that you intended to not be cached/shared.
Re:Phusion Passenger 5.0.1 “Raptor” Released by FooBarWidget on Wednesday March 04, 2015 @01:36PM (#9146313)
No, it is in open source.

Everything you read about is open source, unless explicitly documented as enterprise only.

Re:Phusion Passenger 5.0.1 “Raptor” Released by fny on Wednesday March 04, 2015 @01:43PM (#9146362)
So what about the hybrid concurrency model--specifically the multithreading, which seems to be enterprise only? Would one expect even higher throughput than what's shown in the charts?
Re:Phusion Passenger 5.0.1 “Raptor” Released by FooBarWidget on Wednesday March 04, 2015 @02:03PM (#9146507)
Multithreading is documented as enterprise only. Whether it helps throughput depends on your app's workload. If your app spends a lot of time waiting on IO, such as the database or external HTTP API calls, then yes it will likely improve throughput. Otherwise it won't improve throughput, though it can reduce memory usage.
Re:Phusion Passenger 5.0.1 “Raptor” Released by berfarah on Wednesday March 04, 2015 @12:58PM (#9146039)
Awesome, looking forward to their docker image with this. Using their images has made my projects a lot easier to bootstrap.
Re:Phusion Passenger 5.0.1 “Raptor” Released by fideloper on Wednesday March 04, 2015 @11:54AM (#9145560)
As a (primarily) developer who is also in the DevOps "space", I'm wondering if anyone knows Phusion's usage popularity over "rolling your own" (unicorn) or Paas (Heroku) usage?

The enterprise features seem really great, although per server charging is definitely in the Enterprise range of $$$ !

Re:Phusion Passenger 5.0.1 “Raptor” Released by mperham on Wednesday March 04, 2015 @12:38PM (#9145883)
People dramatically underestimate the amount of time necessary to support a complex project like Passenger. Phusion earns every dime of that Enterprise pricing.
Re:Phusion Passenger 5.0.1 “Raptor” Released by WillPostForFood on Wednesday March 04, 2015 @12:47PM (#9145950)
I think they built their popularity by being the first really easy way to use Rails with Apache. And by being a solid, well documented, easy to use product.
Re:Phusion Passenger 5.0.1 “Raptor” Released by subsection1h on Wednesday March 04, 2015 @03:28PM (#9147082)
Heroku and Passenger aren't mutually exclusive.[1] Heroku users must choose an app server. Heroku currently recommends Puma,[2] even for apps that aren't thread safe.[3] I don't know why they don't recommended Passenger.

[1] https://github.com/phusion/passenger-ruby-heroku-demo

[2] https://devcenter.heroku.com/changelog-items/594

[3] https://devcenter.heroku.com/articles/deploying-rails-applic...

Re:Phusion Passenger 5.0.1 “Raptor” Released by kolev on Wednesday March 04, 2015 @03:41PM (#9147189)
Great news, but I'm a bit disappointed that Debian/Ubuntu repo is not available on launch day.
Re:Phusion Passenger 5.0.1 “Raptor” Released by moe on Wednesday March 04, 2015 @01:14PM (#9146167)
...and it still doesn't log to syslog nor stdout?
Re:Phusion Passenger 5.0.1 “Raptor” Released by pastullo on Wednesday March 04, 2015 @11:25AM (#9145309)
worth upgrading from unicorn for a few thousands visitors per month?
Re:Phusion Passenger 5.0.1 “Raptor” Released by Xorlev on Wednesday March 04, 2015 @11:49AM (#9145520)
Nope. You'll be fine on whatever you're running on. Even Webrick.
Re:Phusion Passenger 5.0.1 “Raptor” Released by tinco on Wednesday March 04, 2015 @12:26PM (#9145795)
Just to be clear (not sure if you're kidding) but people use Passenger (and production application servers in general) not just because they meet some minimum throughput threshold.

Passenger takes care of keeping your application alive, makes sure slow clients don't break it, automatically handles concurrency and has low latency. That's just the basics, there's a lot of configuration options for the more serious deployments.

Re:Phusion Passenger 5.0.1 “Raptor” Released by Xorlev on Wednesday March 04, 2015 @12:59PM (#9146042)
Sure, but at a few thousand visitors a month that clocks in around one request every 10 minutes or so. I'm not saying they shouldn't use Passenger or another production app server (I use Unicorn fronted by nginx personally), but it'd honestly probably be fine with Webrick. I'm also not saying that Webrick is what they'd want to be on since it doesn't really have any supervision or real smarts.
Re:Phusion Passenger 5.0.1 “Raptor” Released by bryanlarsen on Wednesday March 04, 2015 @01:19PM (#9146197)
With that few requests, the wrong app server will terminate the process, meaning that every request will endure massive startup costs.

It also probably means that the server is on a $5 VM, so memory pressure is also a concern.

Re:Phusion Passenger 5.0.1 “Raptor” Released by mahouse on Wednesday March 04, 2015 @12:42PM (#9145913)
How does Passenger compare to unicorn? (I'm curious)
Re:Phusion Passenger 5.0.1 “Raptor” Released by wasd on Wednesday March 04, 2015 @01:15PM (#9146172)
Re:Phusion Passenger 5.0.1 “Raptor” Released by ohcoder on Wednesday March 04, 2015 @11:11AM (#9145178)
Cool!