Celluloid(::IO/ZMQ) 0.14.0.pre and Reel 0.4.0.pre released

72 views
Skip to first unread message

Tony Arcieri

unread,
May 1, 2013, 2:52:06 PM5/1/13
to cellulo...@googlegroups.com
Hey there everyone,

I've done some prereleases of all of the Celluloid gems and Reel, incorporating a number of bugfixes and new features mostly done by Tim Carey-Smith.

The largest change is the handling of blocks. Previously Celluloid ran blocks in the actor receiving a call. This is problematic because blocks can close over state owned by the calling actor/thread, and at that point the environment becomes silently and implicitly shared between threads.

In these new versions, by default blocks will run in the caller. Among other things this allows blocks to work with DCell much in the same way they work on DRb. Yay!

The changelogs aren't entirely up to date, so perhaps Tim can update them and/or fill everyone in on the other details.

If you've been running Celluloid master due to bugs in 0.13, please give the 0.14.0.pre gems a try and let us know how they're working for you!

--
Tony Arcieri

Ben Lovell

unread,
May 1, 2013, 3:38:03 PM5/1/13
to cellulo...@googlegroups.com
Awesomeness \o/

Thanks guys. 

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "Celluloid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to celluloid-rub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

cootcraig

unread,
May 3, 2013, 11:55:12 AM5/3/13
to cellulo...@googlegroups.com, tony.a...@gmail.com

On Wednesday, May 1, 2013 12:52:06 PM UTC-6, Tony Arcieri wrote:
Hey there everyone,

I've done some prereleases of all of the Celluloid gems and Reel, incorporating a number of bugfixes and new features mostly done by Tim Carey-Smith.

If you've been running Celluloid master due to bugs in 0.13, please give the 0.14.0.pre gems a try and let us know how they're working for you!


First test of Reel 0.4.0.pre, 0.14.0.pre(celluloid,celluloid-io,celluloid-zmq) is working. I'm happy.
Thanks to the contributors.

Highlights:
  Reel 0.4.0.pre, 0.14.0.pre(celluloid,celluloid-io,celluloid-zmq) are all used.
  Reads done with celluloid-io UDPSocket
  Reads done with celluloid-zmq
  Posgresql database write done with Sequel,jdbc-postgres

This is on Ubuntu.
$ jruby -v
jruby 1.7.4.dev (1.9.3p392) 2013-05-01 8964e43 on Java HotSpot(TM) 64-Bit Server VM 1.7.0_21-b11 [linux-amd64]

Excerpts from the Gemfile.lock
  specs:
    celluloid (0.14.0.pre)
      timers (>= 1.0.0)
    celluloid-io (0.14.0.pre)
      celluloid (>= 0.13.0)
      nio4r (>= 0.4.0)
    celluloid-zmq (0.14.0.pre)
      celluloid (>= 0.13.0)
      ffi
      ffi-rzmq
    certified (0.1.1)
    ffi (1.8.1-java)
    ffi-rzmq (1.0.1)
      ffi
    http (0.4.0)
      certified
      http_parser.rb
    http_parser.rb (0.5.3-java)
    jdbc-postgres (9.2.1002.1)
    nio4r (0.4.3-java)
    reel (0.4.0.pre)
      celluloid-io (>= 0.8.0)
      http (>= 0.2.0)
      http_parser.rb (>= 0.5.3)
      rack (>= 1.4.0)
      websocket_parser (>= 0.1.2)
    sequel (3.47.0)
 

Josh Adams

unread,
May 3, 2013, 11:58:05 AM5/3/13
to cellulo...@googlegroups.com, tony.a...@gmail.com
I've verified I have a moderately complex system upgraded to 0.14.0.pre with zero known issues.  Using reel, celluloid-zmq, celluloid-websocket-client


 

--
You received this message because you are subscribed to the Google Groups "Celluloid" group.
To unsubscribe from this group and stop receiving emails from it, send an email to celluloid-rub...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Josh Adams
CTO | isotope|eleven
[cell] (205) 215-3957
[work] (877) 476-8671 x201

cootcraig

unread,
May 3, 2013, 12:11:22 PM5/3/13
to cellulo...@googlegroups.com, tony.a...@gmail.com

On Friday, May 3, 2013 9:58:05 AM UTC-6, Josh Adams wrote:
I've verified I have a moderately complex system upgraded to 0.14.0.pre with zero known issues.  Using reel, celluloid-zmq, celluloid-websocket-client

 Excellent!  By the way, I bopped over and looked at the Isotope11 blog, lot's of useful info for me.

Josh Adams

unread,
May 3, 2013, 12:30:31 PM5/3/13
to cellulo...@googlegroups.com

Glad to hear it

--

jy j

unread,
May 4, 2013, 1:12:25 AM5/4/13
to cellulo...@googlegroups.com, tony.a...@gmail.com
awesome!!

在 2013年5月2日星期四UTC+8上午2时52分06秒,Tony Arcieri写道:

Tim Carey-Smith

unread,
May 6, 2013, 4:12:09 AM5/6/13
to cellulo...@googlegroups.com
FYI, I have just updated the change logs, let me know if there is anything important missing.

I think we should release soon, then we can start on the really fun stuff!

Ciao,
Tim
Reply all
Reply to author
Forward
0 new messages