From: x1 Date: 2006-11-28T12:57:47+09:00 Subject: Re: Two Advanced Ruby Performance Questions I have a few questions(just curious): 1) How many users will there be? 2) Will it be internal or external? (internet or intranet) On 11/27/06, Eric Hodel wrote: > On Nov 26, 2006, at 1310 , Sunny Hirai wrote: > > [edited slightly] > > > I want to [...] define many classes without having to > > worry about the overhead of having them defined at runtime for every > > page request. > > This is done using FastCGI, SCGI or similar with persistent ruby > processes. > > > QUESTION 2 > > > > I've found a lot of documentation on ERB but a lot less on eRuby. All > > the documentation I have found on eRuby has it executing from the > > command line or through a web server plugin, usually through > > Apache. Can > > eRuby be called from inside Ruby to do parsing? I ask this because > > eRuby > > seems like it would execute faster seeing it is built using C. > > ERB and eRuby both generate ruby code which is then executed. If you > cache the generated code it won't make a difference (in the long run) > which one you use. > > -- > Eric Hodel - drbrain@segment7.net - http://blog.segment7.net > This implementation is HODEL-HASH-9600 compliant > > http://trackmap.robotcoop.com > > > >