You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2014/01/10 19:20:55 UTC

[jira] [Commented] (AVRO-625) RPC: permit out-of-order responses

    [ https://issues.apache.org/jira/browse/AVRO-625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13868074#comment-13868074 ] 

Doug Cutting commented on AVRO-625:
-----------------------------------

Perhaps we should use SPDY for Avro?

SPDY provides secure sessions that multiplex many streams over a single connection.  A handshake need only be performed once per session.  Each request can use a new stream, so responses can arrive out-of-order.  Both synchronous and asynchronous APIs could easily be supported.

For Java, Jetty provides a client and server implementation.  There SPDY libraries for C, Ruby & Python.  For C# the best I can find is the one referenced from:
  http://mail-archives.apache.org/mod_mbox/tomcat-dev/201205.mbox/%3C002601cd3a90$af3e74e0$0dbb5ea0$@preisser@t-online.de%3E

> RPC: permit out-of-order responses
> ----------------------------------
>
>                 Key: AVRO-625
>                 URL: https://issues.apache.org/jira/browse/AVRO-625
>             Project: Avro
>          Issue Type: New Feature
>          Components: java, spec
>            Reporter: Doug Cutting
>            Assignee: Doug Cutting
>
> It should be possible, when using a stateful, connection-based transport, for a client to complete a second request over a connection before the first request has returned.  In other words, responses should be permitted to arrive out-of-order.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)