In publish-subscribe systems, explain how channel-based approaches can trivially be implemented using a group communication service? Why is this a less optimal strategy for implementing a content-based approach?
What will be an ideal response?
In a channel-based approach, events are published to a named channel and subscribers subscribe to a given channel and receive all messages sent on that channel. This can be implemented directly using group communication, that is when a channel is created, you create an associated group; subscriptions are implemented through joining the group and then subsequent events from publishers are sent to the group and hence delivered to all subscribers who are then members of the group.
This trivial mapping is not possible with content-based approaches where communication is more associative and based on content (more specifically, based on arbitrary queries expressed over the content). This cannot easily be implemented using group communication. One option would be to send all events over one group and then do the required filtering in each subscriber, but this would be really inefficient. In practice, efficient implementation of content-based approaches requires the creation of an suitable overlay implementing a content-based routing algorithm, that is routing is influenced by content.
You might also like to view...
What are the questions you should answer after your technical tests are complete in order to determine if you are ready to present your work?
What will be an ideal response?
Discuss the advantage of the single transmit wire and single receive wire in a serial data transmission.
What will be an ideal response?
Jared wants to create a hyperlink to link to new a document. What should he click in the Link to list?
A. Existing File or Web Page B. Create New Document C. E-mail address D. Place in This Document
After installing the processor, if the system begins the boot process and suddenly turns off before completing the boot, the processor is most likely overheating.
Answer the following statement true (T) or false (F)