generated from allen-cell-animated/github-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Use Case
To minimize firebase reads / writes, let's eliminate the write to firebase edited_recipes upon packing initiation, send the recipe a different way to AWS, and thus eliminate the read to edited_recipes from AWS as well.
Instead, we should send the recipe data in the packing request to AWS. This data sent with the request could either be:
- just the change set of edits to the recipe, minimizing the amount of data that needs to be transmitted, and then packing job would recreate the edited recipe using the change set (with a read to firebase to retrieve the original recipe)
- send the whole edited recipe json, allowing the job to completely skip the read from firebase for the recipe (it'll still need to read for the config)
Determine which is better, and implement. Once it's deployed everywhere, delete the edited_recipes collection and cleanup task