Tagged articles
56 articles
Page 1 of 1
James' Growth Diary
James' Growth Diary
May 7, 2026 · Artificial Intelligence

Mastering the Coordinator Pattern: Control‑Plane/Data‑Plane Separation for Scalable Multi‑Agent Orchestration

The article dissects Claude Code’s Coordinator pattern, explaining how separating the control plane from the data plane eliminates serial bottlenecks, context overflow, and fault‑propagation in single‑Agent setups, and details the dual back‑end design, message protocol, engineering insights, technical debt, and practical adoption guidelines.

Backend AbstractionControl PlaneCoordinator
0 likes · 16 min read
Mastering the Coordinator Pattern: Control‑Plane/Data‑Plane Separation for Scalable Multi‑Agent Orchestration
java1234
java1234
Mar 31, 2026 · Backend Development

Why Polling Is Outdated: Lightweight Real‑Time Push with SSE

The article compares polling, WebSocket, and Server‑Sent Events (SSE), explains why polling is inefficient, outlines the advantages and browser compatibility of SSE versus WebSocket, and provides step‑by‑step Node.js and HTML demos for implementing a real‑time push solution.

EventSourceExpressNode.js
0 likes · 12 min read
Why Polling Is Outdated: Lightweight Real‑Time Push with SSE
Top Architect
Top Architect
Feb 14, 2026 · Backend Development

When to Use SSE vs WebSocket vs Polling: A Practical Node.js Guide

This article explains the three common server‑to‑client push techniques—polling, WebSocket and Server‑Sent Events (SSE)—detailing their principles, advantages, drawbacks, browser compatibility, key APIs, and provides a complete Node.js/Express demo with front‑end code to help developers choose the right solution for real‑time data scenarios.

Backend DevelopmentExpressNode.js
0 likes · 16 min read
When to Use SSE vs WebSocket vs Polling: A Practical Node.js Guide
JavaScript
JavaScript
Jan 6, 2026 · Frontend Development

How to Auto‑Detect Front‑End Code Updates and Prompt Users to Refresh

This article explains why automatic update detection is essential for web apps, compares polling version files with server‑push techniques like SSE and WebSockets, and provides practical implementation steps and UX guidelines for prompting users to refresh.

PollingSSEUser experience
0 likes · 6 min read
How to Auto‑Detect Front‑End Code Updates and Prompt Users to Refresh
High Availability Architecture
High Availability Architecture
Dec 5, 2025 · Frontend Development

Mastering Real-Time Web Communication: WebSocket, SSE, WebRTC & Polling Explained

This comprehensive guide explores the core concepts, protocols, implementation steps, and typical use cases of WebSocket, Server‑Sent Events, WebRTC, and traditional polling, comparing their strengths and weaknesses to help developers choose the right real‑time communication technique for web applications.

PollingSSEWeb Development
0 likes · 21 min read
Mastering Real-Time Web Communication: WebSocket, SSE, WebRTC & Polling Explained
JavaScript
JavaScript
Oct 5, 2025 · Frontend Development

How to Auto-Detect Frontend Updates and Prompt Users to Refresh

This article explains why front‑end applications need automatic version detection, compares polling, Server‑Sent Events and WebSockets, and offers practical implementation tips and UX guidelines for prompting users to refresh to the latest release.

PollingSSEUser experience
0 likes · 7 min read
How to Auto-Detect Frontend Updates and Prompt Users to Refresh
Architecture Digest
Architecture Digest
Sep 28, 2025 · Backend Development

When to Use SSE vs WebSocket: A Practical Guide with Node.js Demo

This article explains server‑to‑client push scenarios, compares polling, WebSocket and Server‑Sent Events (SSE), details SSE APIs and browser compatibility, and provides complete front‑end and back‑end Node.js demos to help you choose the right technology for real‑time data delivery.

Backend DevelopmentNode.jsPolling
0 likes · 11 min read
When to Use SSE vs WebSocket: A Practical Guide with Node.js Demo
Code Mala Tang
Code Mala Tang
Aug 25, 2025 · Frontend Development

Polling vs WebSocket: Choosing the Right Real‑Time Strategy for Your App

This article compares polling and WebSocket approaches for delivering real‑time updates, explains their advantages and drawbacks, provides React and Node.js code examples, and offers practical guidance on selecting the appropriate method based on task frequency and user experience requirements.

PollingReactReal-Time
0 likes · 7 min read
Polling vs WebSocket: Choosing the Right Real‑Time Strategy for Your App
Architect
Architect
Jul 15, 2025 · Backend Development

