Coder Social home page Coder Social logo

Comments (1)

kentonv avatar kentonv commented on June 23, 2024

Hi Ben,

As I understand it, ICE's "batched invocations" allow you to send multiple messages in one batch but still do not allow the second message in the batch to depend on the response to the first message. This can reduce the number of network packets sent but does not reduce the number of round trips required.

(I could be wrong on this, but I did ask one of the ZeroC authors if they have anything like promise pipelining and they told me they did not.)

Some systems (not ZeroC ICE, AFAICT) support a concept of "batched invocation chaining" which is very close to promise pipelining, but still requires that all the calls be made in a single batch. Promise Pipelining is more flexible in that you can kick off the first call before you're ready to make the second, and you also receive the responses when they're ready rather than all at once. This also tends to mean you can keep your code much cleaner, because the code responsible for filling out the first request does not necessarily need to know whether anyone plans to pipeline on its result.

from capnp-vs-ice.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.