Invention Grant
- Patent Title: System and method for implementing cache consistent regional clusters
-
Application No.: US14846409Application Date: 2015-09-04
-
Publication No.: US09477598B2Publication Date: 2016-10-25
- Inventor: Yee Jiun Song , Philippe Vincent Ajoux , Harry C. Li , Jason Sobel , Sanjeev Kumar , Rajesh Nishtala
- Applicant: Facebook, Inc.
- Applicant Address: US CA Menlo Park
- Assignee: Facebook, Inc.
- Current Assignee: Facebook, Inc.
- Current Assignee Address: US CA Menlo Park
- Agency: Perkins Coie LLP
- Main IPC: G06F17/30
- IPC: G06F17/30 ; G06F12/08 ; G06F3/06

Abstract:
When multiple regional data clusters are used to store data in a system, maintaining cache consistency across different regions is important for providing a desirable user experience. In one embodiment, there is a master data cluster where all data writes are performed, and the writes are replicated to each of the slave data clusters in the other regions. Appended to the replication statements are invalidations for cache values for the keys whose values have been changed in the master data cluster. An apparatus in the master data cluster logs replication statements sent to the slave databases. When a slave database fails, the apparatus extracts the invalidations intended for the failed database and publishes the invalidations to a subscriber in the region of the failed database. The subscriber sends the invalidations to the local caches to cause stale data for those keys to be deleted from the caches.
Public/Granted literature
- US20150378894A1 SYSTEM AND METHOD FOR IMPLEMENTING CACHE CONSISTENT REGIONAL CLUSTERS Public/Granted day:2015-12-31
Information query