[erlang-questions] How to cluster mochiweb?

Bharani bharani_vms@REDACTED
Fri Aug 22 16:24:45 CEST 2008


I have come across gen_server_cluster in the cookbook. Is that the way to
cluster mochiweb as well? 
The way i think i "could" work is that
1) Start a global mochiweb that listens on the port X which is visible to
the client
2) Start other mochiweb instances but they run as local server on different
random port
3) If the global server dies then one of the local server becomes global and
binds on the port X -- not sure how this is going to work though

Have any one clustered http servers with session replication? (Although i
prefer to avoid sessions as much as possible - some time it is just too
natural to have it )

Thanks
Bharani
-- 
View this message in context: http://www.nabble.com/How-to-cluster-mochiweb--tp19108320p19108320.html
Sent from the Erlang Questions mailing list archive at Nabble.com.




More information about the erlang-questions mailing list