-
Notifications
You must be signed in to change notification settings - Fork 40
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
Assign specific jobs to dedicated workers #507
Comments
Yeah I think this is actually pretty important. Are we able to reasonably estimate |
We could do some benchmarking around the aggregation layers but these should be fairly light (we don't need anything else than the base circuits loaded from the |
@Nashtare @BGluth Split mode details:
this will put segment proof jobs and block proof jobs in different queues Worker args:
This will start worker which will accept only messages from the corresponding queues Currently in this version we dont have the functionality of running multiple queues on 1 machine Also, we will need either a cluster of rabbitmq or some kind of persistence for queues and messages |
We are currently handling all proof jobs regardless of their underlying type by the same pool of workers.
However in practice,
Txn
/Segment
proofs are much heavier & slower than all other kind of aggregation proofs.We should consider having some job assignment mechanism, probably relying on paladin's workers' routing keys, to assign a particular job queue to some specific pool of workers. This would allow us to select dedicated hardware for the different proving jobs we have when proving blocks, typically selecting much cheaper instances with fewer memory for higher levels of aggregation.
The text was updated successfully, but these errors were encountered: