3 ms·
Perhaps if they had been running Erlang on the server you wouldn't have had to take the site down while migrating to a new server. Sorry just had to point this
by rvirding 18y ago
Perhaps if they had been running Erlang on the server you wouldn't have had to take the site down while migrating to a new server. Sorry just had to point this out
- cperciva 18y agoErlang isn't a magic bullet. It might make migrating processes fast, but it won't speed up migrating data.
- ciupicri 18y agoIndeed, but I think that he was trying to say that Erlang could have made this process more transparent for the users, without any disruption.
- moe 18y agoOut 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.
- oomkiller 18y agoErlang 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.
- airlabam 18y ago>>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.
- radu_floricica 18y agoA link on mnesia (http://en.wikipedia.org/wiki/Mnesia http://en.wikipedia.org/wiki/Mnesia) would have been helpful.
- deleted 18y ago[deleted]
- mst 18y agoExplaining a pun spoils it though.