Discussion

Ask HN: How to host simple Rails API to get 99.99% uptime

I am looking to host a relatively simple Rails API. From a technical side the complexity is quite low but availability is crucial and should hopefully be 99.99% or better.

To keep the DevOps overhead low I am thinking about using DigitalOcean.

The current idea is

* Use the "App Platform" with multiple app instances that are load balanced through DO itself (unfortunately only within same region)

* Use managed Postres with multiple standby nodes (allows for "immediate automatic failover")

* Optionally replicate the app servers in a different region and use an external load balancer to fail over between regions (not possible within the App Platform itself)

Do you have any other / better ideas for a rather straightforward setup? I am trying to avoid AWS but am not completely opposed.

5 points Maarius 3 years ago 7 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton