Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
i have a problem , can you help me to resove it ?

- I have two servers A and B , in server A i store database and other apps but sometime he downs
--> so i want to set up Node.js in server B and write a program to get data from Server A
so , how can i do ?
thank !
Posted
Comments
Mohibur Rashid 21-May-12 0:31am    
Why cant you do it in php?
loctrice 21-May-12 17:05pm    
I'm not sure what you mean by "get data from Server A". Are you wanting to keep the data in sync so server B can answer when server A is down? Or are you wanting to use server B to get the data from server A (won't you have the same problem in this case if A is down?)
thuanleminh 22-May-12 2:29am    
Yes loctrice !
i want to get data from server A and then keep it in server B
loctrice 22-May-12 9:06am    
what database are you using? MySQL , for instance, can be set to sync up to a slave database. Either way, I would recommend a linux process rather than an application/coding one. (at least I think that would be easier).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900