PDA

View Full Version : load balancing help!


Ramzesik
04-26-2010, 02:30 PM
on my forum now Currently Active Users is ~3500+

I alredy have 2 server.
On first face, nginix+httpd(apache)
second is mysqldb.

Face proccesor load is 100%
i have new face-2 server, and plannig proxy with nginx

how I do file sharing beetwing face-1 and face-2

any solution?

Angel-Wings
04-27-2010, 03:51 AM
Rsync, Fuse-Sshfs, AFS or something similar might do it.

Another alternative is storing attachments in the DB and setting up a replica

Ramzesik
04-27-2010, 08:41 AM
Rsync, Fuse-Sshfs, AFS or something similar might do it.
Another alternative is storing attachments in the DB and setting up a replica


now daatabase 16G if I relocate attachment in db ..... mysql will die();

rsync wery slow, ~30 minuts
now i see one way use nfs (

DaiTengu
04-29-2010, 09:05 PM
As long as you're not reading/writing at a high rate, there's no reason NFS shouldn't work. I've used it on plenty of multi-server setups with no problems.