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

WIP: Enqueue evaluations automatically rather than manually #2797

Closed
wants to merge 7 commits into from

Conversation

rossjones
Copy link
Contributor

@rossjones rossjones commented Sep 10, 2023

TODO

  • Change Watch to List-and-watch once evaluation state changes persist

@rossjones rossjones force-pushed the enqueuing-evaluations branch 3 times, most recently from eeba576 to 91aac9e Compare September 12, 2023 20:34
@rossjones rossjones self-assigned this Sep 14, 2023
To be able to process new evaluations being created, we need to be able
to do so without blocking the process generating the evaluations (and
notifications).  This commit adds a worker pool which allows us to
process messages of a known generic type, and control how buffered (or
not) the input channel is, and how many worker routines will exist to
process the messages.  We must be aware though that if we are writing to
the database, there will be a lock on the single db writer.
@rossjones rossjones added the wip label Jan 22, 2024
@aronchick aronchick marked this pull request as draft January 30, 2024 19:30
@frrist
Copy link
Member

frrist commented Apr 16, 2024

@wdbaruni closing this as well, feel free to re-open as needed.

@frrist frrist closed this Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants