[erlang-questions] Fault-Tolerant TCP/IP Servers

t ty <>
Fri Jul 11 18:29:28 CEST 2008


There isn't any unless your hardware / OS allows for socket migration.

Some IBM mainframes are suppose to allow it and there has been
research Linux kernel patches for it.  Never tried them personally
though.

Love to be told/proven wrong especially if it is a cheap solution :)

t

2008/7/11 David Mercer <>:
> Say I have a TCP/IP server (e.g., a web server, FTP server, etc.) written in
> Erlang, and I want it to work through hardware failures; I need at least two
> of them.  The problem is, clients are connecting to the primary's IP
> address, so when it fails, client connections are refused instead of being
> rerouted to the secondary.  What is the Erlang approach to solving this?
>
>
>
> My thought is that you have the secondary detect the failure and send the
> appropriate commands to the network to redirect traffic for the primary
> server's IP address to the secondary.  That's my idea, but I don't really
> know if this is the appropriate solution, nor how to implement something
> like this in Erlang.
>
>
>
> Please advise.  Thank-you.
>
>
>
> David Mercer
>
>
>
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list