Tagged articles
29 articles
Page 1 of 1
Architect
Architect
Dec 18, 2025 · Backend Development

Why Graceful Shutdown Is Essential for Spring Event and How to Avoid Common Pitfalls

This article shares hard‑learned production experience on using Spring Event, explaining why services must shut down gracefully before publishing events, how startup timing can cause event loss, which business scenarios fit the publish‑subscribe model, and practical reliability techniques such as retries and idempotency.

EventJavaPubSub
0 likes · 11 min read
Why Graceful Shutdown Is Essential for Spring Event and How to Avoid Common Pitfalls
macrozheng
macrozheng
Jan 17, 2025 · Backend Development

Mastering Spring Event: Avoid Pitfalls and Ensure Reliable Publish‑Subscribe

This article shares hard‑won lessons from production incidents and provides practical guidelines—graceful shutdown, proper startup timing, suitable business scenarios, reliability patterns, and idempotent handling—to use Spring Event safely and effectively in Java backend systems.

BackendEventIdempotence
0 likes · 12 min read
Mastering Spring Event: Avoid Pitfalls and Ensure Reliable Publish‑Subscribe
ITPUB
ITPUB
Nov 17, 2024 · Backend Development

Why Spring Event Can Lose Messages During Startup and How to Avoid It

A deep dive into Spring Event's delayed listener registration reveals how messages can be lost during the brief window between Kafka consumer initialization and EventListener setup, explaining the root cause, illustrating the startup order, and recommending safer alternatives for reliable message handling.

EventJavaMessage Loss
0 likes · 8 min read
Why Spring Event Can Lose Messages During Startup and How to Avoid It
ITPUB
ITPUB
Sep 21, 2024 · Backend Development

Why Spring Event Can Crash Your Service During Shutdown and How to Avoid It

The article recounts a production incident where Spring Event caused bean‑lookup failures during service shutdown, explains the three‑step usage of Spring Event with code examples, and presents three mitigation strategies—abandoning Spring Event, handling exceptions with MQ retries, and implementing graceful shutdown—ultimately opting to drop Spring Event.

EventJavaMicroservices
0 likes · 5 min read
Why Spring Event Can Crash Your Service During Shutdown and How to Avoid It
Architect's Guide
Architect's Guide
Aug 14, 2024 · Backend Development

Key Considerations and Best Practices for Using Spring Event in Production

This article explains critical pitfalls, proper shutdown handling, event loss during startup, suitable business scenarios, reliability guarantees, and best‑practice patterns for employing Spring Event in high‑traffic backend systems, providing concrete code examples and operational recommendations.

BackendEventJava
0 likes · 11 min read
Key Considerations and Best Practices for Using Spring Event in Production
Java Tech Enthusiast
Java Tech Enthusiast
Jul 12, 2024 · Databases

New Features, Deprecations, and Removals in MySQL 9.0

MySQL 9.0, released July 2 2024, introduces EXPLAIN JSON output stored in variables, native EVENT DDL statements, and two new performance‑schema tables for variable metadata, while deprecating the old variables_info columns and removing the mysql_native_password plugin in favor of caching_sha2_password, enhancing observability and security.

AuthenticationEventPerformance Schema
0 likes · 11 min read
New Features, Deprecations, and Removals in MySQL 9.0
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 1, 2023 · Backend Development

Mastering Spring Event Mechanism: Custom Events, Listeners, Async & Ordering

This article introduces Spring's event mechanism, covering the creation of custom ApplicationEvent classes, implementing listeners via ApplicationListener and @EventListener annotations, publishing events, using @Async for asynchronous handling, configuring custom event multicaster, and controlling listener execution order with @Order, complete with code examples.

AsynchronousEventJava
0 likes · 9 min read
Mastering Spring Event Mechanism: Custom Events, Listeners, Async & Ordering
Ximalaya Technology Team
Ximalaya Technology Team
Aug 28, 2023 · Backend Development

Mastering Spring Events: Definition, Benefits, Usage, and Deep Source‑Code Walkthrough

Spring Event provides a decoupled, extensible mechanism for publishing and handling application events in Spring, covering its definition, benefits, drawbacks, practical usage with code examples, core internal classes, reserved events, asynchronous processing options, and detailed source‑code analysis of the event multicaster and listener registration.

AsynchronousBackendEvent
0 likes · 20 min read
Mastering Spring Events: Definition, Benefits, Usage, and Deep Source‑Code Walkthrough
Su San Talks Tech
Su San Talks Tech
Mar 12, 2023 · Backend Development

Unlocking Spring’s Hidden Extension Points: From FactoryBean to @Import and Beyond

This article provides a comprehensive guide to Spring’s extension mechanisms, covering FactoryBean, @Import, bean lifecycle callbacks, BeanPostProcessor, BeanFactoryPostProcessor, the SPI system, Spring Boot startup hooks, event publishing, and custom XML namespaces, complete with runnable code examples and diagrams.

BeanPostProcessorEventFactoryBean
0 likes · 37 min read
Unlocking Spring’s Hidden Extension Points: From FactoryBean to @Import and Beyond
Watermelon Frontend Tech Team
Watermelon Frontend Tech Team
Dec 1, 2022 · Frontend Development

