Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-18-2008
sfxu sfxu is offline
Registered User
 
Name: Shifu Xu
Organization: Argonne National Lab
Project: EPICS CA
 
Join Date: Mar 2008
Posts: 10
Does ICE support batched twoway invocation?

The client may send a number of twoway invocations to get values from server(s). If ICE supports
batched twoway invocation, the invocations can be buffered and explicitly flushed by client.
This would greatly reduce the overhead.

Thanks,
Shifu
Reply With Quote
  #2 (permalink)  
Old 03-18-2008
matthew's Avatar
matthew matthew is offline
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
We have discussed this internally, however, we don't have such a feature at present, nor are we likely to add it without a sponsor. Should we support such a feature it would also only be usable when using AMI requests to be practical. We'd also have to version the protocol, which is not something to be done lightly.
Reply With Quote
  #3 (permalink)  
Old 03-19-2008
sfxu sfxu is offline
Registered User
 
Name: Shifu Xu
Organization: Argonne National Lab
Project: EPICS CA
 
Join Date: Mar 2008
Posts: 10
Is there any workaround to implement this feature?

Thanks, matthew
Reply With Quote
  #4 (permalink)  
Old 03-19-2008
matthew's Avatar
matthew matthew is offline
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,060
You can design your interfaces to send a bunch of requests and replies. For example, if you had:

Code:
interface Calc
{
  int add(int n1, int n2);
};
This could be written as:

Code:
interface Calc
{
  int batchAdd(IntSeq numbers);
};
Naturally it is not as convenient as built in batching, but you can accomplish the same goal.
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
oneway invocation Ice vs CORBA rdaneel Help Center 2 02-27-2008 04:57 AM
fast response of a twoway after a huge batch David Help Center 2 06-26-2006 09:10 AM
Equivalent of TAO's buffered twoway? SteveWampler Help Center 5 11-18-2005 03:57 PM
One Ice invocation --> Two simultaneous tcp connections. mario Help Center 3 06-29-2005 05:05 AM
Asynchronous invocation stephan Help Center 5 04-21-2004 09:30 AM


All times are GMT -4. The time now is 09:28 AM.


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.