rubenf
rubenf10mo ago

what are native workers

@Ask Inkeep what are native workers
3 Replies
Ask Inkeep
Ask Inkeep10mo ago
Thanks for tagging me @rubenf. I'll look through relevant sources and get back to you shortly. ----------------------------- While I generate an answer, here are some sources that might be helpful: * Workers and Worker Groups * Windmill on AWS ECS * Bash / PowerShell Quickstart * Launch Week Day 2 - Dedicated Workers for Scripts | Windmill ----------------------------- Answer Native workers in Windmill are one of the default worker groups and they are designed to execute scripts without the overhead of a cold start. There are two default worker groups in Windmill: default and native. The native worker group is tailored to run native scripts efficiently (1) . In the context of Windmill on AWS ECS, native workers are an optional task definition that you can create during the setup of Windmill. Native workers have their own task definition separate from multi-purpose workers and require specific resource allocations, such as 2vCPU and 3.5GiB memory, to operate effectively (2) . When setting up the services for native workers, no load balancer is required as the container does not expose any port (3) . However, it is important to note that the term "native workers" as referenced in your question may require further clarification, as it could also be interpreted in the context of dedicated workers, which are a type of worker that can execute a particular script with high throughput and no cold start latency, albeit they are only available in the Enterprise Edition (4) (5) . If you are referring to the configuration or behavior of native workers, such as their memory usage or handling of jobs, that can be specific to how Windmill is deployed and the tasks it is configured to handle. For instance, a GitHub issue was raised where native worker containers were rebooting due to out of memory errors, which suggested th
Ask Inkeep
Ask Inkeep10mo ago
at there may be a limit to the number of jobs a native worker can handle before running into resource constraints (6) . However, this information is from a GitHub issue and may not represent the current state or official stance of Windmill on native workers. Would you like to know more about setting up native workers, their use cases, or how they compare to dedicated workers?
Ask Inkeep
Ask Inkeep10mo ago
Feel free to tag me @Ask Inkeep for any follow-ups. Also appreciate any feedback, it helps me improve.