Menu

Self-hosted as one Go binary: embed.FS, SQLite WAL and the trade-offs
📰

Self-hosted as one Go binary: embed.FS, SQLite WAL and the trade-offs

DEV Community: go·Benjamin Touchard·6 days ago
#q77cMngN
#devtogo#devto#dev#binary#maintenant
Reading 0:00
15s threshold

Monitoring stacks have a complexity problem. Prometheus needs cAdvisor, Grafana, node_exporter and Alertmanager. Datadog needs an agent plus a SaaS account. Even "simple" tools like Uptime Kuma need Node.js and a separate database.

That is no longer the only option. Self-hosted tools have matured to the point where a single Go binary can replace a five-container stack. This post looks at what that means in practice, using Maintenant as the example, and at what you give up.

What "single binary" means

A single-binary tool ships as one executable file. No runtime dependencies, no external database, no separate frontend server.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.