|
|
|
|||||
|
Proxy Colocation Optimization
I think I'm having some trouble understanding when Ice chooses to use colocation optimization for proxies. I've created a quick sample program to test it:
Code:
class Test(Ice.Locator):
def findAdapterById_async(self, cb, id, current = None):
cb.ice_response(None)
id = Ice.stringToIdentity('blah')
c = Ice.initialize(sys.argv)
oa = c.createObjectAdapterWithEndpoints('test', 'tcp -h localhost')
oa.add(Test(), id)
oa.activate()
prx = oa.createDirectProxy(id)
prx = Ice.LocatorPrx.checkedCast(prx)
|
|
|||||
|
To what extent can collocation optimization be applied to IceStorm? Is there a way for me to fire up the topic manager programmatically from C++, so that it lives on the same communicator as my servant classes that do most of the publishing?
|
|
||||||
|
At present IceStorm cannot use the collocation optimization because it uses the Blobject interface internally, which does not support collocation optimized calls.
|
![]() |
| 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 |
| collocation optimization per object | jli125 | Help Center | 1 | 07-11-2007 12:12 AM |
| AMD Collocation Optimization | bpolivka | Patches | 1 | 03-19-2007 03:17 PM |
| Collocation Optimization with IcePack: a bug? | zanza | Bug Reports | 1 | 07-01-2005 06:48 AM |
| Optimization for WIN32 | hellocyf | Comments | 3 | 06-22-2004 11:54 PM |
| Is it possible to disable Collocation Optimization? | galbe | Help Center | 3 | 11-05-2003 12:29 PM |