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

Server only presents GHC versions that all workers support #10

Open
tomsmeding opened this issue Feb 1, 2023 · 1 comment
Open

Server only presents GHC versions that all workers support #10

tomsmeding opened this issue Feb 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@tomsmeding
Copy link
Collaborator

Currently, the server computes the list of available GHC versions to be presented to the user as the intersection of the availability sets of all workers currently registered on the server. This is sound, but rather pessimistic if there are multiple workers with unequal sets.

However, it is unclear whether this really needs addressing immediately: if different workers have different available version sets, and a some popular version is available only on a fraction of the workers, then those workers would (in the fixed system) get a disproportionate number of jobs. Hence you probably want to ensure your workers have consistent version sets anyway.

@tomsmeding tomsmeding added the bug Something isn't working label Feb 1, 2023
@Kleidukos
Copy link
Member

Ensuring the same version set across all workers sounds like the best approach indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants