Skip to content
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

Implement a log-like storage governed by an embedded database #1

Open
ornamental opened this issue Jul 16, 2018 · 0 comments
Open

Implement a log-like storage governed by an embedded database #1

ornamental opened this issue Jul 16, 2018 · 0 comments
Assignees

Comments

@ornamental
Copy link
Owner

Requirements

  1. The storage must support any number of concurrent readers and one writer not blocked by the readers.
  2. Each reader must observe the snapshot of the storage relevant at the moment of its creation; it must not see the changes added afterwards, either committed or not.
  3. The writer must observe the most relevant state with its own uncommitted changes.
  4. The writer must support commit and rollback operations.
  5. However much data a writing transaction might supply, the RAM footprint must not grow proportionally.
  6. The storage must be able to transfer data from byte arrays, input streams, and readable byte channels.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant