If it is a problem with your db server reaching its limit, you may be
able to optimize your queries to reduce the number required for each
request.

On Oct 9, 9:22 am, heimdull <fre...@cfandersen.com> wrote:
> If the system slows down because of the amount of users you will need
> more horsepower or limit the amount of concurrent users that use the
> system. In apache you can set the MaxClients setting if you are using
> a worker MPM. But you need to find where the bottleneck is so that you
> can fix it.
>
> I like to start with the database first. Tune the database to the max
> then look at rails then if you still have issues start limiting at
> Apache or upgrade/add servers.
>
> On Oct 9, 8:48 am, sax <s...@livinginthepast.org> wrote:
>
>
>
> > There's a great screencast series named "Scaling Rails" that may give
> > you ideas.
>
> > But yeah, as the previous poster implies, your problem could be
> > anywhere. You may want to try to identify where the main bottleneck is
> > in your application (whether it's the rails server or the db server)
> > and how you can optimize your code or your deployment to reduce the
> > load.
>
> > On Oct 9, 7:38 am, Ilan Berci <rails-mailing-l...@andreas-s.net>
> > wrote:
>
> > > Maurício Szabo wrote:
>
> > > > How to protect against these cases?
>
> > > > Thanks in advance,
> > > > Mauricio
>
> > > Advise administration that they will need to cut down on the number of
> > > students they enroll each year.
>
> > > It that doesn't appeal to you, then please resubmit your post with a
> > > little more information including but not limited to caching details,
> > > profile results, cluster design, deployment(s), memcache, etc..
>
> > > hth
>
> > > ilan
>
> > > --
> > > Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to