Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

4039

May 15th, 2010 20:00

Preferred pool connection model in multithreaded environment

I have the application that has multiple threads reading and writing files from/to same Centera pool.

What is the ‘preferred’ pool connection model in this case?

  1. One pool reference is shared among all threads
  2. Each thread manages its own pool reference.

Is there any advantage in performance or resource usage between these two approaches?

I am currently using the first model, but I see drawbacks in error handling – e.g. when the pool connection is lost the recovery steps need synchronization.

No Responses!
No Events found!

Top