Forum: Ruby Concurrent GEM for Ruby ?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
jamesl (Guest)
on 2009-04-26 03:45
(Received via mailing list)
Hi,

I'm wondering if anyone would like to see a Concurrent Library for
Ruby, like the Java javax.concurrent library ?

I know you can just use this library from jruby, but Im thinking more
of a idiomatic Ruby library, which could also be used ontop of jruby.

If you are interested having such a library please can you let me know
via an email to james <underscore> ladd <at> hotmail <dot> com ?

Rgs, James.
www.jamesladdcode.com
Tony A. (Guest)
on 2009-04-26 04:53
(Received via mailing list)
On Sat, Apr 25, 2009 at 5:45 PM, jamesl <removed_email_address@domain.invalid> 
wrote:

> I'm wondering if anyone would like to see a Concurrent Library for
> Ruby, like the Java javax.concurrent library ?
>

There are quite a few libraries that provide concurrency strategies
already
jamesl (Guest)
on 2009-04-26 05:10
(Received via mailing list)
On Apr 26, 10:52 am, Tony A. <removed_email_address@domain.invalid> wrote:
> medioh.com
Like ?  Do you have a few URL's to share?
jamesl (Guest)
on 2009-04-26 07:45
(Received via mailing list)
> Like ?  Do you have a few URL's to share?

Not sure why I didnt find this the other day
http://moonbase.rydia.net/mental/blog/programming/...
Suresh K. (Guest)
on 2009-04-26 08:44
jamesl wrote:
> Hi,
>
> I'm wondering if anyone would like to see a Concurrent Library for
> Ruby, like the Java javax.concurrent library ?
>
> I know you can just use this library from jruby, but Im thinking more
> of a idiomatic Ruby library, which could also be used ontop of jruby.
>
> If you are interested having such a library please can you let me know
> via an email to james <underscore> ladd <at> hotmail <dot> com ?
>
> Rgs, James.
> www.jamesladdcode.com

I'm wondering if anyone would like to see a Concurrent Library for
Ruby, like the Java javax.concurrent library ?

Please have a look at revactor
http://rubyforge.org/frs/download.php/31492/revact...
Robert K. (Guest)
on 2009-04-26 13:54
(Received via mailing list)
2009/4/26 jamesl <removed_email_address@domain.invalid>:
> I'm wondering if anyone would like to see a Concurrent Library for
> Ruby, like the Java javax.concurrent library ?

Some building blocks are part of the standard library already: Mutex,
Monitor, MonitorMixin, Queue.

> If you are interested having such a library please can you let me know
> via an email to james <underscore> ladd <at> hotmail <dot> com ?

This is a public forum. Why should only you benefit from answers?

Kind regards

robert
Tony A. (Guest)
on 2009-04-26 21:05
(Received via mailing list)
On Sat, Apr 25, 2009 at 7:10 PM, jamesl <removed_email_address@domain.invalid> 
wrote:

> Like ?  Do you have a few URL's to share?
>

Well, I'm not sure what you're after.  Two libraries for actor-based
concurrency (one of them mine) have been linked, but those aren't really
anything like java.util.concurrent.

Are you wanting a small framework for backgrounding work into "thread"
pools? (which would more likely be implemented as process pools)

Ruby's threads provide only sequential execution, since Ruby's memory
model
is inherently sequential.  For concurrent processing it's best to farm
things off to additional processes so that the OS's scheduler can make
them
concurrent.  There are packages to do this as well (e.g. BackgroundDRb)
Louis-Philippe (Guest)
on 2009-04-27 19:00
(Received via mailing list)
If you are looking for a process pool or similar,
http://abundance.rubyforge.org/
it forks an n amount of concurrent process workers then seed/harvest
them by
unix sockets communication,


2009/4/26 Tony A. <removed_email_address@domain.invalid>
This topic is locked and can not be replied to.