Skip to content

[QUESTION] How to prevent any data loss in Redis ? #14411

@Hackatosh

Description

@Hackatosh

Hello !

We currently use Redis Streams in a production setup. For high availability, we use Sentinel so we have 5 Redis instances alongside 5 sentinels.

Considering our application store sensitive medical data, data loss would be unacceptable.

It is not very clear in the documentation if there is a setup where we can prevent all data loss (I read https://redis.io/learn/operate/redis-at-scale/persistence-and-durability/persistence-options-in-redis & https://redis.io/docs/latest/operate/oss_and_stack/management/persistence/).

If we did not care about performance and use WAIT 5 0 after every write and appendfsync: always, is it still possible to lose data ? If yes, how ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions