Automatic cross-data center rotation of active processes
摘要:
Techniques for rotating leadership among processes in multiple data centers are provided. A first process of a program in a first data center determines whether the first process is a leader process among multiple processes of the program. Each process of the multiple processes executes in a different data center of the multiple data centers. In response to determining that the first process is the leader process, the first process performs a particular task. After performing the particular task, the first process causes leadership data to be updated to indicate that the first process is no longer the leader process. After the leadership data is updated, a second process (of the multiple processes) in a second data center determines whether the second process is the leader process. The second process performs the particular task only if the second process determines that the second process is the leader process.
公开/授权文献
信息查询
0/0