Ensuring Smooth, Stable Experiences for Massive Mobile Event Launches

This article outlines practical strategies for guaranteeing high‑concurrency, high‑flexibility, and stable performance of large‑scale mobile event pages, covering user experience goals, technical indicators, load and runtime optimizations, dynamic configuration, and monitoring to keep millions of users satisfied.

EventMobilehigh concurrency
0 likes · 23 min read
Ensuring Smooth, Stable Experiences for Massive Mobile Event Launches
Tencent Cloud Developer
Tencent Cloud Developer
Aug 15, 2022 · Databases

Database Technology Development and Application

Tencent Cloud Database, a leading Chinese DB vendor, will host a live “Wiztalk” session featuring four experts who will discuss data and knowledge engineering, generic big‑data architectures, multi‑level consistency in distributed databases, and building elastic, cost‑effective cloud‑native storage engines, promoting research, talent and ecosystem development.

DevelopmentEventacademic
0 likes · 2 min read
Database Technology Development and Application
Top Architect
Top Architect
Aug 4, 2022 · Backend Development

Using Spring Application Events for Synchronous and Asynchronous Business Logic

This article explains how Spring Application Events can decouple complex business logic, demonstrates creating custom events, listeners, and publishers, shows both synchronous and asynchronous handling with @EventListener and @Async, and provides complete code examples and test results for a Spring Boot application.

AsynchronousBackendEvent
0 likes · 9 min read
Using Spring Application Events for Synchronous and Asynchronous Business Logic
Code Ape Tech Column
Code Ape Tech Column
Jul 13, 2022 · Backend Development

Using Spring Event for Synchronous and Asynchronous Processing in Spring Cloud Alibaba Projects

This article demonstrates how to create custom Spring events, define listeners, publish events, and enable asynchronous handling with @EnableAsync and @Async annotations, providing complete code examples and test results for both synchronous and asynchronous scenarios in a Spring Cloud Alibaba micro‑service environment.

AsynchronousBackendEvent
0 likes · 9 min read
Using Spring Event for Synchronous and Asynchronous Processing in Spring Cloud Alibaba Projects
Cognitive Technology Team
Cognitive Technology Team
Mar 13, 2022 · Backend Development

Understanding Synchronous vs Asynchronous Event Execution in Spring's SimpleApplicationEventMulticaster

After upgrading a core component, a previously synchronous domain event in Spring became asynchronous, causing runtime errors; this article explains the underlying mechanism, shows the relevant source code of SimpleApplicationEventMulticaster, and clarifies how the presence or absence of a configured thread pool determines whether events are processed synchronously or asynchronously.

AsynchronousEventJava
0 likes · 3 min read
Understanding Synchronous vs Asynchronous Event Execution in Spring's SimpleApplicationEventMulticaster
DeWu Technology
DeWu Technology
Nov 26, 2021 · Operations

DeWu Technology Salon: Project Management Event

The DeWu Technology Salon, co‑hosted with PoMa Zhangfei, will focus on project management on November 27 from 13:30 to 14:00 at Hulian Baodi C2 Building’s fifth floor, featuring ThoughtWorks Digital Transformation Director Xiao Ran, Kedge Consulting senior consultant Xu Chenfei, internet project‑management expert Wu Ting, and DeWu App PMO Director Miao Guoping; attendees must show health and travel QR codes and can join the exchange group by replying “project”.

DeWuDigital TransformationEvent
0 likes · 2 min read
DeWu Technology Salon: Project Management Event
php Courses
php Courses
Nov 2, 2020 · Backend Development

Using Hook Behaviors in ThinkPHP: A Practical Guide

This article explains the concept of ThinkPHP Hook behaviors, demonstrates how to define, bind, and trigger custom behavior classes with code examples, and shows how to decouple login logic using event‑like hooks for more maintainable backend development.

BackendDecouplingEvent
0 likes · 6 min read
Using Hook Behaviors in ThinkPHP: A Practical Guide
Programmer DD
Programmer DD
Aug 7, 2020 · Backend Development

Mastering Spring’s Event System: From Events to Listeners and Broadcasters

This article explains Spring's event mechanism, covering the ApplicationEvent API, built‑in events, listener registration via @EventListener, the internal processing flow, SimpleApplicationEventMulticaster broadcasting, and the specific event types and listeners used in Spring Boot.

EventJavaspring-boot
0 likes · 10 min read
Mastering Spring’s Event System: From Events to Listeners and Broadcasters
Laravel Tech Community
Laravel Tech Community
Apr 27, 2020 · Backend Development

Master Laravel Events: Quick Reference Cheat Sheet & Code Guide

This article provides a concise Laravel Event cheat sheet, explaining the EventServiceProvider $listen array, generation of listener classes, and the full set of Event facade methods for dispatching, listening, subscribing, and managing event lifecycles with ready-to-use code examples.

BackendEventLaravel
0 likes · 3 min read
Master Laravel Events: Quick Reference Cheat Sheet & Code Guide