Skip to content

Streamline Operations, Elevate Performance Asynchronous excellence, delivered reliably. Simplify background operations with intuitive scheduling. Harness scalability, embrace versatility with task-zephyr.

Notifications You must be signed in to change notification settings

ansh-devs/task-zephyr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task Zephyr

Thumbnail

GitHub commit activity

GitHub last commit

GitHub Actions Workflow Status

  • Task Zephyr is a distributed task scheduler designed to execute various types of tasks asynchronously across multiple workers or machines. It provides a robust and scalable solution for offloading time-consuming or resource-intensive tasks from the main application, ensuring smooth and efficient operation.

Currently, task-zephyr supports two types of tasks:

  • Mail Task: This task is responsible for sending email notifications or transactional emails asynchronously. It leverages a dedicated worker process to handle the email delivery process, ensuring that the main application remains responsive and unaffected by potential delays or failures in email delivery.
  • Shell Command Task: This task allows executing arbitrary shell commands or scripts in the background. It can be used for various purposes, such as running data processing jobs, executing system maintenance tasks, or triggering external processes without blocking the main application.

The architecture of task-zephyr is designed to be highly scalable and distributed. It consists of multiple components:

  • Scheduler: A reliable and persistent message queue that stores and manages the tasks to be executed. This queue acts as a buffer, ensuring that tasks are not lost even if workers go offline or experience failures.
  • Orchestrator: The central component responsible for scheduling and distributing tasks to available workers based on their capabilities and load.
  • Worker Nodes: These are the execution units that actually perform the tasks assigned by the scheduler. Worker nodes can be dynamically added or removed from the system, allowing for horizontal scaling as the workload increases. Monitoring and Logging: Comprehensive monitoring and logging mechanisms are in place to track the status of tasks, detect failures, and provide insights into the overall performance of the system.

About

Streamline Operations, Elevate Performance Asynchronous excellence, delivered reliably. Simplify background operations with intuitive scheduling. Harness scalability, embrace versatility with task-zephyr.

Topics

Resources

Stars

Watchers

Forks