gen_leader at jungerl

Ulf Wiger <>
Fri Mar 12 13:32:54 CET 2004


I've added gen_leader, a gen_server-like behaviour for writing
fault-tolerant replicated servers, to Jungerl.

As an example program, I've included a fully replicated version
of dict.erl, using about 100 lines of code in two modules
(in addition to what's in dict.erl, that is.)

It's basically the same stuff that some of you have received
through email, except I've added a reasonable amount of edoc-
based documentation.

Please report if there are any problems with make
(I have to do the cvs stuff on a machine that has no
erlang, for now. I'll try to improve matters on my end.)

The leader election algorithm part was done by Thomas Arts,
as a spinoff from working with the 'locker' contrib.
Building gen_leader, I had an opportunity to try "pair
programming" and decided that it's a lot of fun if you find
the right person to pair up with. (:

/Uffe
-- 
Ulf Wiger, Senior System Architect
EAB/UPD/S

This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.


This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.




More information about the erlang-questions mailing list