|
|
|
||||||
|
Unfortunately FAQ doesn't help
![]() Here is more theoretical question: 1. I have single servant ServerI 2. I create many Object Adapters and add this single Servant to each 3. Many clients connect through different object adapters to the single servant and execute the same method void Foo() Question is: will there be any point of sinchronization where all the calls to method Foo() will be queued? or there is a possibility to call the same method Foo() simultaneously in different threads? |
|
||||||
|
Why doesn't the FAQ help? If the methods are not being concurrently dispatched by the Ice run time there can only be two reasons:
- There are not multiple threads in the thread pool attached to the servants OA. - The methods are not called concurrently on the server. What can also easily occur is that methods are dispatched concurrently, but you misinterpret the results. For example, if your servant implementation does almost nothing then there is little chance for methods to be concurrently called. Another easy way to misinterpret results is caused by your servant implementation itself preventing concurrent execution due to some synchronization. This does not mean that the Ice run-time is not calling your servant methods concurrently, it means that your servant has some synchronization that prevents the methods executing concurrently. Quote:
Quote:
Last edited by matthew : 03-11-2008 at 06:26 AM. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ThreadPool warning when Size=MaxSize | jae | Help Center | 1 | 12-28-2007 10:03 PM |
| Strange ThreadPool size warning | mefoster | Help Center | 1 | 10-02-2007 06:08 AM |
| How to get Ice.ThreadPool.Server | sinofool | Help Center | 2 | 07-10-2007 11:43 AM |
| Ice.ThreadPool Error Message | Yunqiao Yin | Help Center | 1 | 02-26-2007 11:54 PM |
| Question on ThreadPool | ylangin | Help Center | 1 | 03-23-2006 09:27 AM |