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

Add flat file datastore #30

Open
Jearil opened this issue Jan 28, 2016 · 0 comments
Open

Add flat file datastore #30

Jearil opened this issue Jan 28, 2016 · 0 comments
Assignees

Comments

@Jearil
Copy link
Owner

Jearil commented Jan 28, 2016

Sqlite3 has threading issues which prevents us from reading/writing to the database using multiple threads even if we do our own locking. This is to try making an alternative data store based on the filesystem. Data will be stored in a simplenosql/ directory in the data directory of the app. Buckets will be subdirectories of that, and each entity will be a file with the entityId equaling the filename (or a sha1 hash thereof).

The directory structure should look like:

simplenosql/
  bucket1/
    <SOME40CHARACTERHASH>
    <SOME40OTHERCHARACTERHASH>
  bucket2/
    <SOME40CHARACTERHASH>
@Jearil Jearil added this to the 0.5.1 release milestone Jan 28, 2016
@Jearil Jearil self-assigned this Jan 28, 2016
@Jearil Jearil modified the milestones: 0.5.1 release, 0.6 Release Jan 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant