Distributed Computing Architecture
1 Distributed Computing Architectures
- No shared state/ memory
- Peer to Peer Computing
- Clients and Servers
- RPC/ RMI
- call backs
2 Peer to Peer Computing
- All processes/ nodes are "equal"
- Elections are possible; then some nodes are special
- May even wish: Any process can function as any other
3 Clients and Servers
- Server: Has a menu of things it can do on request
- How many nodes/ processes
- Client: Requests a server to do one of the operations
4 Remote Procedure Call
- RPC aims to do the equivalent of local (ie., within the same
process) procedure call.
- RMI is the OOP version of RPC.
- "An RPC-like mechanism describes a scenario in which a process called
the server makes several procedures available to other processes and
after that the only thing it does is "sit and wait" for incoming
calls from client processes. When such a call is received, the
client's request is serviced by the server, which could possibly
also return some result(s) to the client."