Skip to content

Conversation

garrrikkotua
Copy link
Contributor

@garrrikkotua garrrikkotua commented Sep 7, 2023

Changes proposed ✍️

What

🤖 Generated by Copilot at 46ca305

Refactored and optimized the cache update logic for organizations in the data_sink_worker service. Reduced the data size and the number of database queries by using partial updates and dynamic column sets.

🤖 Generated by Copilot at 46ca305

updateCache flexes
Partial data, dynamic columns
Winter cache is warm

Why

How

🤖 Generated by Copilot at 46ca305

  • Modify updateCache method of OrganizationRepository to accept partial data and construct dynamic column set (link,link)
  • Modify updateOrganizationCache method of OrganizationService to create partial data and check for differences before calling updateCache (link)

Checklist ✅

  • Label appropriately with Feature, Improvement, or Bug.
  • Add screehshots to the PR description for relevant FE changes
  • New backend functionality has been unit-tested.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.

@garrrikkotua garrrikkotua merged commit 74bb225 into main Sep 7, 2023
@garrrikkotua garrrikkotua deleted the improve/organization-caches-update branch September 7, 2023 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants