Skip to content

Reduce data loss on deploy #73

@devinmatte

Description

@devinmatte

When we push a new deploy, a few things happen or can happen:

  1. Service restarts, missing a few data points

In a rare case, the EC2 instance needs to be recreated. In this case we're going to miss a lot of data points. Things we can do to reduce that:

  1. Force data to be pushed to s3 during a deploy so we lose the minimal amount
  2. When new EC2 is started up, pull down all of todays data from s3 so the service doesn't overwrite all earlier data on first upload
  3. Only apply these updates at 3am 🙃

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions