|
|
|
|||||
|
connection setup time
Hi,
I am currently trying to get some performance testing values for a system built on ice. I am trying to get the time it takes to transfer a large object through ice as a parameter, the first time the method is called there is a long delay (as it sets up the connection) and subsequent calls are considerably shorter. The problem is i want all these calls to include connection setup so they should give a similar timing value. I have made sure to connectionCached(false) and locatorCacheTimeout(0) but the first call is still taking up to 10seconds while subsequent calls are about 1sec. Can you offer any insight into what could be causing these dramatic differences, and is there anyway to turn it off? Thanks for any help you can offer |
|
||||||
|
Note that disabling connection caching doesn't disable connection reuse. What connection caching does is that if there are multiple endpoints, and connections to some of these endpoints do already exist, such endpoints with existing connections are preferred. For more info on connection caching, please have a look at the article "Connection Management in Ice" in issue 24 of Connections.
If you want a newly established connection for every call (why?), then close the connection after every call by using proxy->ice_getConnection()->close(false). Last edited by marc : 07-23-2007 at 09:19 AM. |
|
|||||
|
Thanks for your replies
It would appear that ice is trying a dysfunctional endpoint first, is there anyway to force it to always bypass that endpoint? |
|
||||||
|
Ice cannot know whether an endpoint is dysfunctional before it has tried to connect to such endpoint. If an endpoint is dysfunctional, the server shouldn't publish it.
|
![]() |
| 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 |
| IceSSL setup ca with python tools | tkrieger | Help Center | 1 | 10-24-2006 05:32 AM |
| How to control ICE socket connection time out parameter? | chaosun | Help Center | 1 | 08-30-2005 08:31 AM |
| How to setup server cluster | fitzharrys | Help Center | 2 | 06-27-2005 09:37 AM |
| Eclipse Setup for Ice | Bytenik | Help Center | 6 | 06-23-2005 02:35 AM |
| How to setup IceStorm to push via UDP. | JohnB | Help Center | 3 | 02-11-2005 08:51 PM |