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

attempt conversion to gorm/sqlite #4

Closed
ikeydoherty opened this issue Sep 17, 2017 · 2 comments
Closed

attempt conversion to gorm/sqlite #4

ikeydoherty opened this issue Sep 17, 2017 · 2 comments

Comments

@ikeydoherty
Copy link
Member

ikeydoherty commented Sep 17, 2017

tldr boltdb is really, really bad for concurrency.

Establish a simpler model that gets rid of all the bucket-orientated logic, and rely on many to many relationships:

struct RepoEntry {
    Repository Repository
    Published Package
    Packages []Package ..
    Deltas []Package
}

Basically rip out all the current boltdb crap, start a new subproject to test the data storage.

@ikeydoherty
Copy link
Member Author

First things first, lets attempt local serialisation of the complex moving parts, i.e. libeopkg bits.

@ikeydoherty
Copy link
Member Author

nope - used leveldb - much better..

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