-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify cache by dropping two collections (#202)
* docs: ✏️ add backup/restore to migration instructions * feat: 🎸 pass the max number of rows to the worker * feat: 🎸 delete the 'rows' and 'columns' collections instead of keeping a large collection of rows and columns, then compute the response on every endpoint call, possibly truncating the response, we now pre-compute the response and store it in the cache. We lose the ability to get the original data, but we don't need it. It fixes #197. See #197 (comment). BREAKING CHANGE: 🧨 the cache database structure has been modified. Run 20220408_cache_remove_dbrow_dbcolumn.py to migrate the database. * style: 💄 fix types and style * docs: ✏️ add parameter to avoid error in mongodump * docs: ✏️ mark ROWS_MAX_BYTES and ROWS_MIN_NUMBER as worker vars
- Loading branch information
Showing
20 changed files
with
562 additions
and
361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.