Skip to content
Discussion options

You must be logged in to vote

Yes, so in this way, all you need to do is:

  1. Create a pool for each group of workers that the user wants to run in threads/processes.
  2. Use pool.submit() / loop.run_in_executor(pool, ...) to transfer items to these pools.

When using the pool, idle workers will not be a problem if you pass the appropriate max_workers, so it is suitable for any scenario. Moreover, it dynamically starts threads/processes, so the scheduler will not suffer unnecessarily.

At the moment, neither Culsans nor aiologic support inter-process communication. You can find out why aiologic does not support it at https://aiologic.readthedocs.io/latest/advanced-topics/libraries.html#why-is-multiprocessing-not-supported. Ho…

Replies: 2 comments 17 replies

Comment options

You must be logged in to vote
2 replies
@dodofarm
Comment options

@x42005e1f
Comment options

Comment options

You must be logged in to vote
15 replies
@x42005e1f
Comment options

@x42005e1f
Comment options

@dodofarm
Comment options

@x42005e1f
Comment options

Answer selected by dodofarm
@dodofarm
Comment options

@x42005e1f
Comment options

@dodofarm
Comment options

@x42005e1f
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #3 on August 28, 2025 23:19.