Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #50215
| From | dieter <dieter@handshake.de> |
|---|---|
| Subject | Re: AMQP listening and user-facing daemon |
| Date | 2013-07-09 09:05 +0200 |
| References | <51D9E463.7030403@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4430.1373353533.3114.python-list@python.org> (permalink) |
Justin Chiu <c.justin88@gmail.com> writes: > What is the best approach to writing a concurrent daemon that can > execute callbacks for different types of events (AMQP messages, parsed > output of a subprocess, HTTP requests)? I fear your question is too specific (which means you must investigate yourself). First of all, it is always very difficult to answer questions like "the best way" -- many many details are involved there. You provided details but to appreciate them one has to know "AMQP", "Openstack Notifications", "twisted", "greenlets", ... There will not be a lot of people with this knowledge (I do not belong to them). I believe that you will be able to realize a solution based on (Python) threads. It gives you the more freedom than "twisted" or "greenlets". But a different approach might be "better" (in some respect).
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: AMQP listening and user-facing daemon dieter <dieter@handshake.de> - 2013-07-09 09:05 +0200
csiph-web