Starling eaquivalent or jruby?

Hi,

I wanted to install the starling gem with jruby:
jgem install starling-starling
but it complains that it is a native extension.

Any suggestion of an alternative usable with JRuby? I need a simple
queuing system like starling, not more.

Thanks in advance.

Raphaël

Web database: http://www.myowndb.com
Free Software Developers Meeting: http://www.fosdem.org


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

I’ve been using ActiveMQ with JMS under Glassfish for a while now and
I’ve
been very happy with it. You can even use Message Driven Beans to
process
new messages asynchronously, though I’ve yet to write a MDB in JRuby.

You can run a standalone ActiveMQ broker, or you can deploy the resource
adapter in Glassfish and have that funciton as a broker.

Check out the following links to get started:

http://www.shaneharvie.com/2007/07/jruby-jms-as-replacement-for.html
http://www.nabble.com/MDB-that-receives-from-ActiveMQ-example-td14848249.html

Regards,

Martijn

Raphael B. wrote:

Thanks in advance.
http://xircles.codehaus.org/manage_email


View this message in context:
http://www.nabble.com/starling-eaquivalent-or-jruby--tp21478543p21479147.html
Sent from the JRuby - User mailing list archive at Nabble.com.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

What do you need the queue for? I had looked at using the queue
available in
the Glassfish container as well as Nick S.'s work for message
passing,
but decided that it was too heavyweight and that a DB queue would
suffice
for the time being.

Starling should work in JRuby. I have a (really messy) implementation
where
the web servers use MRI and “Pack of Mongrels” to serve requests while
the
Starling queue runs on JRuby because we simply had too many connections
and
background jobs for MRI threading to handle. In a pure JRuby
implementation,
Starling will fire up another instance of Java, which is less than
ideal.

Ikai

On 1/15/09 7:13 AM, “Raphael B.” [email protected] wrote:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

On Thu, Jan 15, 2009 at 3:48 PM, Martijn S [email protected] wrote:

http://www.shaneharvie.com/2007/07/jruby-jms-as-replacement-for.html
http://www.nabble.com/MDB-that-receives-from-ActiveMQ-example-td14848249.html

Thanks Martijn.

However I’m using jetty_rails for deployment (and reallly like the
solution), and I wonder if actimq is not a bit overkill for what I
need at this time.

Raphaël

I wanted to install the starling gem with jruby:
Web database: http://www.myowndb.com


Web database: http://www.myowndb.com
Free Software Developers Meeting: http://www.fosdem.org


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Does that does JMS? Thought it was AMQP only
(though it does a Java binding).

On Fri, Jan 16, 2009 at 6:28 AM, Khaled al Habache [email protected]
wrote:

What do you need the queue for? I had looked at using the queue available
background jobs for MRI threading to handle. In a pure JRuby

I’ve been using ActiveMQ with JMS under Glassfish for a while now and

Raphaël

Hi,
Raphaël

To unsubscribe from this list, please visit:
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

On Thu, Jan 15, 2009 at 7:40 PM, Ikai L. [email protected] wrote:

What do you need the queue for? I had looked at using the queue available in
the Glassfish container as well as Nick S.'s work for message passing,
but decided that it was too heavyweight and that a DB queue would suffice
for the time being.

I think I’ll go for the DB queue too for the time being.

Cheers

Raphaël> On 1/15/09 7:13 AM, “Raphael B.” [email protected] wrote:

Check out the following links to get started:
Raphaël

Hi,
Raphaël

http://xircles.codehaus.org/manage_email


Web database: http://www.myowndb.com
Free Software Developers Meeting: http://www.fosdem.org


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

You might like to try www.rabbitmq.com , heard it’s lighter than
apache
one…


Eng Khaled alHabache
http://www.khelll.com