Two servers and half of a third: building HA infrastructure for Totum

This article details the experience of building a High Availability (HA) infrastructure for the Totum low-code platform. The primary goal was to eliminate a single point of failure without significant hardware investment. The authors aimed to ensure automatic PostgreSQL failover, user file availability, and the elimination of manual DNS changes during outages. The chosen solution is an architecture dubbed 'HA for the poor,' utilizing two main servers and a lightweight witness node to maintain quorum. The entire deployment and maintenance process is automated via Ansible. The article covers technical nuances of cluster configuration and component selection, enabling business systems to remain operational even if one virtual machine fails. It serves as a practical guide for those seeking efficient ways to ensure high availability under resource constraints.
This is a summary. Read the full article at the original source:
HabrRelated stories
South Africans join Thais and Americans in rejecting data centers as clashes over water and power resources mount
Civil rights organizations in South Africa are calling for a moratorium on new data center construction, citing concerns over the strain on local wate…
How to watch Pacific Nations Cup 2026: FREE rugby live streams from anywhere, schedule
The 2026 Pacific Nations Cup is set to feature intense rugby action as Fiji defends its title against Canada, Japan, and the United States. The semi-f…
ResolveHQ: A Helpdesk Built on Cloudflare Workers, D1, R2 and Queues
ResolveHQ is a new helpdesk platform designed to leverage the full capabilities of the Cloudflare developer stack. By utilizing Cloudflare Workers for…


