I’ve used both Celery and RQ in the past but now I’m wondering if there is a piece of software that will allow me to consume much simpler values from a queue, like a string, and use the value as argument in a function on the task runner side.
I suspect I have to write this myself using asyncio but I want to check with the community first.
I’m picturing an asyncio process on the job runner side that consumes these string values and for each string it runs a function. The goal is simply to minimize the complexity of data I’m passing between the producer and the consumer, so it’s easily validated.
submitted by /u/DirectDemocracy84
[link] [comments]
r/learnpython I’ve used both Celery and RQ in the past but now I’m wondering if there is a piece of software that will allow me to consume much simpler values from a queue, like a string, and use the value as argument in a function on the task runner side. I suspect I have to write this myself using asyncio but I want to check with the community first. I’m picturing an asyncio process on the job runner side that consumes these string values and for each string it runs a function. The goal is simply to minimize the complexity of data I’m passing between the producer and the consumer, so it’s easily validated. submitted by /u/DirectDemocracy84 [link] [comments]
I’ve used both Celery and RQ in the past but now I’m wondering if there is a piece of software that will allow me to consume much simpler values from a queue, like a string, and use the value as argument in a function on the task runner side.
I suspect I have to write this myself using asyncio but I want to check with the community first.
I’m picturing an asyncio process on the job runner side that consumes these string values and for each string it runs a function. The goal is simply to minimize the complexity of data I’m passing between the producer and the consumer, so it’s easily validated.
submitted by /u/DirectDemocracy84
[link] [comments]