Publish to IceStorm with multiple thread

in Help Center
I'm testing the throughout of publish with icestorm and to maximum the network usage, I tried to use multiple threads to publish messages.
So I add this to my publisher config:
Ice.ThreadPool.Client.Size=256 Ice.ThreadPool.Client.SizeMax=256 I also use async method to publish, e.g. begin_xxx()
I use one way delivery mode:
Ice.ObjectPrx publisher = topic.getPublisher().ice_oneway(); The result is that I only see one connection to icestorm publish port.
I wonder if I can have multiple connections for publishing?
Thanks,
Craig
So I add this to my publisher config:
Ice.ThreadPool.Client.Size=256 Ice.ThreadPool.Client.SizeMax=256 I also use async method to publish, e.g. begin_xxx()
I use one way delivery mode:
Ice.ObjectPrx publisher = topic.getPublisher().ice_oneway(); The result is that I only see one connection to icestorm publish port.
I wonder if I can have multiple connections for publishing?
Thanks,
Craig
0
Comments
You can use the the proxy ice_connectionId method to create multiple connections. See https://doc.zeroc.com/display/Ice36/Connection+Establishment#ConnectionEstablishment-ids for more information.
Cheers,
Benoit.