sandeep.narang

Server Connection Pooling

Discussion created by sandeep.narang on Oct 17, 2011
Latest reply on Oct 18, 2011 by sandeep.narang

Hi Team

 

We have a requirement in which we have to do connection pooling with below scenario:

 

 

 

We are listening to PI SDK events change value through event pipes. We have a list of servers with us arranged in priority in descending order, say Server A, Server B, Server C.

 

 

 

Scenario:

 

Suppose we have connected to Server A and listening to events change. In between Server A goes down. Then we need to automatically connect to server B. Same if server B goes down, we need to connect to server C. in between if server A goes up, then system should be reconected to server A.

 

 

 

Please let us know ow we can achieve such result in OnNewVale method of event pipes. Has PI SDK in built support for this type of pooling?

 

 

 

Thanks and Regards

 

Sachin

Outcomes