-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor accounts system so that buntdb is no longer the data plane #1986
Milestone
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This relates to #1971. In almost every place we use buntdb, it is not the data plane: it is not queried at runtime because the relevant data exists in native Go datastructures. This has the advantage that runtime latencies are not sensitive to the latency of the database layer (so we could use a much slower database layer, without impacting performance other than startup time).
The one exception is accounts:
Accounts should be refactored so they're like other systems (channel registrations, [DK]-lines, etc): the source of truth should be on the Go heap behind a
sync.RWMutex
, not in the database.The text was updated successfully, but these errors were encountered: