Client–queue–client

From Wikipedia, the free encyclopedia

A client–queue–client or passive queue system is a client–server computer network in which the server is a data queue for the clients. Instead of communicating with each other directly, clients exchange data with one another by storing it in a repository (the queue) on a server.[1]

Like peer-to-peer, the client–queue–client system empowers hosts on the network to serve data to other hosts.

Example[edit]

Web crawlers on different hosts need to query each other to synchronize an indexed URI. Whereas one approach is to program each crawler to receive and respond to such queries, the client–queue–client approach is to store the indexed content from both crawlers in a passive queue, such as a relational database, on another host. Both web crawlers read and write to the database, but never communicate with each other.

See also[edit]

References[edit]

  1. ^ "Architectural Patterns and Styles". Microsoft Application Architecture Guide (2nd ed.). Redmond: Microsoft Press. November 2009. ISBN 9780735627109. OCLC 699052779. Retrieved 1 December 2013.