Home Help Center

Does ICE support batched twoway invocation?

sfxusfxu Member Shifu XuOrganization: Argonne National LabProject: EPICS CA
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

Comments

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    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.
  • sfxusfxu Member Shifu XuOrganization: Argonne National LabProject: EPICS CA
    Is there any workaround to implement this feature?

    Thanks, matthew
  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    You can design your interfaces to send a bunch of requests and replies. For example, if you had:
    interface Calc
    {
      int add(int n1, int n2);
    }; 
    

    This could be written as:
    interface Calc
    {
      int batchAdd(IntSeq numbers);
    };
    

    Naturally it is not as convenient as built in batching, but you can accomplish the same goal.
Sign In or Register to comment.