[Rails] Rails (internals) architectural question
linux user
fanoflinux at gmail.com
Thu Aug 10 15:28:41 GMT 2006
On 8/10/06, Jeremy Kemper <jeremy at bitsweat.net> wrote:
>
> On Aug 9, 2006, at 6:28 AM, linux user wrote:
> > I understand that reloading happens in Development to reload any
> > source code changes and it doesn't happen in production. And I am
> > not talking about reloading entire framework (the CGI approach) but
> > My question is that if a new instance of the controller is created
> > for each request, that in itself would be a performance overhead,
>
> Yes, it is. I just couldn't believe that was your concern :)
The only reason this was a concern because questions like this will be
raised when I make my case of using RoR instead of Java/Struts to the
architectural review board of the company I work for.
> when compared to a multi-thread model of Java servlets in which
> > there is only one instance of the servlet which serves all requests.
>
> Please look into Mongrel or WEBrick handlers if you wish to pursue
> the servlet model.
> Are you aware of any performance comparisons between Java Servlets
> > and Rails Controllers?? would be interesting to see how Rails fares
> > in comparison to Java Servlets.
>
> I haven't, sorry.
>
> jeremy
> _______________________________________________
> Rails mailing list
> Rails at lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060810/74749d25/attachment.html
More information about the Rails
mailing list