Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
task queue
#9
(Jun-22-2020, 12:16 PM)freeman Wrote: I guess you can use aioconnectors, which is a very easy to set up broker based on asyncio : https://pypi.org/project/aioconnectors/
You have the send_message_await_response method which sends a message and waits asynchronously for a response from your remote application : your remote application could respond when the processing is done, which could enable you to manage your local load balancing accordingly.

short demo :
https://youtu.be/ZSoomtVcGxE
Reply


Messages In This Thread
task queue - by Valon1981 - Mar-18-2020, 09:29 PM
RE: task queue - by Gribouillis - Mar-18-2020, 11:17 PM
RE: task queue - by ndc85430 - Mar-19-2020, 05:02 AM
RE: task queue - by Valon1981 - Mar-19-2020, 09:24 AM
RE: task queue - by ndc85430 - Mar-19-2020, 12:28 PM
RE: task queue - by Valon1981 - Mar-19-2020, 01:23 PM
RE: task queue - by ndc85430 - Mar-20-2020, 05:05 PM
RE: task queue - by freeman - Jun-22-2020, 12:16 PM
RE: task queue - by freeman - Jul-07-2020, 07:41 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  count certain task in task manager[solved] kucingkembar 2 1,158 Aug-29-2022, 05:57 PM
Last Post: kucingkembar
  Schedule a task and render/ use the result of the task in any given time klllmmm 2 2,132 May-04-2021, 10:17 AM
Last Post: klllmmm
  How to create a task/import a task(task scheduler) using python Tyrel 7 3,790 Feb-11-2021, 11:45 AM
Last Post: Tyrel
  Queue in Pygame constantin01 1 3,719 Jan-07-2020, 04:02 PM
Last Post: metulburr
  Queue maxsize mr_byte31 2 4,591 Sep-03-2019, 07:02 PM
Last Post: mr_byte31
  Queue.Queue() would not reduce capacity after get() yuan8421 9 11,137 Jan-02-2018, 09:38 PM
Last Post: Windspar
  Threading and Queue nexusfactor 5 4,314 Oct-16-2017, 04:14 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020