-
公开(公告)号:US20210397599A1
公开(公告)日:2021-12-23
申请号:US16905813
申请日:2020-06-18
Applicant: NETFLIX, INC.
Inventor: Daniel WATSON , Arun AGRAWAL , Charles SMITH
IPC: G06F16/23 , G06F11/14 , G06F16/174 , G06F16/178
Abstract: In various embodiments, a consistency application constructs a consistent view of an eventually consistent database. The consistency application determines multiple backup files that are associated with at least one datacenter included in the eventually consistent database and extracts aggregated data from the backup files. The consistency application performs compaction operation(s) on the aggregated data to generate compacted data. Notably, the aggregated data includes at least two replicas for each data item stored in the eventually consistent database, whereas the compacted data includes a different consistent data item for each data item stored in that eventually consistent database. The consistency application generated the consistent view of the eventually consistent database based on the compacted data. Because the consistency application generates the consistent view based on backup files and does not access the eventually consistent database, generating the consistent view does not adversely impact the performance of the eventually consistent database.