Home > other > How many sets of web server data synchronization
How many sets of web server data synchronization
Time:10-05
RT, such as domestic large site taobao, baidu, tencent, sina and other large web site must have a server in every region across the country, they each server data is how to achieve synchronization? What is the specific steps? And different areas access to different server computer room, such as jiangsu area access baidu is visiting Shanghai server, the beijing-tianjin wing user access is Beijing server, this is how to implement? It is better for concrete implementation method! Wish you eldest brother elder sister can tell, I really appreciate!
CodePudding user response:
Synchronization is on each server insert data line ah, because he has multiple copies, so each server to do the same action line)
Different regional access server is doing, there is a primary server to determine which will request to the server, such as judging the primary server is now working in Beijing, the less the next access server by Beijing to deal with
CodePudding user response:
Personal think, if is the cluster, can be done by Shared storage, if it is a long distance, is likely to be the CDN to accelerate the synchronization