SYSTEMS, METHODS, AND MEDIA FOR IMPLEMENTING CONFLICT-FREE REPLICATED DATA TYPES IN IN-MEMORY DATA STRUCTURES

    公开(公告)号:US20220121627A1

    公开(公告)日:2022-04-21

    申请号:US17506162

    申请日:2021-10-20

    Applicant: Redis Ltd.

    Abstract: Mechanisms, including systems, methods, and non-transitory computer readable media, for implementing conflict-free replicated data types in in-memory data structures are provided, the mechanisms comprising: a memory; and at least one hardware processor coupled to the memory and collectively configured to: mark a first key of a conflict-free replicated data type as to be deleted; send an update message reflecting that the first key is to be deleted to a first replica of an in-memory data structure; receive a plurality of messages each acknowledging that the first key is to be deleted; determine that the plurality of messages includes a message for each of a plurality of shards of the first replica; and in response to determining that the plurality of messages includes a message for each of the plurality of shards of the first replica, delete the first key.

    METHODS, SYSTEMS, AND MEDIA FOR CONTROLLING APPEND-ONLY FILE REWRITES

    公开(公告)号:US20220027242A1

    公开(公告)日:2022-01-27

    申请号:US17493366

    申请日:2021-10-04

    Applicant: Redis Ltd.

    Abstract: Methods, systems, and media for controlling append-only file rewrites are provided. In accordance with some embodiments, the methods comprising: determining a utilization of a shard of a database; determining whether the utilization exceeds a persistent storage utilization threshold; determining a recovery time to recover the shard from an append-only file; determining whether the recovery time exceeds a recovery time threshold; and when the utilization is determined to exceed the utilization threshold or when the recovery time is determined to exceed the recovery time threshold, causing an append-only-file rewrite to be performed.

Patent Agency Ranking