From: Ezra Zygmuntowicz Date: 2007-11-17T05:44:51+09:00 Subject: Re: webrick alternative On Nov 16, 2007, at 5:23 AM, Michael Neumann wrote: > Michael Conrad schrieb: >> Hi, >> I'am looking for a small webserver running some ruby classes/ >> servlets. >> My first steps I was going with webrick, but the memory footprint >> is unacceptable for the target plattform. >> Anybody knows a *small* webserver, which is able to run some ruby >> code ? > > I'm currently embedding Ruby into nginx (www.nginx.net). It's not > yet done as I started yesterday and as I'm doing it for fun.... A > minimal worker process has ~2MB at the moment. I think it's > impossible to reduce this any more. > > My initial benchmarks (which doesn't say anything) showed it to be > at least 2-times as fast as mongrel. > > Regards, > > Michael > Michael- I'd love to play with ruby embedded in nginx. Care to have any testers? How are you dealing with the event driven nature of nginx when embedding the ruby interpreter? Do ruby requests block the entire worker process while they run? Cheers- -Ezra