Tagged articles
Event
30 articles · Page 1 of 1
This tutorial completes the wechat-publisher plugin series by extracting publish logic into a reusable Service, using events for decoupled notifications, and packaging the plugin as an installable Bundle for distribution via dsh plugin commands.
BundleDeepSeek HarnessEvent
0 likes · 20 min read

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.
EventJavaSpring
0 likes · 11 min read

This article explains critical pitfalls, graceful shutdown requirements, startup timing issues, suitable business scenarios, and reliability techniques—including retries, idempotency, and integration with Kafka and MQ—when applying Spring Event for publish‑subscribe patterns in high‑traffic backend services.
EventJavaSpring
0 likes · 11 min read

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

This article explains how to use Python's asyncio library to synchronize and communicate between coroutines, covering Event, Lock, Semaphore, Condition, and Queue primitives with clear code examples demonstrating each mechanism in practice.
ConditionEventLock
0 likes · 8 min read


ITPUBNov 17, 2024 · Backend Development
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


ITPUBSep 21, 2024 · Backend Development
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.
EventJavaSpring
0 likes · 5 min read

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.
BackendBest PracticesEvent
0 likes · 11 min read

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.
AuthenticationEXPLAINEvent
0 likes · 11 min read

This article explains how to obtain and calculate various distance and size properties in the browser—such as pageY, clientY, offsetY, scrollY, getBoundingClientRect, scrollTop, offsetTop, clientTop, and height metrics—using React event handlers and plain JavaScript, with practical code examples.
DOMEventReact
0 likes · 11 min read

This article shares hard‑won production lessons on using Spring Event, explaining why graceful service shutdown, proper startup timing, consistency requirements, and retry mechanisms are essential for reliable event publishing in Java backend systems.
EventJavaSpring
0 likes · 11 min read

This article shares practical lessons from real‑world production incidents, explaining why graceful shutdown, proper listener registration timing, consistency requirements, retry mechanisms, idempotency, and traffic control are essential when using Spring Event in Java backend systems.
BackendEventJava
0 likes · 12 min read

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.
EventJavaSpring
0 likes · 9 min read

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.
ApplicationContextBackendEvent
0 likes · 20 min read

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

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.
Eventhigh concurrencymobile
0 likes · 23 min read

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.
EventTechnologyacademic
0 likes · 2 min read

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.
BackendEventapplication-event
0 likes · 9 min read

This article explains how to use Spring's Application Event mechanism for both synchronous and asynchronous processing, covering custom event creation, listener definition, publisher usage, unit testing, and enabling async execution with @EnableAsync and @Async annotations, illustrated with code examples and diagrams.
EventJavaasynchronous
0 likes · 4 min read

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.
BackendEventJava
0 likes · 9 min read

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.
EventJavaSpring
0 likes · 3 min read

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”.
DeWuEventPMO
0 likes · 2 min read

This article explains why Python threads cannot be killed directly, demonstrates the default waiting behavior on program exit, and provides two practical techniques—using daemon threads and threading.Event objects—to allow background threads to terminate cleanly when a user interrupts the process.
Eventdaemonthreading
0 likes · 10 min read

This article explains why Python background threads cannot be forcibly killed, and demonstrates two practical methods—using daemon threads and threading.Event objects—to enable graceful termination and proper cleanup, including code examples, signal handling, and interrupt behavior.
Eventdaemongraceful shutdown
0 likes · 9 min read

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

This article demonstrates two ways to retrieve user-entered text in a React component—by accessing the event object's target value in an onChange handler and by defining a ref to read the input value directly—along with the supporting index.js setup.
EventInput HandlingJavaScript
0 likes · 3 min read

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

This article explains Python's threading module, demonstrating how to import it, create and manage single and multiple threads, use thread locks (Lock and RLock), condition variables, semaphores, events, thread‑local storage, and timers, providing complete code examples for each concept.
ConcurrencyEventLock
0 likes · 12 min read

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

The iKesheng community’s weekly roundup shares upcoming events like the DBLE Beijing meet‑up, free Mycat diagnosis services, detailed DBLE and DTLE weekly reports, and technical articles on global lock detection, slave data search, and hash algorithm choices, offering valuable insights for database professionals.
DBLEEventMycat
0 likes · 4 min read
