Skip to content

Scheduler Instance

๐Ÿท๏ธ Scheduler Instance

A scheduler instance provides a logical namespace where specific tasks and groups are isolated for execution.

  • ๐Ÿ”„ Task Segmentation & Isolation โ€” Tasks only run within their instance based on task definitions.
  • ๐Ÿ“ฆ Namespace-Based Execution โ€” Dedicated execution space for grouped tasks.
  • โš™๏ธ Scalability โ€” Supports multiple instances for large workloads.
  • ๐Ÿ“Š Dynamic Task Distribution โ€” Optimizes load across instances.

๐Ÿ’ก Note: The system includes a pre-configured default instance. Tasks and groups are assigned to this by default unless otherwise specified.


๐Ÿ“ˆ Scaling with Multiple Instances (Namespace-Based Load Balancing)

EasyTask supports running multiple scheduler instances simultaneously, each operating within its own isolated namespace. This architecture enables horizontal scaling and intelligent load distribution across your infrastructure.

How Namespace-Based Load Balancing Works

Each scheduler instance is assigned a unique namespace (e.g., finance, reporting, batch). Tasks and task groups are mapped to specific namespaces, ensuring they are picked up only by the scheduler instance that owns that namespace.

Host A: Scheduler Instance (namespace: finance)    โ†’ manages ~10K finance tasks
Host B: Scheduler Instance (namespace: reporting)  โ†’ manages ~10K reporting tasks
Host C: Scheduler Instance (namespace: batch)      โ†’ manages ~10K batch jobs

Benefits of Multi-Instance Scheduling

  • Load Distribution โ€” Spread task execution across multiple hosts to prevent any single scheduler from becoming a bottleneck.
  • Namespace Isolation โ€” Tasks in one namespace are unaffected by issues in another, improving fault tolerance.
  • Horizontal Scaling โ€” Add more instances as workload grows. A fleet of 10 instances can comfortably manage 100K+ tasks.
  • Operational Flexibility โ€” Restart, patch, or upgrade individual instances without impacting the entire scheduling fleet.
  • Resource Optimization โ€” Assign namespaces based on host capacity โ€” powerful hosts handle heavy task groups, lighter hosts handle smaller workloads.

Example: Scaling to 100K Tasks

Instances Hosts Tasks per Instance Total Capacity
1 1 10,000 10K
5 5 10,000 50K
10 10 10,000 100K+

Best Practice: Distribute instances across separate physical or virtual hosts. This provides both load balancing and high availability โ€” if one host fails, only its namespace's tasks are temporarily affected.


โž• Create a Scheduler Instance

Scheduler instances cannot be created through the web UI. Instance provisioning depends on your deployment mode:

  • On-Prem: Use the EasyTask Installer to create new scheduler instances.
  • Cloud / Sandbox: Contact EasyTask support to request a new scheduler instance.

๐Ÿ’ก Note: The system includes a pre-configured default instance created during the initial installation. Additional instances can be provisioned as your workload grows.


๐Ÿš€ Managing Scheduler Instances

Action Method
๐Ÿ†• Create Instance On-Prem: EasyTask Installer ยท Cloud: Contact Support
โ–ถ๏ธ Start Instance Scheduler Dashboard โ†’ Container Controls
๐Ÿ›‘ Stop Instance Scheduler Dashboard โ†’ Container Controls
๐Ÿ”„ Restart Instance Scheduler Dashboard โ†’ Container Controls
๐Ÿ“‹ Monitor Instance Scheduler Dashboard โ†’ Health Metrics & Thread Monitor

๐Ÿ’ก Note: Container controls (Start / Stop / Restart) are available on the Scheduler Dashboard (/scheduler) when the scheduler is online and the container runtime is accessible. For cloud/sandbox deployments, container management is handled by the EasyTask team.


Frequently Asked Questions

Q: What is a scheduler instance and why do I need one? A: A scheduler instance provides a logical namespace where specific tasks and groups are isolated for execution. The system includes a pre-configured default instance created during installation. You need additional instances when you want to distribute workload across multiple hosts or isolate task execution by team, function, or environment. For on-prem deployments, use the EasyTask Installer to create new instances. For cloud/sandbox, contact EasyTask support.

Q: How many tasks can a single scheduler instance handle? A: A single scheduler instance can comfortably manage approximately 10,000 tasks. For larger workloads, you can run multiple instances with namespace-based load balancing โ€” for example, 10 instances can manage 100K+ tasks.

Q: Can I restart one scheduler instance without affecting others? A: Yes. Each scheduler instance operates independently within its own namespace. You can restart, patch, or upgrade individual instances without impacting the rest of the scheduling fleet, which is a key benefit of the multi-instance architecture.

Next Steps