Catalogue / pirsch-2021-hashistack-cluster

A two-person company runs Pirsch analytics on a three-node Nomad cluster plus a database VM at Hetzner, paying about 45 euros a month in all

Pirsch, 2021. Web analytics service.

Organisation
Pirsch
Evidence
Reported from production
Source
How We Develop and Operate Pirsch

Pirsch blog, published 2021-07-04

Records

Decision#d1

Host on small Hetzner Cloud virtual machines, chosen mainly for cost

Decision#d2

Run three nodes where one server would carry the load, so deploys and upgrades cause no downtime

Decision#d3

Build the cluster from Consul, Vault and Nomad, which the author calls a lighter alternative to Kubernetes

Decision#d4

Keep Postgres inside the cluster and give ClickHouse a server of its own

Decision#d5

Run the tests with a local script before each commit or release instead of setting up CI

Decision#d6

Send email through AWS SES instead of SendGrid or a self-hosted mail server

Decision#d7

Let the Hetzner load balancer hold a managed wildcard certificate after several self-built attempts

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.