News for hackers. Stuff that matters.
Re:Mongrel2 1.0 released. by jshen on Thursday September 02, 2010 @11:06AM (#1656351)
what your'e saying is that there isn't yet a compelling reason for most people to try it.
Re:Mongrel2 1.0 released. by mikeryan on Thursday September 02, 2010 @11:31AM (#1656447)
Sounds like there are a ton of compelling reasons to try it.
Re:Mongrel2 1.0 released. by jshen on Thursday September 02, 2010 @11:40AM (#1656495)
As someone who runs multiple sites and who doesn't have a major problem with apache, what here should compel me to try it?

Ragel parser? Um, why should I care if I'm not going to dig into the code myself?

because zedshaw is so fucking awesome? Not a compelling reason to try a web server to me, is it to you?

sqlite configuration? Maybe, but that's not super compelling to me at the moment.

despite my sarcasm, my question is sincere. I'm curious how mongrel2 could be an improvement over what is currently used, which for me is mostly apache

Any other reasons?

Re:Mongrel2 1.0 released. by zedshaw on Thursday September 02, 2010 @11:52AM (#1656554)
I'm a firm believer that if it ain't broke don't fix it. If you've got multiple sites working with Apache and you know how to keep that going smooth, then stick with that. Especially if you're doing small to medium sites in say PHP. PHP and Apache are kind of the king and queen of the realm.

What Mongrel2 has over Apache is it's ability to run async jssockets, HTTP long poll style work, and regular HTTP at the same time. If you hit an application where you want to do some async socket type stuff, that's when you should look at Mongrel2.

Of course, that's not all it does, but if you already love your Apache and it's crazy config file format and weirdo 1995 style syntax, then Mongrel2's only addition is the extra protocols.

Re:Mongrel2 1.0 released. by jshen on Thursday September 02, 2010 @12:01PM (#1656596)
thanks, that makes perfect sense. No, I don't love apache's crazy config file format, but I don't update the config often and it's mostly copy and paste when I need to add something new. It's rails with passenger which is pretty easy.

I'll definitely check out the async stuff, that is compelling!

Re:Mongrel2 1.0 released. by alexgartrell on Thursday September 02, 2010 @11:53AM (#1656560)
The name of the game is flexibility.

Configure your web server in any language you want (so long as it has sqlite bindings).

Serve your web pages from any back-end you want (so long as it has zeromq).

Has it turns out, zeromq and sqlite are low barriers to entry for any language.

You're right though, in that you can do all of this with apache, if you're willing to write the right config generator and install (or create) mod_*. Mongrel2 just makes it easy.

edit: Also, what zed said :)