When to Use SSE vs WebSocket vs Polling: A Practical Guide

This article explains the three main server‑to‑client push techniques—polling, WebSocket, and Server‑Sent Events (SSE)—detailing their principles, advantages, drawbacks, compatibility, typical use cases, and provides complete Node.js/Express and plain‑HTML demos to help developers choose the right solution.

ExpressNode.jsPolling
0 likes · 13 min read
When to Use SSE vs WebSocket vs Polling: A Practical Guide
JavaScript
JavaScript
Jul 11, 2025 · Frontend Development

Make JavaScript Polling Smarter: From setInterval to Adaptive Strategies

This article examines the inefficiencies of traditional setInterval polling and presents three intelligent alternatives—using recursive setTimeout, applying exponential backoff, and leveraging the Page Visibility API—while providing code samples and highlighting their benefits over naive polling.

JavaScriptPage Visibility APIPolling
0 likes · 6 min read
Make JavaScript Polling Smarter: From setInterval to Adaptive Strategies
Java Web Project
Java Web Project
Jun 14, 2025 · Backend Development

When to Choose SSE, WebSocket, or Polling: A Practical Comparison

This article examines three server‑to‑client push techniques—polling, WebSocket, and Server‑Sent Events (SSE)—by detailing their mechanisms, listing concrete drawbacks and advantages, comparing them side‑by‑side, and providing step‑by‑step Node.js demos for real‑time dashboards and chat scenarios.

ExpressJavaScriptNode.js
0 likes · 13 min read
When to Choose SSE, WebSocket, or Polling: A Practical Comparison
JavaScript
JavaScript
Jun 12, 2025 · Frontend Development

How to Auto‑Detect Frontend Updates and Prompt Users to Refresh

This article explains why automatically detecting new front‑end releases is essential, compares polling version files with server‑push techniques such as SSE and WebSockets, and offers practical implementation tips and user‑experience guidelines for prompting users to refresh their browsers.

PollingUser experienceauto‑update
0 likes · 8 min read
How to Auto‑Detect Frontend Updates and Prompt Users to Refresh
Top Architecture Tech Stack
Top Architecture Tech Stack
May 19, 2025 · Backend Development

Understanding Server‑Sent Events (SSE): Concepts, Comparison with Polling and WebSocket, and Practical Implementation

This article explains the scenarios where servers need to push data to clients, compares three implementation methods—polling, WebSocket, and SSE—highlights their advantages and drawbacks, and provides step‑by‑step frontend and Node.js backend demos for building a real‑time SSE connection.

ExpressJavaScriptNode.js
0 likes · 13 min read
Understanding Server‑Sent Events (SSE): Concepts, Comparison with Polling and WebSocket, and Practical Implementation
Liangxu Linux
Liangxu Linux
Apr 29, 2025 · Fundamentals

How Early Computers Invented Interrupts to End Wasteful Polling

The article explains how 1960s batch systems suffered from CPU waste due to polling I/O devices, how IBM 704’s overflow flag inspired automatic error handling, and how the concept evolved into hardware interrupts with a concrete design, interrupt types, and vector table implementation.

CPUInterruptsOperating Systems
0 likes · 7 min read
How Early Computers Invented Interrupts to End Wasteful Polling
Java Captain
Java Captain
Apr 9, 2025 · Backend Development

Server‑Sent Events (SSE) vs WebSocket vs Polling: Usage Scenarios, Advantages, and Implementation Demo

This article explains the three common server‑to‑client push techniques—polling, WebSocket, and SSE—detailing their principles, pros and cons, browser compatibility, and provides step‑by‑step Node.js/Express and plain JavaScript demos to illustrate how to implement SSE in real‑time applications.

ExpressJavaScriptNode.js
0 likes · 13 min read
Server‑Sent Events (SSE) vs WebSocket vs Polling: Usage Scenarios, Advantages, and Implementation Demo
Top Architecture Tech Stack
Top Architecture Tech Stack
Apr 8, 2025 · Backend Development

Understanding Server‑Sent Events (SSE): Concepts, Comparison with Polling and WebSocket, and Implementation Demo

This article explains the principles and use cases of Server‑Sent Events (SSE), compares it with traditional polling and WebSocket solutions, outlines their advantages and drawbacks, and provides complete front‑end and Node.js/Express demo code to build a real‑time push system.

ExpressJavaScriptNode.js
0 likes · 13 min read
Understanding Server‑Sent Events (SSE): Concepts, Comparison with Polling and WebSocket, and Implementation Demo
macrozheng
macrozheng
Apr 2, 2025 · Backend Development

When to Choose SSE, WebSocket, or Polling? A Hands‑On Guide

This tutorial compares server‑push techniques—polling, WebSocket, and Server‑Sent Events—detailing their mechanisms, advantages, and drawbacks, then walks through setting up a simple SSE demo with Node.js and plain HTML, helping developers pick the right solution for real‑time data scenarios.

ExpressNode.jsPolling
0 likes · 13 min read
When to Choose SSE, WebSocket, or Polling? A Hands‑On Guide
IT Services Circle
IT Services Circle
Mar 30, 2025 · Fundamentals

From Polling to Interrupts: Understanding Early Operating System Mechanisms

The article explains how early batch-processing systems relied on inefficient polling of slow I/O devices, describes the inspiration from IBM 704's overflow flag, and details the invention and implementation of hardware and software interrupts, including interrupt types, vector tables, and handler functions, to enable efficient CPU‑device interaction.

CPUException HandlingHardware
0 likes · 7 min read
From Polling to Interrupts: Understanding Early Operating System Mechanisms
Zhuanzhuan Tech
Zhuanzhuan Tech
Jan 10, 2025 · Backend Development

Multiple Approaches to Real-Time Data Updates

This article compares three real-time data update techniques—short and long polling, WebSocket, and Server‑Sent Events—explaining their principles, advantages, drawbacks, and providing practical Vue and Node.js code examples to help developers choose the optimal solution for their specific use case.

Node.jsPollingReal-Time
0 likes · 14 min read
Multiple Approaches to Real-Time Data Updates
大转转FE
大转转FE
Jan 10, 2025 · Backend Development

Which Real‑Time Data Technique Is Best? Polling, WebSocket, or SSE Compared

This article compares three real‑time data update methods—short and long polling, WebSocket, and Server‑Sent Events—explaining their principles, advantages, drawbacks, and providing practical code examples so developers can choose the most suitable solution for their web applications.

BackendPollingReal-Time
0 likes · 16 min read
Which Real‑Time Data Technique Is Best? Polling, WebSocket, or SSE Compared
Top Architect
Top Architect
Dec 27, 2024 · Backend Development

Server‑Sent Events (SSE) vs WebSocket vs Polling: Detailed Comparison and SpringBoot Implementation

This article explains the lightweight Server‑Sent Events (SSE) approach for one‑way server push, compares its features, connection model, performance and use cases against WebSocket and traditional polling, and provides a SpringBoot example with code snippets for building an online‑user SSE endpoint.

Backend DevelopmentPollingSSE
0 likes · 11 min read
Server‑Sent Events (SSE) vs WebSocket vs Polling: Detailed Comparison and SpringBoot Implementation
Architecture Digest
Architecture Digest
Dec 12, 2024 · Backend Development

Server‑Sent Events vs WebSocket vs Polling: Choosing the Right Real‑Time Communication Technique for Backend Development

This article compares Server‑Sent Events, traditional polling, and WebSocket for server‑to‑client real‑time messaging, explains why WebSocket may be overkill for one‑way push scenarios, and provides a Spring Boot example of an SSE endpoint with code and configuration details.

PollingSpring BootWebSocket
0 likes · 7 min read
Server‑Sent Events vs WebSocket vs Polling: Choosing the Right Real‑Time Communication Technique for Backend Development
Architect
Architect
May 16, 2024 · Backend Development

Server‑Sent Events (SSE) vs WebSocket vs Polling: Concepts, Comparison, and Implementation Demo

This article explains the three common server‑to‑client push techniques—polling, WebSocket, and Server‑Sent Events—detailing their principles, advantages, drawbacks, appropriate use‑cases, and provides complete front‑end and Node‑Express back‑end demo code to help developers choose and implement the right solution.

ExpressNode.jsPolling
0 likes · 12 min read
Server‑Sent Events (SSE) vs WebSocket vs Polling: Concepts, Comparison, and Implementation Demo
Selected Java Interview Questions
Selected Java Interview Questions
Apr 14, 2024 · Backend Development

Server‑to‑Client Data Push: SSE, WebSocket, and Polling – Concepts, Comparison, and Demo

This article explains the three common server‑to‑client push techniques—polling, WebSocket, and Server‑Sent Events (SSE)—detailing their principles, advantages, drawbacks, browser compatibility, appropriate use‑cases, and provides a complete Node.js/Express demo with front‑end code.

ExpressNode.jsPolling
0 likes · 13 min read
Server‑to‑Client Data Push: SSE, WebSocket, and Polling – Concepts, Comparison, and Demo
Liangxu Linux
Liangxu Linux
Jun 27, 2023 · Fundamentals

