[CDO] Correct usage of CDOView in a multithreaded application [message #1760449] |
Thu, 27 April 2017 08:38  |
Eclipse User |
|
|
|
Hi all,
our application is running quite well with CDO, but still, we are aiming to optimize the performance in terms of server access and client memory usage.
Our current approach is to open a separate CDOView within each part of our implementation. I would guess, that there may be as many as 10 views accessing the same data via different CDOView instances.
Now my questions would be:
1. Does each view create its own cached objects, or does CDO share data among views.
2. Is it thread-safe to pass a global view object to multiple threads or should we strictly open a new view for each thread?
3. (If the answer to 2 is "not thread-safe"): can we access objects loaded by a view from Thread1 within Thread2, or should we open these objects from a separate CDOView within Thread2?
Thanks!
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03748 seconds