All Projects → changkun → sched

changkun / sched

Licence: MIT license
⏳ a high performance reliable task scheduling package in Go.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to sched

Swiftqueue
Job Scheduler for IOS with Concurrent run, failure/retry, persistence, repeat, delay and more
Stars: ✭ 276 (+500%)
Mutual labels:  scheduler, persistence
Sled
the champagne of beta embedded databases
Stars: ✭ 5,423 (+11689.13%)
Mutual labels:  high-performance, persistence
Threadly
A library of tools to assist with safe concurrent java development. Providing unique priority based thread pools, and ways to distrbute threaded work safely.
Stars: ✭ 196 (+326.09%)
Mutual labels:  high-performance, scheduler
BotSmartScheduler
Enhance your planning capabilities with this smart bot!
Stars: ✭ 44 (-4.35%)
Mutual labels:  scheduler
nnCron
Advanced and very powerful scheduler, scripting tool and automation manager
Stars: ✭ 60 (+30.43%)
Mutual labels:  scheduler
geofeatures2
A lightweight, high performance geometry library in Swift.
Stars: ✭ 18 (-60.87%)
Mutual labels:  high-performance
0chain
0Chain is a decentralized blockchain-based storage platform with built-in privacy and security compliance. It provides high performance, enforceable SLAs, choice of providers for all enterprise grade applications.
Stars: ✭ 79 (+71.74%)
Mutual labels:  high-performance
Power-Refresh
Schedule refresh of any Excel file using open-source scheduler & refresher written on VBA
Stars: ✭ 55 (+19.57%)
Mutual labels:  scheduler
RxSchedulerSuppress
RxSchedulerSuppress 是用于抑制 RxJava 在同一个线程池内重复调度的工具
Stars: ✭ 30 (-34.78%)
Mutual labels:  scheduler
Sqlable
Swift library for making storing data in a SQLite database simple and magic-free
Stars: ✭ 83 (+80.43%)
Mutual labels:  persistence
High-Traffic-wordpress-server-configuration
High Traffic WordPress server configuration Nginx (updated) PHP 7.4 PHP-fpm Mariadb (updated) Wordpress (updated) Cloudflare Full SSL
Stars: ✭ 31 (-32.61%)
Mutual labels:  high-performance
Xproxy
reverse proxy implement in java
Stars: ✭ 20 (-56.52%)
Mutual labels:  high-performance
TrollDB
An in-memory JavaScript database that prioritises performance over everything.
Stars: ✭ 29 (-36.96%)
Mutual labels:  high-performance
ld-scheduler
Schedule Launch Darkly flags on or off
Stars: ✭ 14 (-69.57%)
Mutual labels:  scheduler
AnnA Anki neuronal Appendix
Using machine learning on your anki collection to enhance the scheduling via semantic clustering and semantic similarity
Stars: ✭ 39 (-15.22%)
Mutual labels:  scheduler
SMBRat
A Windows Remote Administration Tool in Visual Basic with UNC paths
Stars: ✭ 23 (-50%)
Mutual labels:  persistence
exq-scheduler
Job scheduler for Exq
Stars: ✭ 24 (-47.83%)
Mutual labels:  scheduler
PadeOps
A DNS and LES box code
Stars: ✭ 21 (-54.35%)
Mutual labels:  high-performance
angular-gantt-schedule-timeline-calendar-example
Angular gantt-schedule-timeline-calendar usage example
Stars: ✭ 15 (-67.39%)
Mutual labels:  scheduler
synchly
Automate database backups with customizable recurring schedules.
Stars: ✭ 27 (-41.3%)
Mutual labels:  scheduler

sched

GoDoc Build Status Go Report Card codecov

sched is a high performance task scheduling library with future support.

Usage

// Init sched, with tasks should recovered when reboot
futures, err := sched.Init(
    "redis://127.0.0.1:6379/1"&ArbitraryTask1{}, 
    &ArbitraryTask2{},
)
if err != nil {
    panic(err)
}
// Retrieve task's future
for i := range futures {
    fmt.Printf("%v", futures[i].Get())
}

// Setup tasks, use future.Get() to retrieve the future of task
future, err := sched.Submit(&ArbitraryTask{...})
if err != nil {
    panic(err)
}
fmt.Printf("%v", future.Get())

// Launch a task, use future.Get() to retrieve the future of task
future, err := sched.Trigger(&ArbitraryTask{...})
if err != nil {
    panic(err)
}
fmt.Printf("%v", future.Get())

// Pause sched
sched.Pause()

// Resume sched
sched.Resume()

// Wait sched schedule all tasks
sched.Wait()

// Stop sched gracefully
sched.Stop()

Task Design

Learn more regarding task design, see test examples.

License

MIT © Changkun Ou

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].