Skip to content

Decide and implement a persistent storage for state #47

@shazow

Description

@shazow

Options to consider (sorted vaguely in order of current preference):

  • flat file (possibly multiple append-only files?)
  • BoltDB (native golang)
  • badgerdb (native golang)
  • leveldb
  • sqlite

Things we'd want to store:

  • message history (log)
  • registered identities (against pubkey)
  • whitelisted pubkeys
  • admin pubkeys
  • identity settings (theme? last message seen? etc)
  • what else?

Note: Need to make sure persistence doesn't collide if multiple instances are run on multiple ports.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions