Please enable JavaScript.
Coggle requires JavaScript to display documents.
Identify and compare two different implementations that are based on…
Identify and compare two different implementations that are based on different messaging paradigms (e.g RPC, publish-subscribe).
-
RPC Characteristics
Client calls the client stub which is a local procedure call (use of stubs or client AND server stubs)
-
-
-
What is PubSub
The PubSub strategy is to have a central source called a broker who then recieves and distributes all data. Pub-sub clients can then publish data to the broker or subscribe to get data from it - or both!
What is RPC
a program that gets a request from a service / function where parameters are transferred across a distributed network to a enviroment where a procedure is executed
PubSub Pros & Cons
-
-
-
-
The need for a middleman/broker, message specification and participant rules adds some more complexity
The middleman might not notify the system of message delivery status; so there is no way to know of failed or successful deliveries.
RPC Pros and Cons
helps clients communicate with servers via the traditional use of procedure calls in high-level languages
-
helps clients communicate with servers via the traditional use of procedure calls in high-level languages
-