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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Live-upgrades to IRCCloud.com with Erlang/OTP

29 点作者 pietrofmaggi超过 14 年前

2 条评论

metabrew超过 14 年前
This article is specifically about building OTP releases that can be deployed in the "proper" way for live updates.<p>"Live-upgrades to IRCCloud.com with Erlang/OTP" would be a better title :)
评论 #1704550 未加载
barrkel超过 14 年前
With appropriate vectoring of requests and server-side state (i.e. having an indirection at the appropriate point), you can do live upgrades almost anywhere. I was doing it with ASP.NET years ago; concurrent versions of the application running, new sessions getting the latest version, while old sessions ran with whatever version they started with, all on the same machine, in the same ASP.NET worker process etc. as desired.<p>Of course, if you want to maintain things like existing TCP connections while not having multiple versions of application code running simultaneously, it gets much harder, but that approach also restricts how drastic an upgrade you can perform - ultimately, all the socket handles, file handles, etc. need to be assigned to all the right fields.
评论 #1704889 未加载