How to Access and Communicate with Linux Serial Ports Using C

This guide explains Linux serial port device files, shows how to list them, and provides four C programming methods—polling, select‑based interrupt, SIGIO signal handling, and threaded reading—complete with code examples and detailed configuration steps.

CDevice FilesLinux
0 likes · 10 min read
How to Access and Communicate with Linux Serial Ports Using C
DevOps Cloud Academy
DevOps Cloud Academy
Mar 21, 2023 · Operations

Using Ansible Async Mode to Run Long‑Running Tasks in Playbooks

This article explains how Ansible’s async and poll parameters enable background execution of long‑running tasks, allowing playbooks to continue without blocking, and provides practical examples, configuration tips, and status‑checking techniques for reliable DevOps automation.

AnsibleAsyncAutomation
0 likes · 10 min read
Using Ansible Async Mode to Run Long‑Running Tasks in Playbooks
Architects Research Society
Architects Research Society
Feb 19, 2023 · Backend Development

Choosing Between Polling, Server‑Sent Events, and WebSockets for Real‑Time Web Applications

This article compares three real‑time communication techniques—long/short polling, WebSockets, and Server‑Sent Events—by explaining their mechanisms, presenting client‑ and server‑side code examples, and discussing their advantages, drawbacks, and suitable use‑cases to help developers select the appropriate method for a dashboard application.

BackendPollingReal-Time
0 likes · 12 min read
Choosing Between Polling, Server‑Sent Events, and WebSockets for Real‑Time Web Applications
Architect
Architect
Jan 19, 2023 · Backend Development

Preventing Duplicate Payments in E‑commerce: Process, Problems, and Solutions

This article explains the typical e‑commerce payment flow, analyzes why duplicate payments occur due to missing locks, drop‑offs, and multi‑channel issues, and presents practical backend techniques such as distributed locking, result caching, payment‑stream cancellation, refund handling, active polling, and client‑side pull/push strategies to reliably prevent repeated payments.

Pollingduplicate paymente‑commerce
0 likes · 10 min read
Preventing Duplicate Payments in E‑commerce: Process, Problems, and Solutions
macrozheng
macrozheng
Jul 25, 2022 · Backend Development

How to Prevent Duplicate Payments in E‑Commerce: Strategies & Best Practices

This article explains the complete e‑commerce payment flow, identifies why orders can be paid twice—including lack of deduplication, lost orders, and multi‑channel issues—and presents practical solutions such as distributed locking, result caching, transaction cancellation, refunds, active polling, and sync‑async notifications to reliably avoid duplicate payments.

PollingRefunddistributed-lock
0 likes · 12 min read
How to Prevent Duplicate Payments in E‑Commerce: Strategies & Best Practices
IT Architects Alliance
IT Architects Alliance
Jun 7, 2022 · Backend Development

Improving Kafka Consumer Design: From Poll‑Then‑Process Loop to a Better Model

This article analyzes the shortcomings of the traditional poll‑then‑process loop in Kafka consumers, explains configuration pitfalls such as max.poll.interval.ms, and proposes a more robust architecture using work queues, a poller, an executor, and an offset manager to achieve at‑most‑once, at‑least‑once, and exactly‑once processing guarantees.

ConsumerJavaKafka
0 likes · 15 min read
Improving Kafka Consumer Design: From Poll‑Then‑Process Loop to a Better Model
Xiao Lou's Tech Notes
Xiao Lou's Tech Notes
May 10, 2022 · Backend Development

Why Java’s WatchService Misses File Changes and How to Fix It

An in‑depth look at a real‑world file‑watching failure caused by a JDK timestamp bug, exploring Java’s WatchService implementation, its reliance on polling versus Linux’s inotify, and practical workarounds to ensure reliable configuration reloads across platforms.

File MonitoringJDK bugJava
0 likes · 10 min read
Why Java’s WatchService Misses File Changes and How to Fix It
Byte Quality Assurance Team
Byte Quality Assurance Team
Sep 1, 2021 · Backend Development

Using Polling Instead of Sleep in Python for Asynchronous Tasks

The article explains why fixed sleep calls are inefficient for asynchronous operations, introduces polling as a flexible alternative, provides Python code examples with the polling library, discusses advantages and disadvantages, and presents decorator and generic‑function abstractions for reusable polling logic.

AsynchronousDecoratorPolling
0 likes · 7 min read
Using Polling Instead of Sleep in Python for Asynchronous Tasks
Youzan Coder
Youzan Coder
Aug 19, 2021 · Mobile Development

