You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Alan Conway (JIRA)" <ji...@apache.org> on 2015/11/25 20:00:13 UTC

[jira] [Created] (PROTON-1064) ruby: add ConnectionEngine alterntive integration style

Alan Conway created PROTON-1064:
-----------------------------------

             Summary: ruby: add ConnectionEngine alterntive integration style
                 Key: PROTON-1064
                 URL: https://issues.apache.org/jira/browse/PROTON-1064
             Project: Qpid Proton
          Issue Type: Improvement
          Components: ruby-binding
    Affects Versions: 0.11
            Reporter: Alan Conway
            Assignee: Alan Conway
             Fix For: 0.12.0


Add a simple integration between a ruby IO object and a proton engine, without using the reactor.  Use the same handler classes for application logic but pump data directly to/from a single IO instance instead of using the selector.

- Avoids issue with GVL (since all IO is done in proton) 
- Can integrate with any ruby IO subclass (not just sockets opened by the reactor.) 
- Can run engines in separate ruby threads for concurrency.

A similar class is available in the C++ and Go bindings.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)