Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 11-17-2005
SteveWampler SteveWampler is offline
Registered User
 
 
Join Date: Sep 2003
Posts: 48
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)
Reply With Quote
  #2 (permalink)  
Old 11-17-2005
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
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.
Reply With Quote
  #3 (permalink)  
Old 11-18-2005
SteveWampler SteveWampler is offline
Registered User
 
 
Join Date: Sep 2003
Posts: 48
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)
Reply With Quote
  #4 (permalink)  
Old 11-18-2005
matthew's Avatar
matthew matthew is online now
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
No, what I was suggesting is that if you have a method such as

void sendTelescopeUpdate(Position pos);

then you could instead have

sequence<Position> PositionSeq;
void sendTelescopeUpdate(PositionSeq pos);

I realize that this is some additional burden on the application, and therefore might not be ideal. If this is a pain and you would rather have an IceStorm specific solution then I refer to my later suggestion
Reply With Quote
  #5 (permalink)  
Old 11-18-2005
benoit's Avatar
benoit benoit is offline
ZeroC Staff
 
Name: Benoit Foucher
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Rennes, France
Posts: 1,540
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.
Reply With Quote
  #6 (permalink)  
Old 11-18-2005
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
You can find an FAQ about oneways and out-of-order dispatch here:

http://www.zeroc.com/faq/onewaysOutOfOrder.html
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -4. The time now is 10:49 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.