This article explains how to dynamically modify Cron expressions for scheduled tasks in SpringBoot applications, covering @EnableScheduling, @Scheduled, mutable and immutable task configurations, custom interfaces, and code examples for registering, refreshing, and managing tasks at runtime without external schedulers.
This article introduces eight practical Python solutions for creating scheduled tasks, ranging from simple time.sleep loops to advanced libraries like APScheduler, Celery, and system tools such as cron, each accompanied by clear code examples and usage explanations.
Baidu processes trillions of web items by building a deep‑content‑understanding pipeline that tackles massive compute cost and latency through elastic resource pooling, Python‑based model‑service frameworks, multi‑stage scheduling, HTAP storage, and batch‑compute optimizations, enabling real‑time and offline AI services at web scale.
This article explains how to dynamically modify Cron expressions for scheduled tasks in a SpringBoot application by using @EnableScheduling, @Scheduled, custom interfaces, and a refresh mechanism that registers, updates, or disables tasks at runtime without additional middleware.
This article presents a comprehensive guide to implementing periodic tasks in Python, covering eight approaches including simple while‑loop with sleep, Timeloop, threading.Timer, sched, schedule, APScheduler, Celery, and Apache Airflow, each with code examples and practical notes.
This guide helps Android audio developers understand and eliminate stutter, pop noise, and other glitches by examining audio formats, pipeline components, CPU scheduling, common failure cases, and offering concrete optimization steps such as proper thread priorities, reduced API blocking, and efficient frame‑count configuration.
This article introduces Hutool, a comprehensive Java utility library that consolidates common functions such as file handling, encryption, HTTP, and scheduling into easy-to-use modules, showcases key components like SecureUtil, HtmlUtil, and CronUtil with code examples, and highlights its benefits for reducing development effort.
This article provides a comprehensive overview of Linux processes—from their definition and lifecycle to creation, scheduling strategies such as FCFS, round‑robin, EDF, and RMS, as well as various inter‑process communication mechanisms like pipes, sockets, shared memory, semaphores, and the kernel implementation of fork and context switching.
This article details Didi’s Elastic Cloud container platform, explaining its Kubernetes‑based scheduling architecture, custom pre‑filter and scoring extensions, service‑profiling driven placement, rescheduling mechanisms, rule‑engine integration, upgrade strategies from k8s 1.12 to 1.20, and the stability framework that keeps a massive multi‑tenant fleet running reliably.
The article examines various delayed‑task solutions for order timeout handling in Java, including database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted‑set and key‑space notifications, and RabbitMQ delayed queues, analyzing their implementation steps, advantages, and drawbacks.
The article explains why enterprises adopt multi‑cluster Kubernetes architectures, reviews community solutions such as Karmada, Clusternet and OCM, and details vivo’s hybrid strategy that combines a unified UI for independent clusters with Karmada‑based federation for resource distribution, elastic scaling, cross‑cluster scheduling, and gray‑release migration.
This article reviews multiple ways to implement periodic tasks in Python, covering simple loops with sleep, libraries such as Timeloop, threading.Timer, sched, schedule, the APScheduler framework, as well as distributed solutions like Celery and Apache Airflow, and provides code examples for each method.
Since Kubernetes became the de‑facto standard, ByteDance faced scaling limits with single‑cluster setups, prompting the adoption of KubeFed V2 and later the development of KubeAdmiral, a next‑generation multi‑cluster federation system that enhances scheduling, resource efficiency, native API support, and dynamic scaling across clouds.
Alipay’s serverless Function Compute platform empowers mini‑program developers with a four‑stage architecture—mini program, Alipay app, gateway, and function—offering automatic elastic scaling, sub‑20 ms scheduling, sub‑100 ms cold‑starts, multi‑layer isolation, DDoS protection, and the ability to sustain 10 k QPS for reliable, low‑latency user experiences.
This article details the design, architecture, and practical deployment of a scalable rule engine that separates logic from data, supports high‑concurrency execution, provides a visual DSL for business users, and enables rapid risk‑control strategy adjustments with improved performance and maintainability.
This article explains the motivations behind Kubernetes multi‑cluster deployments, outlines common use cases such as isolation and high‑availability, and analyzes core management elements including deployment models, control‑plane architectures, network connectivity, service discovery, cross‑cluster scheduling, application model extensions, and treating clusters as resources.
This article reviews several Python approaches for creating scheduled or periodic jobs—including a simple while‑True loop with sleep, the Timeloop library, the built‑in sched module, the schedule package, APScheduler, Celery, and Apache Airflow—explaining their usage, advantages, limitations, and providing ready‑to‑run code samples.
This article explains how Spark can be effectively deployed on Kubernetes, covering its advantages over traditional Hadoop clusters, the principles of Spark on K8s, dynamic allocation, reuse PVC enhancements, scheduling optimizations, and real‑world performance results from Eggplant Technology's production use.
This article explains the concept of cloud‑native computing, its reliance on IaaS/PaaS/SaaS, the challenges of stateful services, and proposes a redesigned scheduling system—including storage‑aware, topology‑aware, label‑driven, and priority‑based mechanisms—to improve resource utilization, scalability, and multi‑tenant performance.
In this expert interview, a chief big‑data architect from NetEase explains the core technology layers, key performance indicators, major challenges and mitigation strategies, the business value, and emerging trends of cloud‑native big data platforms, highlighting scheduling, storage, and mixed‑deployment considerations.
The article explains Flink’s post‑submission scheduling pipeline—from Dispatcher creating SchedulerNG and building the ExecutionGraph, through pipelined region construction and the PipelinedRegionSchedulingStrategy, to slot sharing allocation—identifying why slot and TaskManager overloads occur and proposing randomization or fine‑grained resource strategies to balance load.
This technical presentation reviews the historical development of big data platforms, outlines the four generations of cloud data platform architectures, details the modern cloud‑native stack—including unified metadata, scheduling, and integration systems—and showcases a real‑world industrial manufacturing case with a Q&A session.
This article explains how Linux cgroup’s CPU controller works, covering the creation of cgroups, the kernel structures involved, how CPU time limits are configured via cfs_period_us and cfs_quota_us, how processes are attached to cgroups, and the scheduling mechanisms that enforce bandwidth limits in containers.
This article explains how to set up PHP scheduled tasks on Linux using crontab, on Windows using batch files, and how to implement custom loops with ignore_user_abort and sleep, while also covering non‑blocking requests with fsockopen and providing full code examples.
This article surveys eleven practical techniques for implementing delayed tasks in Java, covering JDK utilities like DelayQueue, Timer, and ScheduledThreadPoolExecutor, as well as message‑queue solutions such as RocketMQ, RabbitMQ, Redis key‑expiration, Redisson, Netty, Hutool, Quartz, and simple polling, with code demos and implementation principles.
This article explains how Apache YARN and Google Kubernetes address the three core problems of resource utilization, task responsiveness, and flexible scheduling in distributed environments, detailing their architectures, scheduling models, and practical implications for modern big‑data and cloud workloads.
Learn how Spring Boot automatically configures ThreadPoolTaskExecutor and ThreadPoolTaskScheduler, customize them via spring.task.execution and spring.task.scheduling properties, and use @EnableAsync, @Scheduled, and @Async annotations—including advanced options like cron expressions, time units, executor qualifiers, and exception handling—to efficiently manage asynchronous and scheduled tasks.
This article explains how Bilibili’s large‑scale Kubernetes cloud platform reduces costs and improves machine utilization by applying co‑location (mixed‑tenant) techniques, including resource‑aware scheduling, dynamic isolation, and a dedicated management console across online, offline, and idle‑machine scenarios.
An expert interview series examines the architecture of big data platforms, detailing core modules such as data integration, storage, computation, scheduling, and query analysis, while highlighting current challenges, best‑practice tools, and future trends like cloud‑native, object storage, and real‑time processing.
The Berserker big‑data platform provides a one‑stop data development and governance solution built on over 40 micro‑services, featuring the Archer scheduler with CN and EN nodes, Raft‑based state management, Docker‑isolated task execution, smart routing, and plans to make EN stateless, migrate to Kubernetes, and unify batch and streaming services.
This article explains how Bilibili’s data quality team designs a process‑driven, automated, and AI‑enhanced platform that monitors billions of records daily, defines quality metrics such as completeness and consistency, integrates heterogeneous data sources, and provides root‑cause analysis and real‑time alerting to ensure trustworthy data for its massive user base.
The article explains what thread blocking means in operating systems, how the OS moves blocked threads to wait queues and schedules other threads, discusses spin locks, and reflects on common misconceptions and community debates about callbacks versus polling.
This article explains the core concepts, architecture, and code logic of StarRocks' Pipeline execution framework, covering ExecPlan, PlanFragment, Fragment Instance, ExecNode, SourceOperator, SinkOperator, PipelineDriver scheduling, asynchronous handling of blocking operations, and the roles of FE and BE in MPP scheduling.
This article analyzes Haro’s two‑wheeler dispatch problem, compares it with food‑delivery and ride‑hailing scheduling, outlines eight technical challenges, presents a multi‑fast‑good‑cheap algorithm framework, and details a simulation system that validates and improves the scheduling solution.
This comprehensive guide explores ten practical Java scheduling techniques—from Linux crontab and JDK Thread/Timer to Spring Task, Quartz, and distributed solutions like XXL‑Job and Elastic‑Job—detailing their usage, code examples, advantages, and drawbacks for robust backend automation.
This article explains how Baidu's performance team tackled the slowdown of mobile internet growth by defining low‑end devices, building observability, creating high‑efficiency tooling, redesigning key components such as KV storage and locks, and introducing a smart scheduling framework that together reduced Android cold‑start TTI by over 50% and iOS cold‑start TTI by more than 40%, while establishing a continuous anti‑degradation pipeline.
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.
This article explains how to improve overall delivery efficiency by systematically breaking down testing tasks, setting realistic schedules based on clear goals, preparation steps, granular time estimates, dependency considerations, and post‑execution reviews, while emphasizing a target testing effort not exceeding half of development time.
This article provides a detailed overview of DataX, covering its purpose, framework design, core architecture, scheduling process, practical examples of MySQL-to-MySQL synchronization, step‑by‑step installation and configuration of DataX‑WEB, UI usage, routing strategies, task types, and advanced task building techniques.
This article examines the pain points of distributed training orchestration and scheduling, presents a layered cloud‑native architecture built on Kubernetes, explains key components such as pipeline orchestrators, training job operators, schedulers, and topology managers, and discusses practical solutions using Argo, Kubeflow Pipelines, and the Volcano scheduler.
This article explains how to abstract repetitive data‑report tasks into a standardized workflow, describes the core capabilities of scheduling and configuration, shows how to implement DAG‑based visual editors, and compares similar platforms such as n8n and Orange, offering practical code examples and design insights.
This article explains why Kubernetes federation is needed for managing multiple clusters, compares the deprecated Federation v1 with the improved v2 architecture, and introduces Karmada as a modern multi‑cloud orchestration solution, complete with configuration examples, scheduling strategies, and CRD definitions.
This article explains how Alibaba Cloud's open‑source Koordinator system tackles mixed‑workload challenges by introducing priority and QoS models, resource overcommit, load‑aware scheduling, fine‑grained CPU orchestration, and upcoming features such as GPU scheduling and resource recommendation, all illustrated with architecture diagrams and code examples.
This presentation details the background, redesign, and migration of a large‑scale data platform at Dangbei Network Technology, focusing on the adoption of Apache DolphinScheduler, ClickHouse migration, storage and compute separation, monitoring solutions, and the roadmap for future upgrades and open‑source involvement.
This article explains how Spring's @Scheduled annotation works, covering configuration options like cron, fixedDelay and fixedRate, the internal processing by ScheduledAnnotationBeanPostProcessor, method reflection, task registration with ScheduledTaskRegistrar, and the underlying execution using ThreadPoolTaskScheduler and ScheduledThreadPoolExecutor.
The article compares five delayed‑task implementations—database polling, JDK DelayQueue, Netty time wheel, Redis sorted sets, and RabbitMQ dead‑letter queues—detailing their concepts, Java code examples, advantages, and drawbacks to help developers choose the most suitable approach for order‑timeout scenarios.
This article explains Apache Airflow's core concepts, including DAG definitions, scheduling intervals, task dependencies, various operators such as BashOperator, PythonOperator, Branch operators, sensors, and custom operators, and provides code examples and configuration details for building robust data pipelines.
This tutorial shows how to create a Python web scraper that fetches a daily article, formats it, and sends it via email using SMTP, including the full source code and step‑by‑step implementation details.
This comprehensive guide explains operating system fundamentals, covering concurrency, process and thread management, scheduling algorithms, memory management techniques, device handling, deadlock detection, and classic synchronization problems with clear examples and code snippets.
This article explains how a Google engineer designed and implemented an automated system using Python and Selenium to book gym slots two days in advance, detailing problem definition, requirements, architecture, code snippets, and operational workflow for reliable, headless execution on macOS.
This article analyzes the challenges of aggregating multiple RPC calls in e‑commerce app backends, explains simple and complex concurrency scenarios, introduces grouped concurrency scheduling, and presents a self‑driven concurrency model that automates dependency handling to improve response latency and maintainability.
This tutorial shows how to use Python to crawl song lyrics from a website, format them, and automatically email them on a schedule, including full source code and instructions for setting up a Windows Task Scheduler job.
This article explains the concepts, use cases, and internal implementations of Java's Timer, DelayQueue, and ScheduledThreadPoolExecutor, compares their performance characteristics, and introduces the time‑wheel scheduling algorithm—including hierarchical wheels—to address scalability challenges in high‑volume timed‑task systems.
The article explains why a time‑wheel scheduler outperforms traditional timers, describes single‑ and multi‑layer wheel designs, and walks through Apache Dubbo’s HashedWheelTimer implementation—including TimerTask, Timeout, bucket and worker components—showing its use in Dubbo heartbeats and Redisson lock renewal.
The article explores why absolute‑precision periodic tasks are hard to achieve, compares Java Timer and ScheduledExecutorService with Linux kernel mechanisms such as DelayedWorkQueue, futex, pthread_cond_timedwait, and high‑resolution hrtimers, and explains the underlying data structures and timing‑wheel algorithms.
This article explains common causes of resource waste in Kubernetes clusters, such as over‑provisioned requests and fluctuating workloads, and provides practical methods—including proper request/limit settings, ResourceQuota and LimitRange policies, node affinity, taints and tolerations, and HPA—to improve overall resource utilization and cluster stability.
This article examines how LinkedIn tackled severe scheduling slowdowns when its Hadoop YARN cluster grew to nearly 10,000 nodes, analyzes the root causes of resource‑manager bottlenecks, and describes the fairness‑redefinition and scheduling‑logic patches that restored throughput and scalability.
This article provides a comprehensive overview of operating system fundamentals, covering concepts such as concurrency, shared resources, virtual memory, process and thread management, synchronization mechanisms, classic synchronization problems, memory paging and replacement algorithms, device management, disk scheduling, and deadlock detection and prevention.
This article presents an in‑depth overview of Youzan's data platform, introduces the DP data development platform with its key features and workflow, details the core module architecture—including service, scheduling, and component layers—and explains the migration from Airflow to DolphinScheduler to improve performance, stability, and scalability.
This article dissects the Linux kernel’s fork implementation, explaining why the child receives a return value of 0, how parent and child share code execution, the internal steps of sys_fork, kernel_clone, copy_process, thread handling, scheduling initialization, and the final insertion of the new task into the run‑queue.
This article explains Kubernetes node and pod relationships through a story, then details how to use nodeSelector, nodeAffinity, podAffinity, taints, and tolerations with concrete kubectl commands and YAML examples, helping you control pod scheduling and eviction behavior.
This article provides a Python script that uses the itchat and schedule libraries to automatically log in to WeChat, select friends with remarks, and send randomly chosen New Year greeting messages to each contact at a specified date and time.
The article examines DP's rapid growth in daily scheduled tasks, outlines the limitations of its Airflow‑based scheduler, compares Airflow with DolphinScheduler, and details the architectural redesign, migration steps, and future plans for a more scalable, reliable big‑data workflow system.
This article explains Alibaba's seven‑year experience with mixed deployment on Kubernetes, detailing how priority classes and QoS models are used to reclaim idle resources for low‑SLO workloads, improve overall cluster utilization, and maintain service‑level objectives for both online and offline pods.
This article reviews ten widely used scheduling methods—from Linux crontab and Java Thread/Timer to Spring Task, Spring Quartz, and distributed frameworks like XXL‑Job and Elastic‑Job—explaining their configuration, code examples, and advantages and disadvantages for various backend scenarios.
The article details the design, architecture, core features, scheduling logic, and performance gains of Vipshop’s self‑built Hera data service, which unifies data‑warehouse access, supports multiple engines, adapts SQL execution, and dramatically improves SLA for both B‑to‑B and B‑to‑C workloads.
This article provides a comprehensive guide to designing and implementing a big‑data platform, covering architecture overview, data ingestion with Flume, storage on HDFS/Hive/HBase, processing engines such as Hive, Spark and Flink, scheduling solutions like Azkaban and Airflow, and the construction of self‑service analytics systems.
This tutorial shows how to use Python's pyautogui and APScheduler libraries to automatically open WeChat, locate the chat window, type a message, and send it precisely at midnight, providing a practical example of desktop automation and scheduled tasks.
This article explains the technical details of Linux kernel preemption, covering the difference between preemptible and non‑preemptible kernels, the role of the reschedule flag and preempt count, scheduling checkpoints and preempt points, low‑latency handling in non‑preemptible kernels, and the voluntary preemption model.
This tutorial shows how to build a Python web‑scraper that extracts book titles and authors from a website, formats the data, and automatically sends it via email on a scheduled interval using SMTP and the schedule library.
This article explains how to use Kubernetes monitoring features such as service details, topology maps, and pod metrics to quickly identify load‑balancing imbalances, cluster scheduling bottlenecks, and resource hotspot problems, providing practical steps and visual examples for improving system reliability and performance.
This article explains the concept of delayed tasks in payment systems, distinguishes them from scheduled tasks, and evaluates five practical implementation approaches—including database polling, Java DelayQueue, time‑wheel algorithms, Redis, and RabbitMQ—highlighting each method's advantages and drawbacks.
The article explains the concept of delayed tasks, distinguishes them from scheduled tasks, and evaluates five practical implementation approaches—including database polling, JDK DelayQueue, Netty time‑wheel, Redis sorted‑set and key‑space notifications, and RabbitMQ delayed queues—while providing code samples, performance pros and cons, and deployment considerations.
This article examines the concept of delayed tasks versus scheduled tasks, outlines their differences, and presents five practical implementation strategies—including database polling with Quartz, JDK DelayQueue, Netty’s HashedWheelTimer, Redis ZSET and keyspace notifications, and RabbitMQ delayed queues—complete with code samples, performance pros and cons, and scalability considerations.
The article explains the concept of delayed tasks versus scheduled tasks and provides five Java‑based solutions—Quartz polling, JDK DelayQueue, Netty HashedWheelTimer, Redis (zset and keyspace notifications), and RabbitMQ delayed queues—detailing their implementations, advantages, and drawbacks.
This guide explains how to implement periodic tasks in Spring Boot 2.2.11 using the built‑in @EnableScheduling/@Scheduled approach and the Quartz library, covering configuration, cron expressions, core Quartz concepts, and complete code examples for both methods.
This article provides a comprehensive overview of various Python approaches for implementing periodic tasks, including simple loops with sleep, third‑party libraries such as Timeloop, schedule, APScheduler, as well as distributed solutions like Celery and Apache Airflow, complete with code examples and architectural explanations.
The article explains the concept of delayed tasks versus scheduled tasks and presents five practical Java implementations—database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted sets and keyspace notifications, and RabbitMQ delayed queues—detailing their code, advantages, and drawbacks.
This article explains various approaches to implementing delayed tasks in backend systems, comparing database polling, Java's DelayQueue, Netty's time wheel, Redis sorted sets and keyspace notifications, and RabbitMQ delayed queues, with detailed code examples and analysis of each method's pros and cons.
This article compares delayed and scheduled tasks, explains their differences, and presents five practical Java implementations—including database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted sets, and RabbitMQ—highlighting each method's advantages and drawbacks.
This article compares delayed tasks with scheduled tasks and presents five practical Java implementations—database polling with Quartz, JDK DelayQueue, Netty's HashedWheelTimer, Redis sorted sets and keyspace notifications, and RabbitMQ delayed queues—detailing their code, advantages, and drawbacks.
This article compares delayed and scheduled tasks, explains their differences, and presents five practical Java implementations—including Quartz polling, JDK DelayQueue, Netty's HashedWheelTimer, Redis ZSET, and Redis keyspace notifications—along with their advantages, drawbacks, and sample code.
This article compares several Java-based delayed‑task solutions—including database polling with Quartz, JDK DelayQueue, Netty’s HashedWheelTimer, Redis sorted‑set or key‑space notifications, and RabbitMQ delayed queues—detailing their implementations, advantages, drawbacks, and practical code examples for reliable order‑timeout handling.
This article explains how to configure Spring Boot scheduled tasks, compare serial and parallel execution using @Async, create custom and global thread pools, and handle asynchronous exceptions, providing complete code examples and practical observations.
This article provides a concise, question‑driven overview of Kubernetes, explaining the roles of master and worker nodes, pod networking, scheduling, storage with etcd, service exposure, scaling mechanisms, and how the various controllers collaborate to manage a cloud‑native cluster.
This article explains the concept of delayed tasks versus scheduled tasks, presents common e‑commerce scenarios, and provides multiple implementation approaches—including JDK DelayQueue, ScheduledExecutorService, database polling, Redis sorted sets, Pulsar, ActiveMQ, and Netty time‑wheel—along with code examples and practical considerations.
This article explains the various classifications of Linux I/O—including buffered, direct, synchronous, and asynchronous types—describes the kernel’s block layer and I/O scheduler algorithms, and provides practical guidance for measuring disk performance using the FIO tool with example commands and scripts.
This article explains the Linux kernel scheduler's core concepts, walks through the initialization code of the 5.4 kernel (including run queues, scheduling classes, domains, and groups), and details how multi‑core and NUMA topologies are handled to achieve balanced CPU usage.
This guide walks through setting up a Linux‑Nginx‑MySQL‑PHP environment, generating a Laravel Artisan command, configuring the Kernel schedule, and adding the necessary cron entry to run the task automatically each night at the specified time.
This article walks through ten practical scheduling solutions—from Linux crontab and JDK utilities to Spring Task, Spring Quartz, and distributed frameworks like XXL‑Job and Elastic‑Job—explaining their usage, configuration, code examples, and pros and cons so developers can pick the right tool for any business need.
This guide explains how to automate Linux tasks by configuring boot‑time services with chkconfig and rc.local, using the at command for one‑off jobs, and setting up recurring jobs with crontab, complete with syntax, examples, and practical shell script integration.
React Fiber rewrites React’s core algorithm by breaking the diff phase into small, interruptible fiber units, scheduling them during browser idle time with requestIdleCallback, using double‑buffered trees and effect lists to pause, resume, and efficiently commit DOM updates, thereby improving UI responsiveness in large applications.
This article details ByteDance's journey of migrating stateful services to a cloud‑native Kubernetes platform, covering challenges in state management, infrastructure enhancements, storage solutions, monitoring, and automated operations that together improve efficiency and reduce costs at massive scale.
This article demonstrates how to configure Spring Boot @Scheduled tasks for both serial and parallel execution, introduces @Async for asynchronous processing, shows how to define custom local and global thread pools, and explains exception handling for asynchronous tasks, providing complete code examples.
This article explains how to use java.util.Timer for one‑time and periodic task scheduling, covering constructors, instance methods, daemon‑thread behavior, handling past dates, negative delays, multiple tasks, and proper shutdown, with complete code examples and execution results.
Explore ten practical Java scheduling options—from Linux crontab and JDK Thread/Timer to Spring Task, Quartz, and distributed frameworks like XXL‑Job, Elastic‑Job, Saturn and TBSchedule—detailing setup, code examples, advantages, drawbacks, and best‑fit scenarios for reliable task automation.