Skip to content

rethink: figure out how to deal with unreliable changefeed #269

@aeneasr

Description

@aeneasr

This is an upstream issue: rethinkdb/rethinkdb#4133


Apparently, the rethinkdb changefeed is not reliable and deletes messages without aknowledgement. The rethinkdb docs made me think that getting reliable changefeeds is possible:

Since changefeeds are unidirectional with no acknowledgement returned from clients, they cannot guarantee delivery. If you need real-time updating with delivery guarantees, consider using a model that distributes to the clients through a message broker such as RabbitMQ.

but apparently this statement does not hold, because an integration such as RabbitMQ would also rely on changefeeds.

This issue will affect mostly deployments where hydra and rethinkdb are connected through the internet (eg home pc <-> aws) and not some intranet (eg same aws region / datacenter), as packages get lost more frequently over the internet. However, it will still happen on intranets, so this needs to be figured out for production environments.


Known workarounds:

  1. Run hydra and rethinkdb on the same host

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working.upstreamIssue is caused by an upstream dependency.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions