TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Server balancing and failsafe

2 点作者 hexiumvii将近 17 年前
Site uptime is a major issue for everyone. I currently have space on 6 different hosts and i'm wondering if there is any practical way to use them all effectively. They only thing i can come up with is to be redirected to a server that is currently up. Right now I simply have everything mirrored on all the hosts ready to switch DNS if something were to happen. This however doesn't solve much and takes a bit more work with dynamic sites. It would be nice ot hear what others are doing to ensure great uptime.

2 条评论

brk将近 17 年前
round-robin DNS setups and/or use of haproxy are some of the most common approaches in your scenario (limited budget, early growth phases of site).<p>Round-robin DNS is basically free to implement, and while it doesn't give you 100% uptime, it helps ensure that a problem on any 1 server only affects a small portion of your userbase.
qhoxie将近 17 年前
Round-robin would be one approach; simple but effective. You could also make use of something like haproxy, which would load balance for you.