News for hackers. Stuff that matters.
Re:A Private PaaS with Mongrel2 and ZeroMQ by Loic on Saturday January 28, 2012 @10:08AM (#3522217)
Mongrel2 is still beta, but with a good process supervisor, it still way more robust than a RoR setup from the early days. Once in a while, it can die, I still need to instrument a bit more to track the conditions where this is the case.

On the other hand, ZMQ for the backend is just a pure pleasure and I haven't had a single failure of my components for more than 1 million real requests involving many ZMQ backend interactions.

Re:A Private PaaS with Mongrel2 and ZeroMQ by lfittl on Saturday January 28, 2012 @12:04PM (#3522532)
Interesting, my problems back then were actually ZMQ-related.

Though to be fair, we were making it a bit complicated by suspending/resuming the OpenVZ containers. From that we sometimes got dead ZMQ connections that were black holing all traffic (incredibly hard to debug - ended up switching because of it).

Re:A Private PaaS with Mongrel2 and ZeroMQ by zedshaw on Saturday January 28, 2012 @02:38PM (#3522980)
Yes, most of my crashes on the mongrel2 server I run come from ZeroMQ too. They fix them when I find them, but I actually run my servers under valgrind continually so I can catch them and report them.
Re:A Private PaaS with Mongrel2 and ZeroMQ by Loic on Saturday January 28, 2012 @01:17PM (#3522744)
OpenVZ is tricky, they are patching the kernel pretty deep and this creates a lot of hard to debug issues. I had a lot of troubles with containers running software mapping big files like MongoDB.