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...

The ________ class destructor is called before the ________ class destructor.

A) base, derived B) derived, base C) public, private D) private, public E) None of the above

Computer Science & Information Technology

Match the following terms with their description

I. Cybercrime II. Phishing III. Pharming IV. Hacking V. Hacktivism A. Gaining unauthorized access to a computer system or network B. Generally used to make a political statement C. Criminal activity on the Internet D. Messages designed to trick you E. Redirects you to a phony website

Computer Science & Information Technology

In referring to the figure above, what name is given to a hyperlink that is not working?

A. Unlinked files B. Slow pages C. Broken hyperlinks D. External hyperlinks

Computer Science & Information Technology

List three assumptions that need to be made when inserting and removing items from an array. What happens when any of the assumptions is not met?

What will be an ideal response?

Computer Science & Information Technology