Tagged articles
32 articles
Page 1 of 1
Architect's Guide
Architect's Guide
Apr 29, 2026 · Backend Development

How to Use Spring Boot, Netty, and WebSocket for Server‑to‑Client Push

This article walks through building a Netty‑based WebSocket server integrated with Spring Boot, configuring the channel pipeline, implementing custom handlers, exposing a push‑message service, and testing the end‑to‑end flow that enables the backend to push real‑time messages to web clients.

BackendNettyServer Push
0 likes · 8 min read
How to Use Spring Boot, Netty, and WebSocket for Server‑to‑Client Push
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
FunTester
FunTester
Apr 13, 2025 · Frontend Development

Mastering Timed Tasks in Chrome Extensions: From Persistent Background to On‑Demand Execution

This guide explains how to implement reliable scheduled tasks in Chrome extensions under Manifest V3, covering the shift from persistent background scripts to service workers, three practical approaches—including chrome.alarms, content script timers, and event‑driven simulations—plus best‑practice tips for idempotency, logging, and state persistence.

Chrome ExtensionIdempotencyServer Push
0 likes · 12 min read
Mastering Timed Tasks in Chrome Extensions: From Persistent Background to On‑Demand Execution
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
ITPUB
ITPUB
Dec 14, 2024 · Backend Development

Why Can’t Servers Push Data? Exploring HTTP Polling, Long Polling, and WebSocket

This article explains why traditional HTTP cannot let servers initiate messages, compares periodic HTTP polling and long polling as workarounds, and introduces the full‑duplex WebSocket protocol—including its handshake, frame format, and typical use cases such as web games and real‑time chat.

HTTPServer PushWebSocket
0 likes · 15 min read
Why Can’t Servers Push Data? Exploring HTTP Polling, Long Polling, and WebSocket
php Courses
php Courses
Jun 27, 2023 · Frontend Development

Comparing EventSource and WebSocket for ChatGPT Web Communication

The article compares EventSource and WebSocket, outlining their respective advantages, disadvantages, and appropriate use cases for server‑push versus bidirectional real‑time communication in web applications such as the ChatGPT interface.

EventSourceServer PushWebSocket
0 likes · 3 min read
Comparing EventSource and WebSocket for ChatGPT Web Communication
Thoughts on Knowledge and Action
Thoughts on Knowledge and Action
Dec 13, 2022 · Fundamentals

How HTTP/2 Transforms Web Performance: Architecture, Features, and Debugging

HTTP/2 introduces a binary framing layer, multiplexed streams, header compression, and server push, replacing the limitations of HTTP/1.x by enabling a single TCP connection to carry multiple concurrent requests, reducing latency, improving bandwidth usage, and simplifying web development, while also presenting new debugging challenges.

HTTP/2Header CompressionServer Push
0 likes · 11 min read
How HTTP/2 Transforms Web Performance: Architecture, Features, and Debugging
Senior Brother's Insights
Senior Brother's Insights
Aug 29, 2021 · Fundamentals

Why HTTP/2 Matters: From Head‑of‑Line Blocking to Server Push

This article explains the shortcomings of HTTP/1.x, introduces the key innovations of HTTP/2 such as binary framing, multiplexing, server push, header compression, request priority, stream reset and flow control, and shows why mastering these concepts is essential for modern web development and interview preparation.

Binary FramingHTTP/2Header Compression
0 likes · 13 min read
Why HTTP/2 Matters: From Head‑of‑Line Blocking to Server Push
ByteDance Dali Intelligent Technology Team
ByteDance Dali Intelligent Technology Team
Jun 24, 2021 · Fundamentals

A Comprehensive Analysis of the HTTP/2 Protocol: Architecture, Optimizations, and Practical Packet Capture Insights

This article provides a comprehensive technical analysis of the HTTP/2 protocol, detailing its architectural improvements over HTTP/1.1, including HPACK header compression, binary framing, stream multiplexing, and server push, while demonstrating practical packet capture techniques to illustrate its performance optimizations.

