Norwaykagkarlsson/db-scheduler
Persistent cluster-friendly scheduler for Java
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#1 Repository of the week
⏱️ Java scheduler backed by one database table
Persistent, cluster-safe task scheduling without Quartz complexity.
db-scheduler by Gustaf Karlsson (kagkarlsson) is a Java task scheduler inspired by need for clustered java.util.concurrent.ScheduledExecutorService. It keeps task state in a single relational table, so multiple app instances coordinate execution and run each scheduled task once per due time. Java 17+ required.
✨ Highlights
- Cluster-friendly: Guarantees execution by single scheduler instance.
- Persistent tasks: Requires a single
scheduled_taskstable for persistence. - Embeddable: Built to be embedded in existing applications.
- High throughput: Tested to handle 2k - 10k executions / second (see project performance docs).
- Minimal dependencies: Depends on slf4j.
- Recurring and one-time tasks: Supports static recurring tasks with schedules like
FixedDelay, plus one-time executions with unique instance IDs and custom data. - Spring Boot and client API: README documents Spring Boot usage and scheduling at runtime through
SchedulerClient.
💡 Why it matters
db-scheduler fits teams that want durable scheduling without adopting Quartz. Single DB table and embedded design keep setup small, while JDBC persistence gives cluster coordination through database already in stack.
Good fit for background jobs, delayed work, and recurring maintenance tasks inside Java services, especially where simple operational model matters more than heavyweight scheduler infrastructure.
#Java #Scheduler #JDBC #SpringBoot #TiniX
Similar Projects
Discover other similar projects and AI models.
Spring Boot helps you to create Spring-powered, production-grade applications and services with absolute minimum fuss.
Conductor is an event driven agentic workflow engine providing durable and highly resilient execution engine for applications and AI Agents
about learning Spring Boot via examples. Spring Boot 教程、技术栈示例代码,快速简单上手教程。
Apache DolphinScheduler is the modern data orchestration platform. Agile to create high performance workflow with low-code
Enterprise job scheduling middleware with distributed computing ability.