GithubHelp home page GithubHelp logo

ornamental / kvp-store Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 50 KB

A simplistic key-value store with multi-version concurrency control

License: MIT License

Java 100.00%
database kvstore mvcc transaction embedded-database

kvp-store's Issues

Eliminate dependency on ORMLite

The ORM functionality is not employed at all as only raw SQL queries are sent to SQLite. Thus there is no need in using ORMLite, JDBC functionality combined with connection pooling should be sufficient.

  1. Implement JDBC connection pooling.
  2. Consider preparing certain statements on per-connection basis (as there will be only one RW connection, the INSERT, UPDATE, and DELETE statements only have to be prepared for this connection; RO queries will have to be prepared for each connection in the pool).
  3. Migrate to the new querying mechanism and exclude the dependencies which will become redundant.

Implement a log-like storage governed by an embedded database

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.