Discuss the extent to which the RPC style supported by protocol buffers enhances extensibility (especially the design decision to have one argument and one result).

What will be an ideal response?


The key argument for having a single argument and a single result is that interfaces defined in terms of operations which take data in and produce data out are more likely to be stable than more general interfaces defined in RMI, for example, which will have arbitrary parameters including object references). This also shares similarities with the REST philosophy as discussed in Section 9.2, where the complexity is pushed towards the data and interfaces are simple. Both features are potentially supportive of more extensible interfaces (although this is debated in the community).

Computer Science & Information Technology

You might also like to view...

Which term is used to describe the role of the person who takes physical control of a crime scene in order to preserve evidence and prevent tampering before the full forensics team arrives?

A. CIRT B. Senior management C. BCP team D. First responder

Computer Science & Information Technology

How many String objects are instantiated by the following code segment (not including the literals)?

``` String s1, output; s1 = "hello"; output = "\nThe string reversed is: " ; for (int i = s1.length() - 1; i >= 0; i--) output += s1.charAt(i) + " " ; ``` a. 1. b. 4. c. 5. d. 7.

Computer Science & Information Technology