Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-threaded "what i see" node #230

Open
adamdbrw opened this issue Sep 16, 2024 · 0 comments
Open

Multi-threaded "what i see" node #230

adamdbrw opened this issue Sep 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@adamdbrw
Copy link
Member

Is your feature request related to a problem? Please describe.
The whatisee node uses a default, single-threaded executor, but it is meant to process potentially data-heavy callback from different sources, which poses a performance problem.

Describe the solution you'd like
Switch to multi-threaded executor. The mutex is already in place.

Describe alternatives you've considered
Dividing the node into separate responsibilities, but they key principle of the node is to be a funnel for AI (since it can only consume 1 image per given rate, at least currently).

Additional context
The mutex is already there, the primary work with this issue is concurrency analysis and testing.

@adamdbrw adamdbrw added the enhancement New feature or request label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant