Data synchronization (load balancing)

Hi, I have a problem:
upstream backend {
server 172.16.0.1:80;
server 172.16.0.2:80;
}
server {
listen 80;
server_name www.domain.com;
location / {
proxy_pass http://backend;
}
}
Now I have the model as above, but I don’t know can configure to sync
data between 2 servers? please, help me …

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,219113,219113#msg-219113

On Sat, Nov 26, 2011 at 10:21 AM, utkung [email protected] wrote:

       }
   }

Now I have the model as above, but I don’t know can configure to sync
data between 2 servers? please, help me …

Hardly an nginx problem, but whatever the backends are, use nfs for
the web space, or push your site code to every backend’s web space.
Database should be accessible on an internal network.


Stefan C.
http://scaleengine.com/contact
“People who enjoy having meetings should never be allowed to be in
charge of anything.”

I am a student, and are learning more about nginx.
you can explain about this? sorry my knowledge is too little

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,219113,219116#msg-219116

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs