Catalogue / updown-2024-one-man-stack

One person runs the updown.io monitoring service on Rails and a MongoDB replica set stretched across the internet

updown.io, 2024. Website monitoring service.

Organisation
updown.io
Evidence
Reported from production
System
Website monitoring service
Setup
Multi-region

Near: since 2016 for most of updown monitoring locations | Near: other two are updown locations that I keep

As of
2024-09
Source
My one man company stack and which services I recommend (in 2024)

updown.io blog, published 2024-09-13 (The page gives a creation date of September 13, 2024 and a last update on January 19, 2025.)

Architecture

updown.io is a monitoring service run by one person. The application is Ruby on Rails on a MongoDB replica set with automatic failover that spans the internet, with Redis behind Sidekiq for machine-local worker queues and Memcached for caching. Most monitoring locations run on Vultr VPSes, and a small separate server terminates HTTPS for status pages on customers' own domains.

Section: Application | Section: Hosting | Near: My one man company stack and which

Components

ComponentRoleWhere
Ruby on Rails applicationThe main application. The author chose it because he has used Ruby and Rails since 2008 and can build features quickly with it.Near: I've using Ruby and Ruby on Rails
MongoDBThe database, run as a replica set with automatic failover, with members connected across the internet.Near: a cluster with automatic failover (ReplicaSet)
RedisUsed mostly for Sidekiq, so that each machine has its own local worker queues.Near: in order to have machine-local worker queues
MemcachedThe cache.Near: which I'm using for caching simply because
Monitoring locationsThe places from which checks are made. Most have run on Vultr VPSes since 2016, and two are at OVH, kept there so that their IP addresses do not change.Near: for most of updown monitoring locations | Near: the other two are updown locations
Custom-domain HTTPS proxyA small DigitalOcean server that only issues and renews certificates for status pages on customers' domains and proxies their HTTP requests to the main web server.Near: the automatic https proxy for custom domain
Alert deliveryPostmark sends email alerts, since 2016, and Vonage (formerly Nexmo) sends SMS alerts.Near: For Email alerts, updown uses Postmark since | Near: started using it to send SMS alerts

Figures, as the source states them

FigureAs statedNoteWhere
People in the company1 personThe author; the title calls it a one man companyNear: My one man company stack and which
MongoDB write rate on the Hetzner database server1,000 writes per secondApproximate; the workload under which consumer-grade SSDs wore outNear: MongoDB with ~1k writes/second
Monthly price of the Hetzner server whose SSDs wore out50 euros per monthApproximateNear: the RAID SSDs in my ~50€/m server
CPU usage the author aims not to exceed on shared-CPU VPSes50 percentAt mostNear: I aim for 50% CPU usage at most

Records

Decision#d1

Use a self-hosted MongoDB replica set, with members across the internet, as the database

updown-2024-one-man-stack#d1 at corpus version 26a1b3a7e3dd
Chosen

The service stores its data in self-hosted MongoDB, run as a replica set with automatic failover whose members talk to each other across the internet.

Near: a cluster with automatic failover (ReplicaSet)

Reasoning

The author had used MongoDB heavily in his previous job and knew it well. He values that it is schemaless, so he can iterate and migrate data with little trouble, that it was easier to set up and maintain as a cluster with automatic failover than most alternatives at the time, and that it is open source and easy to self-host.

Section: Application

Decision#d2

Keep Memcached for caching beside a Redis that serves the job queues

updown-2024-one-man-stack#d2 at corpus version 26a1b3a7e3dd
Chosen

Memcached does the caching, and Redis is used mostly for Sidekiq's machine-local worker queues.

Near: which I'm using for caching simply because | Near: in order to have machine-local worker queues

Rejected

Using Redis for caching as well. The author says it would be fine, but LRU caching would need a separate Redis instance, so hosting would be about as complex, and he has no reason to change now.

Near: It would be ok to use Redis for

Reasoning

Memcached was one of the most common options when the author chose it, and his experience with it had been good.

Near: one of most common option back then

Decision#d3

Put the custom-domain HTTPS proxy on its own small server instead of in front of the main web server

updown-2024-one-man-stack#d3 at corpus version 26a1b3a7e3dd
Chosen

A small separate server issues and renews SSL certificates automatically for status pages served on customers' own domains, and proxies those HTTP requests to the main web server.

Near: the automatic https proxy for custom domain

Reasoning

The proxy needs full authority over port 443 to handle those domains, and the author did not want to place it in front of everything else, nginx and passenger, on the main server.

Near: the proxy needs full authority on port

Decision#d4

Move monitoring locations from DigitalOcean to Vultr, then stay to keep the IP addresses

updown-2024-one-man-stack#d4 at corpus version 26a1b3a7e3dd
Chosen

Since 2016 most monitoring locations have run on Vultr VPSes, which the author found decently priced and available in many places. He says he is likely to move some locations to another provider, but puts it off as long as he can because it would change their IP addresses.

Near: I've been using Vultr VPS since 2016 | Near: this would mean changing IPs

What forced it

DigitalOcean began blocking port 25 with no way out offered at the time, which stopped updown from monitoring that port and produced false positives.

Near: DigitalOcean started blocking port 25

Reasoning

DigitalOcean also had fewer locations then, and the author wanted to add more.

Near: they didn't have the same amount of locations

What worked before

Some monitoring locations ran on DigitalOcean before Vultr.

Near: DigitalOcean for some locations before Vultr

Cost

The author reports uneven performance and heavy overselling in some Vultr locations, weak IPv6 support, and no way to change machine type without a snapshot and restore that loses the machine's addresses. A workaround support suggested did not work for IPv6, so he now pays every month for a reserved IPv6 address to keep it.

Near: The performance is very random | Near: Their IPv6 support is not great | Near: now I have to pay for a

Failure#f1

Consumer-grade SSDs kept failing under a MongoDB workload of about 1k writes a second

updown-2024-one-man-stack#f1 at corpus version 26a1b3a7e3dd
Trigger

The database ran on a Hetzner server costing about 50 euros a month whose RAID SSDs were consumer grade, under a MongoDB workload of about 1k writes per second.

Near: the RAID SSDs in my ~50€/m server

How it failed

The SSDs did not have the endurance for the workload: they kept dying or slowing to a crawl. The post gives no dates and describes this as recurring.

Near: were not enduring enough for my workload

Fix

The author contacted Hetzner, which quickly offered to add enterprise SSDs for a small extra price and asked when he wanted the work scheduled. The post does not say in so many words that the swap was made.

Near: an option to add some enterprise SSD

Failure#f2

A crypto payment provider changed its requirements without notice and payments stopped silently

updown-2024-one-man-stack#f2 at corpus version 26a1b3a7e3dd
Trigger

BitPay, which the service used to collect crypto payments, began requiring a new validation for companies and did not warn anyone.

Near: they started requiring a new validation

How it failed

The integration stopped working silently, with no explanation shown even to the person trying to pay.

Near: the integration stopped working silently

Impact

Crypto payments failed silently. The author learned of it a couple of weeks later, when a client reported the problem thinking they had done something wrong.

Near: I noticed it a couple weeks after

Fix

The author switched to another crypto payment provider; BitPay had also raised its prices at the same time.

Near: They also increased their pricing at the

Review

Extracted by
Claude (feed 25)
Human review
Not started. Status recorded on 2026-12-02.