Skip to content

Parallelize queue parsing in API #35

Closed
campb303 opened this issue Jun 29, 2021 · 1 comment
Closed

Parallelize queue parsing in API #35

campb303 opened this issue Jun 29, 2021 · 1 comment
Assignees
Labels
feature-request Request for functionality that has not already been implemented question Something that requires more information before moving forward

Comments

@campb303
Copy link
Collaborator

Currently, when the /api/data/<queue> is processed, queues are parses sequentially:

queue_list = []
for queue in queues_requested:
    queue_list.append(_Queue(queue, headers_only=headers_only).to_json())
return (queue_list, 200)

Rewriting this to support threading i.e. loading multiple queues simultaneously could result in significant performance increases by a factor of the number of concurrent processes possible.

@campb303 campb303 added question Something that requires more information before moving forward feature-request Request for functionality that has not already been implemented labels Jun 29, 2021
@campb303
Copy link
Collaborator Author

campb303 commented Aug 3, 2021

Fixed in #45

@campb303 campb303 closed this as completed Aug 3, 2021
Sign in to join this conversation on GitHub.
Labels
feature-request Request for functionality that has not already been implemented question Something that requires more information before moving forward
Projects
None yet
Development

No branches or pull requests

2 participants