From: James Tucker Date: 2008-04-01T23:03:45+09:00 Subject: Re: Simple and stable web server? Is there any? On 1 Apr 2008, at 13:15, Alexey Petrushin wrote: >> There are plenty of small, fast and stable web servers. tinyhttpd, >> lighthttpd and they all can call ruby via CGI or even FastCGI. > Yes, but they are written not in ruby, so there always will be some > questions with deployment. Ind i gues there will be always question in > multi-platform deployment. mongrel ebb thin webrick all can be used with rack to make the interface simpler... > Probably late in production i switch to JRuby and Tomcat. But right > now > i need simple and fast development, not performance. Use rack, it will likely save you pain in the future. >> If you find CGI 'complex' then I'm afraid no one can help you, have >> you >> considered PHP :) > :) really i'm from java world, and about two month with ruby, trying > to > use it for one new project. > No, for sure CGI isn't the choice, it's too old and low level. no further comment on web servers... Session management is not a web server function, really. I mean, sure, it handles the headers etc, but it's very app specific as all of that stuff is not in the required portion of the spec. Anyway, take a look here: http://macournoyer.wordpress.com/2008/02/09/the-flexible-thin-anorexic-gymnast-that-democratized-deployment/ You should find that a modern, easy to use ruby dsl powered setup for your server needs. HTH