I am in developing environment, so only one mongrel running..
am I the only one who has this problem? or is it normal to have 2 queries
for each gravatar icon?

2008/12/29 Steven A Bristol <[email protected]>

>
> On Sun, Dec 28, 2008 at 2:23 PM, kimoji <[email protected]> wrote:
> >
> > today I am doing eager loading.. however,
> > there are a 'select * from users where id = xx' and a  'select * from
> > profiles where id = xx'
> > queries generated by each icon..
> >
> > overall, let say with maybe 10 users'icons per page.. each page load
> > additional 10 x 2 = 20 queries
> > which slow the page loading by seconds..
> >
> > so..... how to get rip of these queries????
> >
> > plz help a noobie...thanks
>
>
> Is your application too slow? How many concurrent users do you have?
> What is your server configuration (processors/memory)? How many
> mongrels are you running?
>
> cheers,
> steven bristol
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Lovd by Less" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/lovdbyless?hl=en
Who loves ya baby?
-~----------~----~----~----~------~----~------~--~---

Reply via email to