-
Notifications
You must be signed in to change notification settings - Fork 0
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
Profile full monthly generation #52
Comments
It looks like it does a database query for the rights db for every item, but it's only used for the access profile and rights update timestamp. We could consider:
|
Alas, the default behavior of |
- Experiment with removing one-by-one rights retrieval in favor of Sequel batch query for multiple htids.
* Addresses #52 Profile full monthly generation - Experiment with removing one-by-one rights retrieval in favor of Sequel batch query for multiple htids. - Add `HathifileWriter` class with limit on number of HTIDs in batch rights query - Use Ettin Settings for DB connection string instead of `ENV` directly - Connect to `ht` instead of `ht_rights` so `ht.ht_collections` can be read - Add `mariadb-client` to both dockerfiles - Update to `hathifiles_database` 0.3.0
Generating a full hathifile takes many, many hours. It's probably worth seeing what's so slow and seeing if we can speed it up. Could be database queries, could be json parsing (could try https://github.com/anilmaurya/fast_jsonparser)..
The text was updated successfully, but these errors were encountered: