Tag

Quartz

1 views collected around this technical thread.

Java Tech Enthusiast
Java Tech Enthusiast
May 11, 2025 · Backend Development

Implementing Automatic Order Cancellation After 30 Minutes: Five Practical Solutions

This article explains why orders that remain unpaid for 30 minutes should be automatically cancelled and compares five technical approaches—database polling, JDK Timer, message‑queue delayed queues, distributed schedulers like Quartz, and Redis expiration listeners—detailing their implementation steps, code samples, pros, cons, and suitable scenarios.

JavaMessage QueueOrder Cancellation
0 likes · 19 min read
Implementing Automatic Order Cancellation After 30 Minutes: Five Practical Solutions
Sohu Tech Products
Sohu Tech Products
Apr 16, 2025 · Operations

1. Architecture Overview

Drawing on experience with TimerTask, Quartz, SpringTask, HashWheelTimer, Elastic‑Job, XXL‑JOB, and AirFlow, the author created a teaching‑focused, horizontally scalable task‑scheduling platform supporting over 100 000 jobs, organized into gateway, admin, and worker layers, with a detailed architecture and tech‑stack overview.

NettyQuartzarchitecture
0 likes · 6 min read
1. Architecture Overview
Java Architect Essentials
Java Architect Essentials
Mar 7, 2024 · Backend Development

Various Implementation Strategies for Delayed Tasks in Java: Quartz, DelayQueue, HashedWheelTimer, Redis, and RabbitMQ

This article explains the concept of delayed tasks, distinguishes them from scheduled tasks, and presents six practical Java implementations—including Quartz database polling, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted sets, Redis key‑space notifications, and RabbitMQ delayed queues—along with their advantages and drawbacks.

JavaQuartzRabbitMQ
0 likes · 14 min read
Various Implementation Strategies for Delayed Tasks in Java: Quartz, DelayQueue, HashedWheelTimer, Redis, and RabbitMQ
Architect's Guide
Architect's Guide
Jan 9, 2024 · Backend Development

Implementing Delayed Task Scheduling in Java: Quartz, DelayQueue, Time Wheel, Redis, and RabbitMQ

This article compares delayed tasks with scheduled tasks and presents six practical Java solutions—database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis ZSET, Redis key‑space notifications, and RabbitMQ delayed queues—detailing their implementations, advantages, and drawbacks for handling order‑timeout scenarios.

DelayQueueJavaQuartz
0 likes · 16 min read
Implementing Delayed Task Scheduling in Java: Quartz, DelayQueue, Time Wheel, Redis, and RabbitMQ
Architecture Digest
Architecture Digest
Dec 21, 2023 · Backend Development

Comparison of Delayed Task Solutions in Java: Quartz, DelayQueue, Time Wheel, Redis and RabbitMQ

The article explains the concept of delayed tasks versus scheduled tasks in payment systems, outlines their key differences, and evaluates five practical implementation approaches—Quartz database polling, JDK DelayQueue, Netty's HashedWheelTimer, Redis ZSET/Keyspace notifications, and RabbitMQ delayed queues—detailing their code examples, advantages and drawbacks.

DelayQueueJavaQuartz
0 likes · 16 min read
Comparison of Delayed Task Solutions in Java: Quartz, DelayQueue, Time Wheel, Redis and RabbitMQ
Cognitive Technology Team
Cognitive Technology Team
Nov 19, 2023 · Backend Development

Resolving Task Overlap and Scheduling Issues in Quartz with DisallowConcurrentExecution and Distributed Locks

This article explains why Quartz jobs can overlap when their execution time exceeds the trigger interval, demonstrates how to prevent concurrent execution with the @DisallowConcurrentExecution annotation, discusses distributed lock and idempotency solutions for clusters, and covers thread‑pool limits, exception handling, and a complete Java demo.

DisallowConcurrentExecutionDistributed LockJava
0 likes · 5 min read
Resolving Task Overlap and Scheduling Issues in Quartz with DisallowConcurrentExecution and Distributed Locks
Java Architect Essentials
Java Architect Essentials
Oct 27, 2023 · Backend Development

Design and Implementation of Delayed Task Solutions for Payment Systems

This article compares delayed and scheduled tasks, analyzes several implementation approaches—including database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis ZSET and key‑space notifications, and RabbitMQ delayed queues—provides code examples, and discusses the advantages and drawbacks of each method for handling order timeout scenarios in payment systems.

JavaQuartzRedis
0 likes · 17 min read
Design and Implementation of Delayed Task Solutions for Payment Systems
Top Architect
Top Architect
Apr 24, 2023 · Backend Development

Comprehensive Guide to Quartz Scheduler in Java: Basics, Usage, and Advanced Topics

This article provides a detailed tutorial on the Quartz scheduling framework for Java, covering its core concepts, basic setup with SimpleTrigger and CronTrigger, advanced features like multiple triggers, bean injection, and persistent storage configuration, complete with code examples and resources.

JavaJobQuartz
0 likes · 21 min read
Comprehensive Guide to Quartz Scheduler in Java: Basics, Usage, and Advanced Topics
Selected Java Interview Questions
Selected Java Interview Questions
Apr 4, 2023 · Backend Development

Designing Redis Storage and Scheduled Sync for Blog Likes Using Quartz

To reduce database load from high‑frequency like and favorite actions, the article outlines a backend solution that stores per‑article like data in Redis hashes, periodically synchronizes the cached data to MySQL using Quartz scheduled jobs, and shows how to indicate whether a user has liked each article.

JavaMySQLQuartz
0 likes · 7 min read
Designing Redis Storage and Scheduled Sync for Blog Likes Using Quartz
Architecture Digest
Architecture Digest
Feb 14, 2023 · Backend Development

Comparison of Distributed Task Scheduling Frameworks: Elastic‑Job vs X‑Job and Quartz

This article examines common business scenarios requiring timed tasks, reviews single‑machine and distributed scheduling frameworks, and provides a detailed comparison of Elastic‑Job, X‑Job, and Quartz, highlighting their strengths, weaknesses, deployment models, and suitability for different scale requirements.

JavaQuartzbackend
0 likes · 11 min read
Comparison of Distributed Task Scheduling Frameworks: Elastic‑Job vs X‑Job and Quartz
Sanyou's Java Diary
Sanyou's Java Diary
Feb 9, 2023 · Backend Development

Choosing the Right Task Scheduling Framework: Quartz, ElasticJob, XXL-JOB and More

This article compares popular Java task scheduling solutions—including Quartz, Spring Schedule with Redis locks, ElasticJob‑Lite, centralized MQ and XXL‑JOB approaches—explaining their core components, clustering strategies, code examples, and practical selection guidance for building reliable distributed schedulers.

Distributed LockElasticJobQuartz
0 likes · 19 min read
Choosing the Right Task Scheduling Framework: Quartz, ElasticJob, XXL-JOB and More
macrozheng
macrozheng
Nov 10, 2022 · Backend Development

How to Pick a Task Scheduling Framework: Quartz, ElasticJob, XXL‑JOB

This article compares popular Java task scheduling solutions—including Quartz, ElasticJob‑Lite, XXL‑JOB, and custom implementations—explaining their core components, clustering strategies, distributed lock mechanisms, and practical code examples to help engineers choose the right framework for their needs.

Distributed LockElasticJobQuartz
0 likes · 20 min read
How to Pick a Task Scheduling Framework: Quartz, ElasticJob, XXL‑JOB
Top Architect
Top Architect
Sep 23, 2022 · Backend Development

Comprehensive Guide to Quartz Scheduler in Java: Basics, Advanced Usage, and Persistence

This article provides an in‑depth tutorial on using the Quartz scheduler in Java, covering its core concepts, basic and advanced configurations, code examples for interval and Cron‑based jobs, multi‑trigger setups, bean injection techniques, and how to persist jobs with JDBCJobStore.

JavaJobQuartz
0 likes · 19 min read
Comprehensive Guide to Quartz Scheduler in Java: Basics, Advanced Usage, and Persistence
Sanyou's Java Diary
Sanyou's Java Diary
Sep 19, 2022 · Backend Development

Mastering Quartz Scheduler in Spring Boot: From Basics to Advanced Integration

This article introduces Quartz, a Java job‑scheduling library, explains its core components (Job, Trigger, Scheduler), provides step‑by‑step Maven demos, shows how to integrate it with Spring Boot, configure persistence, manage concurrency, and handle advanced features like cron expressions and calendar exclusions.

CronTriggerJavaJob Scheduling
0 likes · 25 min read
Mastering Quartz Scheduler in Spring Boot: From Basics to Advanced Integration
Big Data Technology Architecture
Big Data Technology Architecture
Sep 18, 2022 · Backend Development

Design and Source Code Analysis of Apache DolphinScheduler

This article provides an in‑depth technical overview of Apache DolphinScheduler, covering its distributed design strategies, fault‑tolerance mechanisms, remote log access, source‑code module breakdown, API interfaces, Quartz integration, master‑worker execution flows, RPC communication, load‑balancing algorithms, logging services, and community contribution guidelines.

DolphinSchedulerLoad BalancingQuartz
0 likes · 47 min read
Design and Source Code Analysis of Apache DolphinScheduler
IT Architects Alliance
IT Architects Alliance
Sep 5, 2022 · Backend Development

Comprehensive Guide to Quartz Scheduler in Java: Basics, Advanced Usage, and Persistence

This article provides a detailed overview of the Quartz scheduling framework for Java, covering its core concepts, basic and advanced usage with Spring Boot, code examples for interval and Cron‑based jobs, multi‑trigger configurations, bean injection techniques, and database persistence setup.

JavaJobQuartz
0 likes · 21 min read
Comprehensive Guide to Quartz Scheduler in Java: Basics, Advanced Usage, and Persistence
Top Architect
Top Architect
Sep 5, 2022 · Backend Development

Comprehensive Guide to Using Quartz Scheduler in Java with Spring Boot

This article provides a detailed tutorial on Quartz, a powerful Java scheduling framework, covering its core concepts, basic usage with SimpleTrigger and CronTrigger, advanced features such as multiple triggers, bean injection, and persistence, and includes complete Spring Boot code examples.

JavaJobPersistence
0 likes · 22 min read
Comprehensive Guide to Using Quartz Scheduler in Java with Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Aug 26, 2022 · Backend Development

Integrating Quartz Scheduler with Spring Boot for Custom Task Scheduling

This article provides a comprehensive guide on using the Quartz job‑scheduling library in Java, covering core concepts such as Job, Trigger, and Scheduler, showing Maven setup, sample job and trigger code, Spring Boot configuration, utility classes for creating and managing jobs, handling concurrency, misfire policies, and REST‑based job management.

JavaJob SchedulingQuartz
0 likes · 20 min read
Integrating Quartz Scheduler with Spring Boot for Custom Task Scheduling
Selected Java Interview Questions
Selected Java Interview Questions
Aug 10, 2022 · Backend Development

Comparison of Java Scheduling Frameworks: Timer, ScheduledExecutorService, Spring, Quartz, TBSchedule, Elastic-Job, Saturn, XXL-Job

The article examines common business scenarios that require timed execution, explains why scheduled tasks are needed, lists single‑machine and distributed Java scheduling frameworks, and provides a detailed feature‑by‑feature comparison between two popular distributed schedulers, X‑Job and Elastic‑Job.

JavaQuartzdistributed
0 likes · 13 min read
Comparison of Java Scheduling Frameworks: Timer, ScheduledExecutorService, Spring, Quartz, TBSchedule, Elastic-Job, Saturn, XXL-Job
Code Ape Tech Column
Code Ape Tech Column
Aug 9, 2022 · Backend Development

Java Distributed Task Scheduling Frameworks: Overview, Comparison, and Best Practices

This article examines the need for scheduled tasks in various business scenarios, reviews single‑machine and distributed Java scheduling frameworks such as Timer, ScheduledExecutorService, Spring, Quartz, TBSchedule, elastic‑job, Saturn, and XXL‑Job, and provides a detailed comparative analysis to guide framework selection.

JavaQuartzbackend
0 likes · 12 min read
Java Distributed Task Scheduling Frameworks: Overview, Comparison, and Best Practices