|
|
| Author |
Message |
|
| Guest |
Posted: Mon Oct 12, 2009 2:43 am |
|
|
|
Guest
|
Hi,
I am new to using RabbitMQ and would like to know if the py-amqplib
has a branch available with non-blocking sockets for async style amqp
consumers & producers. I did see some code was shared about a year
ago: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2008-March/000550.html
, but I can't seem to see it integrated in the current source
available in the mercurial repository.
I have looked at tx-amqplib, but I don't like the heavy dependencies
on twisted, zope, etc...
Thank you in advance for your advice!
Cheers!
S |
|
|
| Back to top |
|
| Guest |
Posted: Mon Oct 12, 2009 10:16 am |
|
|
|
Guest
|
On Mon, Oct 12, 2009 at 03:42, Sébastien <arnaudsj@gmail.com> wrote:
> I am new to using RabbitMQ and would like to know if the py-amqplib
> has a branch available with non-blocking sockets for async style amqp
> consumers & producers.
> I did see some code was shared about a year
> ago: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2008-March/000550.html
> , but I can't seem to see it integrated in the current source
> available in the mercurial repository.
Hi!
First, Alexis has a bunch of interesting links:
http://delicious.com/alexisrichardson/rabbitmq+python
The non-blocking code for py-amqplib was added to mainline for
a while, but later removed. I did some hacking on py-amqplib
to make non-blocking consuming, but to be frank, it barely works:
http://code.google.com/p/evserver/source/browse/trunk/evserver/examples/django_chat/views.py#68
(the hack there is to make py-amqplib socket non-blocking,
and catch exceptions from deep inside amqplib)
> I have looked at tx-amqplib, but I don't like the heavy dependencies
> on twisted, zope, etc...
I'm afraid tx-amqp is the most mature in async amqp-python world.
It's pretty nice to work with, once you get started. But
getting started with twisted is not always a nice experience.
Though, I do recommend tx-amqp.
Cheers!
Marek Majkowski
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Oct 12, 2009 2:06 pm |
|
|
|
Guest
|
Thank you all for the advice - looks like I need to give txAMQP a
better shot. Just had some issues though getting zope_interface to
install on Snow Leopard under Python 2.6.3, not sure why...
Thanks!
S |
|
|
| Back to top |
|
| Guest |
Posted: Mon Oct 12, 2009 2:13 pm |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Tue Oct 13, 2009 2:33 pm |
|
|
|
Guest
|
On Sun, 11 Oct 2009 21:42:18 -0500
Sébastien <arnaudsj@gmail.com> wrote:
> Hi,
>
> I am new to using RabbitMQ and would like to know if the py-amqplib
> has a branch available with non-blocking sockets for async style
> amqp consumers & producers. I did see some code was shared about a
> year ago:
> http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/2008-March/000550.html ,
> but I can't seem to see it integrated in the current source available
> in the mercurial repository.
>
> I have looked at tx-amqplib, but I don't like the heavy dependencies
> on twisted, zope, etc...
>
I'm also working on an asynchronous/non-blocking AMQP library for
Python, built on Eventlet.
http://bitbucket.org/edarc/amqpev
Have a look at the examples on the BB Wiki page to get a feel for the
style of the API.
It is alpha quality at the moment, still missing a feature or two, and
unfortunately I'm not aware of anyone else who has tried it yet. If
you're in the immediate need for something production ready, stick to
txAMQP.
As an aside, I would advise anyone considering Twisted to also have a
look at Eventlet, if only to compare two very different ways of looking
at event-driven problems. Only trouble with Eventlet is a practical one:
it simply cannot compete right now with Twisted's huge library of
implemented protocols.
> Thank you in advance for your advice!
>
> Cheers!
>
> Sébastien Arnaud
> arnaudsj@gmail.com
>
-Kyle
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| wuji |
Posted: Sat Aug 11, 2012 2:03 am |
|
|
|
User
Joined: 10 Aug 2012
Posts: 654
|
tate with roughly the same population as the city of of cheap polo shirts of San Antonio, has been a momentum-setter in presidential elections
nearly a century.While Iowa has held its caucus before New New [h4]red bottom shoes[/h4] New Hampshire's primary every year since 1972, Iowa's caucus results
non-binding and delegates are not officially awarded until June, making making cheap designer *beep* making New Hampshire the first state to award delegates in
presidential nominating cycle.Since its first-in-the-nation status became official more than than cheap Christian Louboutin than 30 years ago, only two Republican presidential candidates have
in New Hampshire and gone on to win the nomination.With nomination.With Christian Louboutin Outlet nomination.With Mitt Romney taking a narrow win in Iowa and
a |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|