[Mongrel] Mongrel performance study

James Tucker jftucker at gmail.com
Tue Apr 8 08:18:43 EDT 2008

On 8 Apr 2008, at 08:20, Zed A. Shaw wrote:
> I don't think it's unix sockets vs. ip sockets.  These days those
> aren't really that much faster than a localhost connection thanks to
> advancements in performance for internal IPC.
> Still, 4% increase for all that work done in Thin is kind of lame.
> These kinds of results keep bringing me back to the real problem:
> Ruby.  It's not what IO loop you use, or threading model, or socket
> type, but more just that Ruby is slow and it's processing sucks.

I believe this is all correct, however there are other advantages to  
unix sockets for certain setups. They're easier to secure (this is not  
always relevant, but it can be). In some scenarios they can be easier  
to manage too (you can glob them, it's harder to 'glob' using  
netstat). I know that was a discussion about performance, this is just  
my $0.02 :-)

More information about the Mongrel-users mailing list