Tag

long polling

1 views collected around this technical thread.

IT Services Circle
IT Services Circle
May 7, 2025 · Backend Development

Understanding RocketMQ Long‑Polling Mechanism and Its Implementation

This article explains how RocketMQ implements long‑polling for message consumption, detailing the pull‑based model, the broker and consumer timeout settings, the internal suspension of pull requests, and the processing loop that resumes suspended requests to improve efficiency.

BrokerConsumerJava
0 likes · 7 min read
Understanding RocketMQ Long‑Polling Mechanism and Its Implementation
Top Architect
Top Architect
Oct 7, 2024 · Cloud Native

Understanding Nacos Configuration Center Long‑Polling Mechanism

This article explains how Nacos’s ConfigService initiates a long‑polling task on the client side, how the client periodically checks for configuration changes, and how the Nacos server processes long‑polling requests, detailing the relevant classes, methods, and code flow.

Configuration CenterJavaNacos
0 likes · 14 min read
Understanding Nacos Configuration Center Long‑Polling Mechanism
Selected Java Interview Questions
Selected Java Interview Questions
Aug 25, 2024 · Backend Development

Understanding Nacos Configuration Center Long‑Polling Mechanism and Its Implementation

This article explains the principles and source‑code flow of Nacos configuration center’s long‑polling mechanism, detailing how the client initiates periodic tasks, how the server processes listener requests, and how configuration changes are detected and propagated through various internal classes and threads.

Configuration CenterJavaNacos
0 likes · 10 min read
Understanding Nacos Configuration Center Long‑Polling Mechanism and Its Implementation
Code Ape Tech Column
Code Ape Tech Column
Dec 20, 2023 · Backend Development

Understanding Nacos Configuration Center Long‑Polling Mechanism: Client and Server Implementation

This article provides a detailed walkthrough of Nacos' configuration center long‑polling mechanism, explaining how the client initializes ConfigService, schedules periodic checks, processes configuration changes, and how the server receives listener requests, manages long‑polling tasks, and triggers change events, all illustrated with code snippets and diagrams.

JavaNacosbackend
0 likes · 12 min read
Understanding Nacos Configuration Center Long‑Polling Mechanism: Client and Server Implementation
macrozheng
macrozheng
Nov 7, 2023 · Backend Development

Mastering Apollo’s HTTP Long Polling: A Deep Dive into Distributed Config Centers

This article explores Apollo’s distributed configuration center, focusing on its core architecture and the implementation of HTTP Long Polling, including code examples, timeout considerations, and strategies to ensure reliable message delivery across multiple client nodes.

ApolloConfiguration CenterSpring
0 likes · 12 min read
Mastering Apollo’s HTTP Long Polling: A Deep Dive into Distributed Config Centers
Cognitive Technology Team
Cognitive Technology Team
Oct 22, 2023 · Backend Development

Apollo Configuration Change Notification Process and Long‑Polling Mechanism

The article explains Apollo’s client‑side long‑polling workflow, how the Config Service suspends requests with Spring DeferredResult, stores them in a cache, and notifies clients of configuration changes via database messages and background scanning, enabling immediate config refresh.

ApolloConfiguration ManagementSpring DeferredResult
0 likes · 3 min read
Apollo Configuration Change Notification Process and Long‑Polling Mechanism
Sanyou's Java Diary
Sanyou's Java Diary
Oct 19, 2023 · Backend Development

Implement Real‑Time Web Message Push (Red Dot) Using Polling, SSE, WebSocket & MQTT

This article walks through multiple ways to add real‑time in‑site notifications—such as the familiar red‑dot badge—to a web application, covering short and long polling, iframe streaming, Server‑Sent Events, MQTT and WebSocket, with complete Spring Boot code examples and client‑side snippets.

MQTTSSESpring Boot
0 likes · 19 min read
Implement Real‑Time Web Message Push (Red Dot) Using Polling, SSE, WebSocket & MQTT
Top Architect
Top Architect
Oct 12, 2023 · Backend Development

Design and Optimization of a High‑Performance Live‑Streaming Danmaku System

This article details the design and optimization of a high‑throughput live‑streaming danmaku system, covering background requirements, bandwidth challenges, short‑polling versus WebSocket delivery, compression and frequency controls, service splitting with caching and lock‑free ring buffers, and reports successful handling of 700 k concurrent users during a major event.

Live StreamingWebSocketbackend architecture
0 likes · 13 min read
Design and Optimization of a High‑Performance Live‑Streaming Danmaku System
macrozheng
macrozheng
Aug 15, 2023 · Backend Development

Mastering Web Message Push: From Short Polling to SSE and WebSocket

This article explains various web message‑push techniques—including short polling, long polling, iframe streaming, Server‑Sent Events, MQTT, and WebSocket—detailing their principles, advantages, and step‑by‑step Spring Boot and JavaScript implementations with complete code examples.

JavaSSESpring Boot
0 likes · 18 min read
Mastering Web Message Push: From Short Polling to SSE and WebSocket
Sohu Tech Products
Sohu Tech Products
Jul 19, 2023 · Backend Development

Understanding RocketMQ Consumption Logic in Version 4.9.x

