TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Zero-Downtime Restarts with HAProxy

19 pointsby bdotdubover 16 years ago

1 comment

jbyersover 16 years ago
An interesting method, but as the comments say, getting your load balancer or proxy to do the right thing is the tip of the iceberg. Migrating your database on the fly requires schema version-aware code, facilities for split-brain upgrades (e.g. with mmm MySQL), sensible handling of in-progress requests. All that gets costly in terms of development time and complexity that, unless you're really big or run a critical-availability service (from hospital down to ad serving), is arguably better used making your product better. Just eat the few minutes of downtime after setting your customers' expectations properly.