https://www.rabbitmq.com/tutorials/tutorial-two-python.html

That might provide some food for thought maybe adapted to boss_mq or
something?!

On 27 January 2015 at 23:03, emacstheviking <[email protected]> wrote:

> Why can't you just use a gen_server with an asynchronous callback?
>
> create your gen server, when you need your background processing, use
> send_event/2 on it and then let it rip... your main process need only have
> a receive loop in it somewhere and that should do it.
>
> Otherwise if it is a *big* requirement you might use boss_mq as a simple
> work queue but again the same principle will apply. And there there is
> RabbitMQ for the big jobs. I love Rabbit! Even as a vegetarian. :)
>
> Is this is response to a web request though??? That could be interesting
> because you would either have to use a keep-alive (web socket) or once
> processing is complete, use a POST back to the caller but then the caller
> needs to be listening for it which means tagging each request with a unique
> ID etc etc
>
> I like being a systems architect!  ROFLCOPTER etc.
>
> Hope that helps a bit... ask more detailed questions if you like.
>
> Sean.
>
>
> On 27 January 2015 at 22:58, Miguel Benitez <[email protected]> wrote:
>
>> Hi community,
>>
>> I have a function that takes a long time to run, so I'd like to execute
>> it in the background, I wonder if there is something like
>> http://www.celeryproject.org/ in chicagoboss?
>>
>> Any help is appreciated
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "ChicagoBoss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> Visit this group at http://groups.google.com/group/chicagoboss.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/chicagoboss/1a753622-7432-4a00-bd62-5779187509fd%40googlegroups.com
>> <https://groups.google.com/d/msgid/chicagoboss/1a753622-7432-4a00-bd62-5779187509fd%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/CAEiEuU%2Bi9e7A25zQOtrYvdoi0E32jT6iuNtvGPP%3D_k7NRvXv1Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to