This article provides a comprehensive walkthrough of RocketMQ 4.9.x consumption architecture, covering the four core roles, publish‑subscribe model, storage structures, load‑balancing, long‑polling, concurrent and ordered consumption flows, progress persistence, and retry mechanisms, with illustrative diagrams and code snippets.

ConsumerLoad BalancingMessage Queue
0 likes · 28 min read
Understanding RocketMQ Consumption Logic in Version 4.9.x
Sanyou's Java Diary
Sanyou's Java Diary
Jun 12, 2023 · Backend Development

Master RocketMQ 4.9.x Consumption: Architecture, Load Balancing, and Retry Strategies

This article walks through RocketMQ 4.9.x’s consumption architecture, explaining the roles of NameServer, Broker, Producer and Consumer, the publish‑subscribe model, storage structures, load‑balancing algorithms, long‑polling, concurrent and ordered consumption, progress persistence, and the built‑in retry mechanism.

ConsumerLoad BalancingMessage Queue
0 likes · 28 min read
Master RocketMQ 4.9.x Consumption: Architecture, Load Balancing, and Retry Strategies
NetEase Cloud Music Tech Team
NetEase Cloud Music Tech Team
May 25, 2023 · Backend Development

Building Real-Time IM Solutions with WebSocket: A Practical Guide

The guide walks through building a real‑time instant‑messaging system—using a multiplayer monster‑battle demo—to compare polling, long‑polling, SSE and WebSocket, explains the WebSocket handshake and frame format, shows a custom Node.js server implementation, and advises adopting mature IM SDKs for production.

Instant MessagingNode.jsReal-time Communication
0 likes · 23 min read
Building Real-Time IM Solutions with WebSocket: A Practical Guide
Selected Java Interview Questions
Selected Java Interview Questions
Jan 17, 2023 · Backend Development

Design and Optimization of a High‑Performance Bullet Chat System for Southeast Asian Live Streaming

This article details the design, bandwidth optimization, and reliability strategies of a custom bullet‑chat system for Southeast Asian live streaming, covering background challenges, problem analysis, compression, request throttling, long‑polling versus WebSocket trade‑offs, and a short‑polling solution that successfully supported 700 k concurrent users.

WebSocketbackendbullet-chat
0 likes · 10 min read
Design and Optimization of a High‑Performance Bullet Chat System for Southeast Asian Live Streaming
Top Architect
Top Architect
Jan 13, 2023 · Backend Development

Design and Optimization of a High‑Performance Live‑Streaming Danmaku System

This article describes the design, challenges, and optimization strategies of a custom live‑streaming danmaku system for Southeast Asian markets, covering bandwidth constraints, latency issues, long‑polling versus WebSocket approaches, service splitting, caching, and a ring‑buffer implementation that supported 700 k concurrent users during a major sales event.

Live StreamingWebSocketbackend
0 likes · 11 min read
Design and Optimization of a High‑Performance Live‑Streaming Danmaku System
Architecture Digest
Architecture Digest
Jan 6, 2023 · Backend Development

Design and Optimization of a High‑Performance Danmu System for Southeast Asian Live Streaming

This article presents a detailed case study of designing a high‑throughput danmu (bullet‑screen) system for Southeast Asian live streaming, analyzing bandwidth constraints, latency issues, and evaluating long‑polling, WebSocket, and short‑polling approaches, ultimately describing the chosen short‑polling solution, service partitioning, caching, and ring‑buffer techniques to achieve stable performance for millions of concurrent users.

Real-time MessagingWebSocketbackend architecture
0 likes · 12 min read
Design and Optimization of a High‑Performance Danmu System for Southeast Asian Live Streaming
Sanyou's Java Diary
Sanyou's Java Diary
Aug 8, 2022 · Backend Development

How RocketMQ Achieves Smart Push Consumption with Long Polling

This article explains RocketMQ's push and pull consumption modes, shows how its pseudo‑push implementation uses long polling to balance real‑time delivery and consumer pressure, and walks through the core source‑code mechanisms that hold and resume pull requests.

Message Queuebackendconsumer pressure
0 likes · 10 min read
How RocketMQ Achieves Smart Push Consumption with Long Polling
IT Services Circle
IT Services Circle
Jul 27, 2022 · Backend Development

Implementing Web Message Push: Short Polling, Long Polling, Iframe Stream, SSE, MQTT, and WebSocket

This article explains several server‑side techniques for real‑time web message push—including short and long polling, hidden‑iframe streaming, Server‑Sent Events, MQTT, and WebSocket—provides their principles, advantages, drawbacks, and complete Spring Boot/Java code examples for each approach.

JavaSSESpring Boot
0 likes · 17 min read
Implementing Web Message Push: Short Polling, Long Polling, Iframe Stream, SSE, MQTT, and WebSocket
Wukong Talks Architecture
Wukong Talks Architecture
Jul 15, 2022 · Backend Development

Understanding Nacos Configuration Center: Pull Model, Long Polling, and Source Code Analysis

This article explains how Nacos configuration center works, clarifies that it uses a client‑initiated pull (long‑polling) model rather than push, and walks through key client and server source code components—including cacheMap, listeners, long‑polling handling, and configuration change notification – to help developers and interviewees master its internals.

Configuration CenterJavaNacos
0 likes · 17 min read
Understanding Nacos Configuration Center: Pull Model, Long Polling, and Source Code Analysis