Binary FramingHPACK CompressionHTTP/2
0 likes · 15 min read
A Comprehensive Analysis of the HTTP/2 Protocol: Architecture, Optimizations, and Practical Packet Capture Insights
vivo Internet Technology
vivo Internet Technology
Feb 22, 2021 · Fundamentals

Comprehensive Overview of HTTP/2: Connection Setup, Frames & Streams, HPACK Compression, Server Push, Flow Control, and Open Issues

The article thoroughly explains HTTP/2, detailing its optional clear‑text or TLS connection setup, multiplexed frames and streams, HPACK header compression, server‑push mechanism, application‑layer flow control, and the protocol’s lingering challenges such as TLS handshake latency and TCP head‑of‑line blocking that HTTP/3 seeks to resolve.

Flow ControlHTTP/2Server Push
0 likes · 21 min read
Comprehensive Overview of HTTP/2: Connection Setup, Frames & Streams, HPACK Compression, Server Push, Flow Control, and Open Issues
MaoDou Frontend Team
MaoDou Frontend Team
Jun 19, 2019 · Fundamentals

Why HTTP/2 Matters: Key Features and Performance Boosts Explained

HTTP/2, the first major update to HTTP since 1.1, introduces binary framing, multiplexing, server push, and header compression, dramatically improving web performance by reducing latency, consolidating connections, and optimizing resource delivery, as detailed in this comprehensive overview.

Binary FramingHTTP/2Header Compression
0 likes · 6 min read
Why HTTP/2 Matters: Key Features and Performance Boosts Explained
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
May 23, 2019 · Backend Development

Is HTTP/2 Worth It? Benefits, Drawbacks, and Future Outlook

This article reviews HTTP/2's core features, evaluates its performance advantages and limitations in real‑world web deployments, discusses server‑push and proxy challenges, and offers a forward‑looking perspective on its adoption across the industry.

HTTP/2Server PushWeb Performance
0 likes · 8 min read
Is HTTP/2 Worth It? Benefits, Drawbacks, and Future Outlook
360 Quality & Efficiency
360 Quality & Efficiency
May 17, 2019 · Backend Development

Understanding Comet and WebSocket Server Push Technologies

This article explains the principles, models, and implementations of Comet (including stream‑based and long‑polling approaches) and WebSocket as server‑push techniques for real‑time web applications, comparing their advantages, limitations, and practical deployment considerations.

BackendCometReal-time Web
0 likes · 8 min read
Understanding Comet and WebSocket Server Push Technologies
360 Tech Engineering
360 Tech Engineering
Apr 4, 2019 · Backend Development

Implementing HTTP/2 Server Push in Go

This article demonstrates how to add on‑demand and periodic HTTP/2 server‑push functionality in Go, explaining the required handlers, showing complete Go code examples, and detailing the HTTP/2 frame exchange observed with an h2c client.

BackendGoHTTP/2
0 likes · 7 min read
Implementing HTTP/2 Server Push in Go
360 Tech Engineering
360 Tech Engineering
Mar 22, 2019 · Fundamentals

Understanding HTTP/2 Header Compression (HPACK) and Server Push

This article explains HTTP/2's header compression using the HPACK format—including static and dynamic tables, Huffman coding, and literal encoding—and the Server Push mechanism with PUSH_PROMISE frames, illustrating how these features reduce bandwidth and improve request latency.

GoHTTP/2Header Compression
0 likes · 11 min read
Understanding HTTP/2 Header Compression (HPACK) and Server Push
Tencent Cloud Developer
Tencent Cloud Developer
Jul 27, 2018 · Frontend Development

HTTP/2 Server Push Implementation and Performance Optimization by Tencent CDN

Tencent CDN’s implementation of HTTP/2 Server Push predicts and preloads dependent resources via link tags or headers, creates PUSH_PROMISE frames, and streams assets before the main response, yielding measurable latency reductions on real‑world pages when used with proper sizing, priority, and cache awareness, while avoiding slow‑start and buffer issues.

CDNFrontend OptimizationHTTP/2
0 likes · 16 min read
HTTP/2 Server Push Implementation and Performance Optimization by Tencent CDN
21CTO
21CTO
Jan 10, 2018 · Backend Development

Why HTTP/2 Supercharges REST APIs: Performance, Security, and Beyond

HTTP/2 replaces the text‑based HTTP/1.x with a binary, multiplexed protocol that reduces latency, eliminates head‑of‑line blocking, compresses headers, enables server push, and improves security, offering REST APIs faster, more efficient communication while preserving familiar semantics for developers.

BinaryHTTP/2REST API
0 likes · 12 min read
Why HTTP/2 Supercharges REST APIs: Performance, Security, and Beyond
Node Underground
Node Underground
Jun 1, 2017 · Frontend Development

Why HTTP/2 Server Push Isn’t a Silver Bullet and How to Use It Effectively

HTTP/2 introduced server push to let servers proactively send resources, but it suffers from issues such as cache invalidation after connection closure, difficulty identifying needed pages, lack of authentication reuse, and other pitfalls, so understanding its traps and best practices is essential for effective use.

HTTP/2Server PushWeb Performance
0 likes · 2 min read
Why HTTP/2 Server Push Isn’t a Silver Bullet and How to Use It Effectively
21CTO
21CTO
Mar 19, 2017 · Fundamentals

Why HTTP/2 Outperforms HTTP/1.1: Key Differences and Benefits

HTTP/2, the modern successor to HTTP/1.1, introduces binary framing, header compression, multiplexing, server push, and other enhancements that dramatically reduce latency and improve efficiency, making web pages load faster and more reliably across browsers and servers that support the protocol.

HTTP/2MultiplexingServer Push
0 likes · 6 min read
Why HTTP/2 Outperforms HTTP/1.1: Key Differences and Benefits
Aotu Lab
Aotu Lab
Jun 17, 2016 · Frontend Development

Why Upgrade to HTTP/2 Now? Real‑World Performance Gains and Best Practices

This article examines how widespread HTTP/2 adoption changes front‑end architecture, demonstrates concrete speed improvements through multiplexing, priority, and server‑push with real‑world demos and HAR analysis, and explains which legacy optimizations become obsolete.

HTTP/2MultiplexingServer Push
0 likes · 12 min read
Why Upgrade to HTTP/2 Now? Real‑World Performance Gains and Best Practices
Architecture Digest
Architecture Digest
Mar 10, 2016 · Backend Development

An Overview of HTTP/2: Features, Mechanisms, and Performance Experiments

This article explains the key innovations of HTTP/2—including binary framing, multiplexing, header compression, request priority, server push, and flow control—while also providing practical tools and experimental results that demonstrate its performance advantages over HTTP/1.1 and SPDY.

Flow ControlHTTP/2Header Compression
0 likes · 14 min read
An Overview of HTTP/2: Features, Mechanisms, and Performance Experiments
Architect
Architect
Nov 12, 2015 · Backend Development

Server Push (Comet) Techniques: Comparison, Implementation, and Best Practices

This article examines server‑push technologies such as Comet, comparing plugin‑based socket approaches with HTTP long‑connection methods like AJAX long‑polling and iframe/htmlfile streaming, and provides practical guidance on building robust Comet applications using frameworks such as Pushlet.

CometHTTPServer Push
0 likes · 19 min read
Server Push (Comet) Techniques: Comparison, Implementation, and Best Practices
21CTO
21CTO
Sep 12, 2015 · Frontend Development

How HTTP/2 Boosts Front‑End Performance: Server Push, Multiplexing & Tips

This article explains how HTTP/2 replaces SPDY, introduces multiplexing, header compression and Server Push, and shows why many HTTP/1 optimization tricks become obsolete while still offering practical strategies for faster resource loading on modern web pages.

HTTP/2MultiplexingServer Push
0 likes · 23 min read
How HTTP/2 Boosts Front‑End Performance: Server Push, Multiplexing & Tips