attempt conversion to gorm/sqlite
ikeydoherty opened this issue · 2 comments
ikeydoherty commented
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 commented
First things first, lets attempt local serialisation of the complex moving parts, i.e. libeopkg
bits.
ikeydoherty commented
nope - used leveldb - much better..