Skip to content

Create process for synchronizing changes with external databases #1128

Open
@fancyham

Description

@fancyham

Overview

Some Food Oasis regions will have multiple partners who will provide data sources for listings.

One question then becomes how to import changes from our partners, and how our partners can update their databases with the latest Food Oasis listing info (for example if a correction has been made)

We need a way to process and synchronize changes when listing data lives both on Food Oasis’s database as well as an external database.

For example:
In Hawaii, we are initially starting with one data source (Aloha Harvest) and Food Oasis will be showing data imported from there and AH’s database will be the ’source of truth’.

In the future, however, as we add additional listings and data sources, AH’s database will no longer be the source of truth.

In fact, crowdsourced corrections made to FO might need to be replicated to AH's and other databases.

In this case, is FO the source of truth?

Let’s define some processes to find changes and to sync data sources with each other.

Action Items

  • Discussion about replication needs, architecture, and tradeoffs
  • Process for replicating changes from an external database to FO
  • Process for replicating changes from FO to external databases
    • One possibility: Automatically send a summary email to our partners with listing updates
  • Consistency check to validate that data is replicated correctly between FO and other databases

Resources/Instructions

https://en.wikipedia.org/wiki/Single_source_of_truth

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    New Issue Approval

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions