bitovi / heyemoji

a slack recognition bot
MIT License
0 stars 0 forks source link

External Data Store #13

Open mickmcgrath13 opened 1 year ago

mickmcgrath13 commented 1 year ago

The heyemoji app uses a local data store rather than an external DB which means that if the container or VM goes down, we'll lose our history.

We should explore options to ensure that we can keep our data.

One option would be to:

  1. mount the data path to the VM from the container. This would ensure that if the container restarts, we keep our data.
  2. mount the VM data store to some external service in AWS to ensure that if the VM goes down or restarts, we can remount and maintain our data.

Original issue (bitovi internal)

mickmcgrath13 commented 1 year ago

It does seem that the data is persistent across container restarts, so that helps. We'll still need to handle the VM reload problem (or have another solution like redis for a container orchestrator path)

This effort might not need a go dev if we take a VM snapshot approach (i.e. no HA).

PhillypHenning commented 1 year ago

Bitovi Internal notes: https://bitovi.slack.com/archives/C0GEQASKY/p1674078142153599