Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
proton-0.11.0
-
None
Description
Refactor ruby binding to use a native Ruby IO driver with the C pn_connection_driver for AMQP protocol support.
Ruby ConnectionDriver - drive a single connection, single threaded
- Use any ruby IO subclass
- Works with native Ruby polling primitives
- Avoids Ruby threading issue with GVL (all IO is done in Ruby)
- Thread safe function injection for MT use.
Client/server examples using native ruby connect, multi-threaded broker example using ruby listen.
Attachments
Issue Links
- is required by
-
PROTON-1636 Fairly Consistent (but intermittent) hangs in ruby-example-test/ruby-test-container using Travis CI
- Closed
-
PROTON-1693 [ruby] Replace C-reactor based code with new Container
- Closed
- supercedes
-
PROTON-1063 ruby: ruby reactor holds GVL in process
- Closed