From: Tom Sawyer Date: 2002-07-10T09:01:16+09:00 Subject: Re: Help with Ruby and web i'm no expert on the merits of each, but i'm using mod_ruby with cgi (no eruby) eruby didn't seem very fast --pure ruby is faster. when using mod_ruby, if i am not mistaken, fast_cgi is a mute point. i am having much success with my mod_ruby/cgi project. great fun. (well, most of the time) i imagine for smaller projects though mod_ruby + eruby would do very well. eruby certainly make it easy to through together web pages. ~transami On Tue, 2002-07-09 at 16:07, VT wrote: > Thanks for the info, I will check into these. > > Venu > > "Torsten R�ger" wrote in message > news:3D2A93C8.7000504@firsthop.com... > > VT wrote: > > > > >Hi All, > > > I am a Ruby newbie, and so far I am loving it. > > > > > I'm quite new myself (also loving it) and haven't used any of this > > professionally. But playing around I found > > > > > > > >What should I use (mod_ruby | eruby | erb)? > > > > > > > mod_ruby + eruby took me a long time to set up. But if speed is a great > > concern then that's maybe what you'll have to do. I've heard stability > > rumours, but haven't experienced. But then I was just playing (no load) > > > > erb is sweet, small and sweet. You'll have it running in 10 minutes. Use > > with (fast)cgi or even ruby server if you can afford. > > > > I also tried fast_cgi (http://fenris.codedogs.ca/~eli/fastcgi.html). > > Fast-CGI is a protocol that sends request information to a (or several) > > running processes. (Thus avoiding the overhead of restarting ruby every > > time, and mybe more importantly removing you from the possibility of > > database connection reuse) > > The fastcgi module is old and stable and the ruby implementation worked > > fine for me. Together with erb a good alternative (IMHO) to the pure > > ruby way. > > > > Cheers > > Torsten > > > > > -- ~transami "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin