|
|
|
|||||
|
Equivalent of TAO's buffered twoway?
The Event Distribution Performance comparision includes a comparison
of Ice's batchOneway and TAO's buffered twoway. Unfortunately, batchOneway, like simple oneway, does not seem to guarantee delivery order under stress. Is there a way to get ordered delivery with the performance gain implied by batching/buffering?
__________________
Steve Wampler National Solar Observatory (www.nso.edu) Ice used as plugin on ATST (atst.nso.edu) |
|
||||||
|
No, there is no way to do this directly in IceStorm. However, its pretty easy to do it yourself by sending sequences of data.
If you have a commercial need for this please contact sales@zeroc.com. |
|
|||||
|
I'm not sure I understand - are you suggesting that we bypass IceStorm entirely
if we want ordered batched delivery of events (effectively writing our own IceStorm replacement) or attaching a sequence id to events through IceStorm so the subscriber can defer internal delivery of items that have a too-high sequence id, in hopes that the lower ones will show up soon? Thanks!
__________________
Steve Wampler National Solar Observatory (www.nso.edu) Ice used as plugin on ATST (atst.nso.edu) |
|
||||||
|
Although we indeed don't have anything equivalent to TAO buffered twoway requests as Matthew pointed out, if your concern with batch oneway is only about the risk to receive out of order updates, it's possible to prevent this from happening.
This is described in the Ice manual, section 30.11 "Oneway invocations" (and this applies for batch oneways as well). In short, you need to configure the thread pool of your subscriber to only have one thread (or use a dedicated object adapter with a thread pool of one thread for your subscriber object). You have the guarantee that your batch of oneway requests won't be re-ordered if there's only one thread to read the incoming batchs over the connection. Let us know if you need more information! Benoit. |
|
||||||
|
You can find an FAQ about oneways and out-of-order dispatch here:
http://www.zeroc.com/faq/onewaysOutOfOrder.html |
![]() |
| 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 |
| fast response of a twoway after a huge batch | David | Help Center | 2 | 06-26-2006 09:10 AM |
| Equivalent to Telecom Log Service for Ice? | Paul Drummond | Help Center | 4 | 04-19-2006 01:42 PM |
| Equivalent types | kwaclaw | Help Center | 13 | 10-09-2005 11:33 AM |