Skip to content

[FEATURE ADD] PoolExecutor affinity iterable object wrapper functionality #9

Description

@HunterAP23

Describe the feature that is being tested/implemented
Add the following functionality (and possibly test the performance of) to the PoolExecutor wrapper class:

  • No affinity handling / affinity is handled by the OS
  • List vs Tuple vs Queue performance
    • Affinity handled in a list (multiprocessing manager list)
    • Affinity stored in a tuple (requires multiprocessing manager RLock)
    • Affinity stored in a queue (multiprocessing.queue)
    • Affinity stored in deque (handle choosing between appending/popping from left or right sides)
  • Standard vs random affinity sorting
  • Standard pop/get vs random choice

List any relations to other issues in this repository or in other repositories
Related to https://github.com/HunterAP23/Python_Optimization_Tester
Might be better to test the functionality there instead of here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions