Mirrors or any means of splitting load?

Started by Raine, October 22, 2003, 02:32:58 PM

Previous topic - Next topic

Raine

Something I've been thinking about doing for a long time now is to have my forum run off of two servers... I'm hoping that with SMF my load will drop a lot, but various tech suppot reps have suggested that having 300-400 users constantly on a server is going to cause problems anyway ...

In that case, is it possible to have the forum mirrored?  Or basically having it share the CPU / MySQL load between two CPUs?  At two different hosts?

This is just a thought, but I'd like to hear some opinions on this...

Joshua Dickerson

sure, but it isn't something done by SMF. MySQL can do it. You can setup load balancers. I would test out what SMF does first.
Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

writeto

MySQL can accomplish this task, however, I would examine your hardware/software setup as  mirroring the website is costly in both bandwidth and storage.


David

Easiest solution is getting a more powerful server.  A Dual Xeon with SCSI drives and at least a gig of ram should do fine.
This space for rent.

Spaceman-Spiff

maybe you should host the images and css somewhere else
or would that be a bad idea?

treo

or just use a cluster of some coputers as your server

Ben_S

Easier said than done in most instances and not exactly cheap
Liverpool FC Forum with 14 million+ posts.

dschwab9

#7
Putting MySQL and apache on 2 separate servers would be a start, then you don't have a single CPU processing apache and MySQL requests at the same time.  You just have to make sure the 2 machines have a 100Mbps connection between then (preferably plugged into the same switch)  You could take it a bit further and have 2 Web servers with mirrored data accessing a single database server.  My observation from watching my server load is that it's about 25% MySQL and 75% apache, so you could probably run 3 web servers off of a single database server (assuming they are all the same CPU type)

Hosting the images and css on a separate server helps also.  I do this with my forum, and it helps page generation times, because you do not have as many httpd threads running simultaneously on the same server.

Advertisement: