Skip to content

Pluggable solutions for automatically persisting last seen seq #2

@Ovyerus

Description

@Ovyerus

Provide a behaviour (probably Drinkup.SeqCache) and some default implementations for a system that will cache the last dispatched sequence number, and will automatically resume with it in the event of a restart/disconnect. This saves the user having to manually manage seq separately, and should be less error prone as that is given via a supervision tree arg.

It should probably be done on a throttled timeout (configurable) or something like that, as to prevent unnecessary constant writes and potentially locking up the store location.

Probable default implementations:

  • Ecto
  • Redis
  • Mnesia?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for Feature.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions