COSC441 Assignment 4, 2017
Redo assignment 2 in Erlang.
It is expected that you will make different design
decisions for the Erlang version. For example, you should try
to design your Erlang code so that the clients, auctions, and
service could all be running on different machines.
Your task has three parts:
- Spell out in more detail what the Erlang processes know
and what exactly is to be communicated between them (5%).
- Explain how the Erlang processes find each other (hint:
what is the Erlang registry? is there a distributed equivalent
of that?) and what protocols they follow (that is, exactly what
data structures they expect to be sent to them, what those data
structures mean, and what they send back). (5%).
- Write Erlang code to make this work. You can generate Auctions
using random numbers; your Clients can also make decisions
based on random numbers. (5%)