Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [cwi] Server Overloaded - How to scale up?

Quote Reply
Re: [cwi] Server Overloaded - How to scale up? In reply to
Hi,

Just some thoughts on this subject.

First off, don't do anything until you understand the problem. It's worth getting a consultant (or us) to spend half an hour to look at your system and identify where the bottleneck is. There could be a number of possible reasons such as: a bad global that is doing an unoptimized sql call, a misconfigured mod_perl/apache server, a single cgi that could be optimized to be faster, insufficent hardware, missing perl modules, etc. It's important to get someone to determine exactly what the bottleneck is, otherwise you can be improving things needlessly (splittling a site onto two servers when really it could have been handled fine on one for example).

Some common ways to scale your Links SQL install as you get more and more traffic:

1. Move to mod_perl. Set this up properply as a dual apache solution, don't use a single apache with mod_perl enabled or you will quickly run your machine out of memory. This will be your largest performance improvement, and allow you to get more traffic out of a single machine.

2. Move mysql to a separate machine. This would only be recommended on a large directory (> 100,000 links), as small directories do not use much in the way of mysql resources.

3. Move mod_perl to a separate machine. Leave a single machine to handle all image, html requests, and setup apache to proxy all mod_perl requests to the second machine seamlessly.

Hope this helps, and if you have any questions, don't hesitate to ask.

Cheers,

Alex
--
Gossamer Threads Inc.
Subject Author Views Date
Thread; hot thread Server Overloaded - How to scale up? cwi 5712 Feb 4, 2003, 12:57 PM
Thread; hot thread Re: [cwi] Server Overloaded - How to scale up?
Paul 5616 Feb 4, 2003, 1:20 PM
Thread; hot thread Re: [Paul] Server Overloaded - How to scale up?
cwi 5557 Feb 4, 2003, 1:32 PM
Thread; hot thread Re: [cwi] Server Overloaded - How to scale up?
Paul 5533 Feb 4, 2003, 1:38 PM
Thread; hot thread Re: [Paul] Server Overloaded - How to scale up?
cwi 5509 Feb 4, 2003, 1:47 PM
Thread; hot thread Re: [cwi] Server Overloaded - How to scale up?
Paul 5549 Feb 4, 2003, 2:27 PM
Post; hot thread Re: [Paul] Server Overloaded - How to scale up?
cwi 5516 Feb 4, 2003, 2:54 PM
Thread; hot thread Re: [cwi] Server Overloaded - How to scale up?
pugdog 5527 Feb 4, 2003, 2:44 PM
Post; hot thread Re: [pugdog] Server Overloaded - How to scale up?
cwi 5526 Feb 4, 2003, 2:56 PM
Thread; hot thread Re: [Paul] Server Overloaded - How to scale up?
cwi 5497 Feb 4, 2003, 3:20 PM
Thread; hot thread Re: [cwi] Server Overloaded - How to scale up?
Paul 5516 Feb 4, 2003, 3:25 PM
Thread; hot thread Re: [Paul] Server Overloaded - How to scale up?
cwi 5493 Feb 4, 2003, 3:33 PM
Post; hot thread Re: [cwi] Server Overloaded - How to scale up?
Paul 5464 Feb 4, 2003, 3:35 PM
Thread; hot thread Re: [cwi] Server Overloaded - How to scale up?
BM 5488 Feb 4, 2003, 11:35 PM
Post; hot thread Re: [BM] Server Overloaded - How to scale up?
cwi 5421 Feb 5, 2003, 2:20 AM
Thread; hot thread Re: [cwi] Server Overloaded - How to scale up?
webmaster33 5455 Feb 4, 2003, 5:38 PM
Thread; hot thread Re: [webmaster33] Server Overloaded - How to scale up?
cwi 5444 Feb 5, 2003, 2:22 AM
Thread; hot thread Re: [cwi] Server Overloaded - How to scale up?
webmaster33 5436 Feb 5, 2003, 10:26 AM
Thread; hot thread Re: [webmaster33] Server Overloaded - How to scale up?
cwi 5439 Feb 5, 2003, 2:55 PM
Thread; hot thread Re: [cwi] Server Overloaded - How to scale up?
webmaster33 5443 Feb 5, 2003, 3:09 PM
Thread; hot thread Re: [webmaster33] Server Overloaded - How to scale up?
cwi 5477 Feb 5, 2003, 3:17 PM
Post; hot thread Re: [cwi] Server Overloaded - How to scale up?
klangan 5417 Feb 7, 2003, 11:43 AM
Post; hot thread Re: [cwi] Server Overloaded - How to scale up?
cwi 5365 Feb 9, 2003, 3:26 AM
Post; hot thread Re: [cwi] Server Overloaded - How to scale up?
Alex 5387 Feb 7, 2003, 12:43 PM