A coordination protocol could be carried out in order to coordinate the actions of web services.
Outline an architecture for (i) a centralized and (ii) a distributed coordination protocol. In each
case, describe the interactions needed to establish coordination between a pair of web services.
What will be an ideal response?
Centralised coordination. A particular server would play the role of coordinator and the web services that
require coordination would send their coordination messages to the coordinator, rather like the protocol used
in the 2PC and illustrated in Figure 13.3. Call the web services A and B, and the coordinator C.
A asks C to create a new context for coordination, which is returned;
A sends B a message, passing on an identifier for the coordination and B communicates with C about it.
In distributed coordination, each participating web service would have a local coordinator that it
communicates with and the set of local coordinators would communicate amongst them selves. Call the web
services A and B, and their local coordinators Ca and Cb.
A asks Ca to create a new context for coordination, which is returned;
A sends B a message, passing on an identifier for the coordination and B asks Cb to create a context for it.
You might also like to view...
Windows operating systems use the ___________________________________ protocol to help computers on a network manage name conflicts.
Fill in the blank(s) with the appropriate word(s).
Case-Based Critical Thinking QuestionsCase 3-2Kyra has been promoted to a new position: international marketing director. She is not familiar with the significance of different colors in various cultures worldwide. Therefore, she asks Max, who is much more knowledgeable about these matters, to help her get up to speed.Max tells Kyra that _____ is the term that defines purity in India.
A. blue B. white C. red D. yellow
The ____ is usually an estimate of the number of comparisons and moves required to order an unordered list.
A. sort efficiency B. sort stability C. sort order D. sort pass
If before deleting a node the root was left high and after deleting a node it becomes even high, we ____.
A. have to perform a left rotation B. have to perform a right rotation C. we can exit right away D. can exit after setting the balance factor