internal
Infra

Page Canary Infrastrucutre

Covers the infrastructure used at Page Canary

Vercel

Used for web hosting for the web client, api and cron jobs

Google Firestore

  • Primary data store

Postgres SQL database

  • Managed on digital ocean
  • Back up data from firestore
  • Allow easy aggregation queries
  • Automated backups

Redis in-memory database

  • Use for queuing with Bull

We use a managed redis database on Digital Ocean as a queueing service. This is used to ensure we can scale out our workers across multiple hosts. Workers will pick up any available job on the queue.

Why use redis / bull for queing

  • It has a nice dashboard (bull board)
  • I've used it before previously and it works and has nice features
  • Lots of people use redis for queuing