[Rails] Rails (internals) architectural question
Joe Van Dyk
joevandyk at gmail.com
Sat Aug 12 06:13:28 GMT 2006
On 8/10/06, linux user <fanoflinux at gmail.com> wrote:
>
>
>
> 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.
It's *one* Ruby object.
When I go:
x = 5
in Ruby, that also creates one Ruby object.
Joe
More information about the Rails
mailing list