-
Notifications
You must be signed in to change notification settings - Fork 7
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
Choose an embedded database that fits the "load" strategy use case of neume #246
Comments
For now, most important is reducing the complexity of random access via indexes and complying neatly the the above outlined criteria. But since we're gonna build an API eventually, we might need to use a database that would allow us to join tables. But e.g. for now, I personally don't see that need. Unless, with music-os-accumulator, we're doing just that... joins... |
Here's another use case for the load component.
|
note to myself: It'd be awesome if every strategy could define their identifier within neume itself and then other identifiers could link to those buckets and identifiers with uris, similar to JSON-LD does it. |
I like https://www.sqlite.org/json1.html. Instead of having fixed tables we can store json in columns and also query it if needed. We can even create indexes on the json data for faster retrievals. Plus, sqlite is also battle tested.
In sqlite we should be able to do this with foreign keys. |
I'd be all in for using the single thing that e.g. makes sqlite solve our usecases but considering that we may want to distribute the crawl results later via a network like IPFS as in this specification (neume-network/neuIPs#2), I think it'd be premature to use sqlite now. How about if for now we add a load component and allow the strategy implementer to define a "identity" function for each line in the transformation flat file? |
e.g. users should codify the ID function of this line and any other: https://github.com/neume-network/data/blob/8911801860195b50c743f0985c0a6abf61d3dcc0/results/mintsongs-get-tokenuri-transformation#L3 |
useful website
long-list
excluded:
The text was updated successfully, but these errors were encountered: