Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

connector acceptor pattern

From where I can get link to connector acceptor pattern explained simple ,and also a sample code . The one I get cs.wustl.edu , I find difficult to understand.

like image 866
Somaraj Avatar asked Aug 24 '10 09:08

Somaraj


1 Answers

In simple words; in a distributed system, once a service is initialized, this design pattern decouples connection establishment and service initialization. Acceptors, connectors, and service handlers helps in achieving the decoupling.

1> Connector establishes a connection with a remote acceptor component and initializes a service handler to process data exchanged after the connection is made.

2> Acceptor passively waits for connection requests from remote connectors, establishing a connection upon arrival of a request, and initializing a service handler to process data exchanged after the connection is made.

3> Initialized service handlers perform application-specific processing and communicate via the connection established by the connector and acceptor components.

You can find some easy explanation in this link - http://kurser.iha.dk/ee-ict-master/tiardi/Slides/ARDI3-POSA2-AcceptorConnector.pdf

like image 140
Tejus Prasad Avatar answered Oct 01 '22 02:10

Tejus Prasad