Thread Pool Isolation and Monitoring Design for Mobile Applications

The design separates the original I/O pool into dedicated network, I/O, and polling thread pools, adds comprehensive monitoring of task duration and frequency, enforces unified polling rules, and automatically tunes pool parameters, resulting in a 76 % reduction in UI lag and easier troubleshooting.

PollingRxJavamobile performance
0 likes · 12 min read
Thread Pool Isolation and Monitoring Design for Mobile Applications
Top Architect
Top Architect
Jun 4, 2021 · Backend Development

Understanding Real-Time Push Technologies: Short Polling, Long Polling, WebSocket, and Server‑Sent Events

This article explains the concepts and practical implementations of real-time push techniques—including short polling, long polling, WebSocket, and Server‑Sent Events—detailing their principles, advantages, drawbacks, and providing complete JavaScript code examples for both client and server sides.

BackendPollingReal-Time
0 likes · 14 min read
Understanding Real-Time Push Technologies: Short Polling, Long Polling, WebSocket, and Server‑Sent Events
Ops Development Stories
Ops Development Stories
Nov 11, 2020 · Backend Development

Unlocking DPDK Performance: Key Insights and Optimization Techniques

This article summarizes essential concepts and practical optimization strategies for DPDK, covering architecture fundamentals, x86 performance analysis, virtualization overhead, NFV forwarding bottlenecks, huge‑page usage, polling modes, CPU affinity, and I/O virtualization techniques to achieve high‑throughput, low‑latency packet processing.

CPU affinityDPDKHuge Pages
0 likes · 30 min read
Unlocking DPDK Performance: Key Insights and Optimization Techniques
Architects Research Society
Architects Research Society
Sep 4, 2020 · Frontend Development

Polling vs Server‑Sent Events vs WebSockets: Choosing the Right Real‑Time Communication Method

This article compares three real‑time data delivery techniques—long/short polling, Server‑Sent Events, and WebSockets—explaining their mechanisms, advantages, drawbacks, and providing sample client‑server implementations to help developers select the most suitable approach for a dashboard that streams GitHub/Twitter activity.

BackendJavaScriptPolling
0 likes · 12 min read
Polling vs Server‑Sent Events vs WebSockets: Choosing the Right Real‑Time Communication Method
政采云技术
政采云技术
Nov 20, 2019 · Frontend Development

WebSocket Fundamentals and a Simple One‑to‑One Chat Implementation

This article explains the limitations of short and long polling, introduces the WebSocket protocol and its handshake mechanism, and provides complete client‑side and Node.js server code to build a basic real‑time chat application with heartbeat keep‑alive support.

Node.jsPollingWebSocket
0 likes · 11 min read
WebSocket Fundamentals and a Simple One‑to‑One Chat Implementation
21CTO
21CTO
Mar 18, 2019 · Frontend Development

Mastering Real-Time Web Push: From Polling to WebSocket

This article reviews the evolution of web real‑time push techniques—polling, long‑polling, iframe streaming—and explains why WebSocket offers superior bidirectional communication, lower latency, and reduced bandwidth, while providing practical code examples for each method.

PollingWebSocketfrontend
0 likes · 12 min read
Mastering Real-Time Web Push: From Polling to WebSocket
Youzan Coder
Youzan Coder
Apr 8, 2018 · Fundamentals

Testing Asynchronous Systems: Strategies and Best Practices

Testing asynchronous systems requires specialized strategies—monitoring callbacks with synchronization primitives and reliable polling with timeouts, delays, and frequencies—to handle nondeterministic execution, avoid flaky assertions, and improve testability by decoupling business logic from periodic scheduling, as demonstrated by real‑world polling implementations for Elasticsearch and MySQL/Redis jobs.

Java TestingPollingasynchronous testing
0 likes · 6 min read
Testing Asynchronous Systems: Strategies and Best Practices
Qunar Tech Salon
Qunar Tech Salon
Oct 20, 2017 · Frontend Development

Common Web Push Technologies and Their Comparison: Short Polling, Long Polling, Iframe Stream, WebSocket, and Server‑Sent Events

This article reviews the main web push techniques—short polling, long polling, iframe streaming, WebSocket, and Server‑Sent Events—explaining their principles, advantages, disadvantages, and suitability, and presents a practical implementation case with a detailed comparison and troubleshooting guide.

PollingSSEWebSocket
0 likes · 9 min read
Common Web Push Technologies and Their Comparison: Short Polling, Long Polling, Iframe Stream, WebSocket, and Server‑Sent Events