Catalogue / healthchecks-2022-ping-bodies-object-storage

Healthchecks.io moves ping bodies out of its only database into S3-compatible storage so the size limit can rise tenfold

Healthchecks.io, 2022. Ping body storage.

Organisation
Healthchecks.io
Evidence
Reported from production
Source
We Moved Some Data to S3

Healthchecks.io blog, published 2022-04-21

Records

Decision#d1

Store ping bodies in object storage, not in the PostgreSQL database, before raising the size limit

Decision#d2

Use OVH's S3-compatible object storage instead of AWS S3, whose per-request fees prompted the search

Decision#d3

Upload ping bodies from a background worker on the hosted service, not inside the ping request

Decision#d4

Back up the whole bucket to a different provider from a cron job on a separate VPS

Failure#f1

Cleanup keyed to every fiftieth ping never ran for checks whose uploads always had odd serial numbers

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.