RepositoryJavaNONorway
kagkarlsson

kagkarlsson/db-scheduler

Persistent cluster-friendly scheduler for Java

1.7kstars
262forks
44issues
1views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: db-scheduler

#1 Repository of the week

1
TINIX TRENDING·Topic: jdbc

#1 Repository of the week

1
TINIX TRENDING·Topic: task-scheduler

#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_tasks table 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.

RepositoryJava
iluwatar/java-design-patterns

Design patterns implemented in Java

94.9k
Oct 8, 2026
RepositoryJava
spring-projects/spring-boot

Spring Boot helps you to create Spring-powered, production-grade applications and services with absolute minimum fuss.

81.9k
Nov 30, 2026
RepositoryJava
TheAlgorithms/Java

All Algorithms implemented in Java

67.4k
Dec 1, 2026
RepositoryJava
xkcoding/spring-boot-demo

🚀一个用来深入学习并实战 Spring Boot 的项目。

34.0k
Jul 24, 2024
RepositoryJava
conductor-oss/conductor

Conductor is an event driven agentic workflow engine providing durable and highly resilient execution engine for applications and AI Agents

32.5k
Dec 2, 2026
RepositoryJava
xuxueli/xxl-job

A distributed task scheduling framework.(分布式任务调度平台XXL-JOB)

30.7k
Oct 9, 2026
RepositoryJava
ityouknow/spring-boot-examples

about learning Spring Boot via examples. Spring Boot 教程、技术栈示例代码,快速简单上手教程。

30.4k
Nov 18, 2023
RepositoryJava
apache/dolphinscheduler

Apache DolphinScheduler is the modern data orchestration platform. Agile to create high performance workflow with low-code

14.6k
Dec 1, 2026
RepositoryJava
PowerJob/PowerJob

Enterprise job scheduling middleware with distributed computing ability.

7.8k
Oct 1, 2026