Forum: JRuby jruby and multi-threaded background processing

Posted by Karl Baum (Guest)
on 2010-02-08 13:02
(Received via mailing list)
Coming from the java world, I am wondering if people are taking
advantage of java threads for background processing in the jruby
world.  What tools are people using?  Are people leveraging jms for
this type of work?  If so, what JMS implementation and what are they
using to montor the state of their worker threads?  I like the looks
of resque for background processing and monitoring active jobs but
given that it makes heavy use of forking new child processes, it
doesn't seem like a good fit for java.

thx.

-karl

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Roger Gilliar (Guest)
on 2010-02-08 16:08
(Received via mailing list)
I just use the Java threading libs since they provide everything I
need. Up to this point I had no real use for a JMS based toolset but I
did some evaluation work with ApacheMQ.

Regards
   Roger

Am 08.02.2010 um 13:04 schrieb Karl Baum:

>
> -karl
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>   http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Karl Baum (Guest)
on 2010-02-08 19:41
(Received via mailing list)
Definitely want to leverage java threads, but i need a higher level
abstraction on top of the threads that provides for monitoring and
control of queues, running background jobs, retries and failures.. etc.

thx.

-karl


On Feb 8, 2010, at 10:06 AM, Roger Gilliar wrote:

>> advantage of java threads for background processing in the jruby  
>>
>
>   http://xircles.codehaus.org/manage_email
>
>


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
Posted by Peter Sönnergren Lind (Guest)
on 2010-02-09 11:43
(Received via mailing list)
Maybe you should look into Torquebox?
http://www.rubyinside.com/torquebox-an-all-in-one-javajboss-powered-ruby-webapp-platform-2783.html
http://torquebox.org/documentation/browse/1.0.0.Beta18/scheduled-jobs.html

It basically wraps Java EE stuff like JMS in a Ruby API on top of JBoss.

BR!
//Peter
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.