Dedicated Workers / Native Performance
Dedicated Workers are workers that are dedicated to a particular script. They are able to execute any job that target this script much faster than normal workers at the expense of being capable to only execute that one script. They are as fast as running the same logic in a forloop, but keep the benefit of showing separate jobs per execution.
Dedicated Workers / Native Performance are an enterprise-only feature.
For now it only works with bun scripts that have been pre-deployed.
The scripts can be used within flows.
To use:
- Assign one worker group to execute that script:
The worker group will restart (assuming the pods/restart are set to restart automatically) and will now wait for step 2. below to happen:
- toggle the "Dedicated Workers" option for that script in the Settings:
You might also want to look for Worker Group Tag, which allows to assign custom worker groups to scripts and flows in Windmill for efficient execution on different machines with varying specifications: