Skip to content

Remove post to firebase edited_recipes #113

@ascibisz

Description

@ascibisz

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:

  1. 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)
  2. 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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions