Re:Yay! Hacker News is on a new and improved server now.
by cperciva on Saturday March 14, 2009 @04:16PM
(#516130)
Erlang isn't a magic bullet. It might make migrating processes fast, but it won't speed up migrating data.
[ Parent
| on HN ]
Re:Yay! Hacker News is on a new and improved server now.
by airlabam on Saturday March 14, 2009 @08:35PM
(#516385)
>>Erlang isn't a magic bullet. It might make migrating processes fast, but it won't speed up migrating data.
Could you explain why to me? I just can't remember. I think I might be suffering from mnesia.
Re:Yay! Hacker News is on a new and improved server now.
by radu_floricica on Saturday March 14, 2009 @09:59PM
(#516483)
A link on mnesia (http://en.wikipedia.org/wiki/Mnesia) would have been helpful.
Re:Yay! Hacker News is on a new and improved server now.
by mst on Sunday March 15, 2009 @12:06PM
(#516914)
Explaining a pun spoils it though.
Re:Yay! Hacker News is on a new and improved server now.
by ciupicri on Saturday March 14, 2009 @05:15PM
(#516180)
Indeed, but I think that he was trying to say that Erlang could have made this process more transparent for the users, without any disruption.
Re:Yay! Hacker News is on a new and improved server now.
by moe on Saturday March 14, 2009 @09:01PM
(#516415)
Out of curiousity, does erlang really support that kind of hot migration of running processes along with their data?
Until now I only knew that erlang can span multiple hosts - but only when you wrote your application that way?
What has really helped us in terms of machine migration (but at the cost of additional overhead) is running stuff inside Xen and OpenVZ virtual machines. Those can really be migrated seamlessly - often without a noticable downtime.
Re:Yay! Hacker News is on a new and improved server now.
by oomkiller on Saturday March 14, 2009 @10:00PM
(#516485)
Erlang supports hot code migration, which allows you to use your new code in each process AFTER you merge the new code in. The processes that were running when you merged the new code will still be using the old code, until they end execution. This isnt really that big of an issue if you write your code in the erlang-way, which is using as many processes as you can to spread data, and then passing messages between the different processes. In this situation,each HTTP session would probably be running the old code, but each new one created would be running the new code.