Tagged articles
445 articles
Page 5 of 5
Programmer DD
Programmer DD
Aug 29, 2019 · Backend Development

Why Choose Server‑Sent Events Over WebSocket for Simple Real‑Time Push?

The article explains how Server‑Sent Events (SSE) provide a lightweight, one‑way server‑to‑client push mechanism that avoids the complexity of WebSocket or polling, shows its protocol details, compares it with WebSocket, and demonstrates integration with Spring MVC and the browser EventSource API.

EventSourceSSEServer-Sent Events
0 likes · 6 min read
Why Choose Server‑Sent Events Over WebSocket for Simple Real‑Time Push?
Taobao Frontend Technology
Taobao Frontend Technology
Aug 20, 2019 · Fundamentals

Demystifying VSCode Debugging: How DAP Powers IDE Debuggers

This article explains VSCode's debugging architecture, introduces the Debug Adapter Protocol (DAP), and walks through a web‑based demo that implements a Node.js debug session using Monaco, WebSocket communication, and a custom debug adapter to illustrate the full debugging workflow.

DAPDebuggingIDE
0 likes · 9 min read
Demystifying VSCode Debugging: How DAP Powers IDE Debuggers
Tencent Cloud Developer
Tencent Cloud Developer
Aug 15, 2019 · Backend Development

Building Real-time Data Push Service for Mini Program Cloud Development: An Interview with Tencent Senior Engineer

In an interview, Tencent senior engineer Zhou Zijie explains how the new real‑time data push service for Mini Program Cloud Development monitors cloud‑database changes and reliably streams updates to mini‑apps via a three‑layer SDK‑middleware‑backend architecture that uses sequential numbering, TARS RPC, and extensive optimizations to achieve low latency, high concurrency, and will launch publicly in August.

Backend ArchitectureMini Program Cloud DevelopmentReal-time Data Push
0 likes · 10 min read
Building Real-time Data Push Service for Mini Program Cloud Development: An Interview with Tencent Senior Engineer
G7 EasyFlow Tech Circle
G7 EasyFlow Tech Circle
Aug 9, 2019 · Backend Development

How Mobile Service Backend Achieved Lightning‑Fast Performance with HTTP/2 and Async Caching

This article details the Mobile Service “秒开” project’s three‑step performance optimization, covering data‑driven monitoring, HTTP/2 features like header compression and multiplexing, long‑connection architecture with WebSocket, and an asynchronous caching component that together dramatically improve response times and reliability for mobile clients.

HTTP/2Mobile BackendWebSocket
0 likes · 13 min read
How Mobile Service Backend Achieved Lightning‑Fast Performance with HTTP/2 and Async Caching
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
转转QA
转转QA
May 8, 2019 · Mobile Development

iOS Remote Control Solution: Architecture, Technology Research, and Implementation Details

This article describes the research, design, and implementation of an iOS remote‑control system—including technology selection, architecture with WebSocket and WebDriverAgent, performance optimizations for screenshot and event handling, and future improvement plans—aimed at providing smooth, low‑latency device access through a browser.

Mobile DevelopmentPerformance OptimizationWebDriverAgent
0 likes · 9 min read
iOS Remote Control Solution: Architecture, Technology Research, and Implementation Details
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
转转QA
转转QA
Feb 20, 2019 · Backend Development

Design, Implementation, and Testing of a WebSocket‑Based IM System

This article describes how Zhaozhuan replaced third‑party IM solutions with a custom WebSocket‑based instant‑messaging system, covering background, WebSocket fundamentals, implementation choices, detailed client code, multi‑stage testing (pre‑test, functional, online monitoring), automation with Puppeteer, performance testing using JMeter, and monitoring platform integration.

IM SystemWebSocket
0 likes · 10 min read
Design, Implementation, and Testing of a WebSocket‑Based IM System
21CTO
21CTO
Jun 24, 2018 · Frontend Development

Understanding API Types and Browser Compatibility: A Developer’s Guide

This article explains what APIs are, outlines various API types—including web service, source code, hardware, and WebSocket APIs—and discusses their browser compatibility challenges, such as deprecated SDK methods, REST method support, and cross‑origin issues, offering practical tips for developers to ensure reliable API integration.

APIWebSocketbrowser compatibility
0 likes · 8 min read
Understanding API Types and Browser Compatibility: A Developer’s Guide
21CTO
21CTO
May 10, 2018 · Backend Development

How a Plug‑In Architecture Transforms Cross‑Platform Long‑Connection Components

This article explains how a unified, cross‑platform long‑connection component built on libuv, mbedTLS and WebSocket was refactored into a plug‑in architecture that decouples layers, uses double‑linked structures and function pointers, and dramatically improves flexibility and maintainability.

CNetworkingWebSocket
0 likes · 24 min read
How a Plug‑In Architecture Transforms Cross‑Platform Long‑Connection Components
Hujiang Technology
Hujiang Technology
Jan 18, 2018 · Mobile Development

Understanding Network Requests in React Native: APIs, Debugging Techniques, and Binary Data Transfer

This article explains how React Native handles network requests differently from web browsers, describes the built‑in fetch, XMLHttpRequest, and WebSocket APIs, outlines debugging methods using proxies, Reactotron, and Chrome DevTools, and discusses strategies for sending binary data such as Base64 encoding and WebSocket support.

DebuggingMobile DevelopmentNetwork Requests
0 likes · 10 min read
Understanding Network Requests in React Native: APIs, Debugging Techniques, and Binary Data Transfer
21CTO
21CTO
Jan 8, 2018 · Backend Development

Mastering WebSocket: Handshake, Data Frames & Node.js Examples

This article provides a comprehensive guide to WebSocket, covering its purpose, connection establishment, handshake process, data frame structure, masking algorithm, security considerations, and includes practical Node.js server and client code examples to illustrate real‑time bidirectional communication.

HandshakeNode.jsWebSocket
0 likes · 22 min read
Mastering WebSocket: Handshake, Data Frames & Node.js Examples
Architects Research Society
Architects Research Society
Jan 6, 2018 · Cloud Native

HTTP Filters, Routing, gRPC, and WebSocket Support in Envoy

This article explains Envoy's HTTP filter architecture, routing capabilities, gRPC integration, WebSocket handling, and cluster manager functions, detailing how each component operates without needing knowledge of underlying protocols and how they enable advanced traffic management, observability, and service mesh features.

EnvoyHTTP filtersWebSocket
0 likes · 10 min read
HTTP Filters, Routing, gRPC, and WebSocket Support in Envoy
UCloud Tech
UCloud Tech
Dec 20, 2017 · Backend Development

How We Scaled a Live‑Stream Danmu System from PHP to Go for 50K+ Concurrent Users

Facing massive memory usage and latency in a PHP‑based live‑stream bullet chat, we iteratively re‑engineered the system—splitting Redis, limiting broadcasts, sharding rooms, then rebuilding it in Go with distributed room management, concurrent broadcasting, and extensive testing, achieving stable operation for tens of thousands of concurrent connections.

BackendDanmuGolang
0 likes · 12 min read
How We Scaled a Live‑Stream Danmu System from PHP to Go for 50K+ Concurrent Users
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
vivo Internet Technology
vivo Internet Technology
Oct 14, 2017 · Cloud Native

Implementation of a Container Web Console Using GoTTY

The article explains how to build a browser‑based container web console with GoTTY by wrapping docker exec in a WebSocket‑driven backend, detailing static asset handling, dual‑goroutine I/O, deployment options for distributed or centralized agents, security logging, and automatic cleanup of orphaned shell processes.

Cloud NativeContainer ManagementDocker
0 likes · 8 min read
Implementation of a Container Web Console Using GoTTY
Ctrip Technology
Ctrip Technology
Oct 12, 2017 · Frontend Development

Comparison of Web Push Technologies and Practical Implementation for Real‑Time Order Notifications

This article compares common web push techniques—including short polling, long polling, iframe streaming, WebSocket, and Server‑Sent Events—examining their principles, advantages, and drawbacks, and presents a practical selection and implementation case for real‑time order notifications in a client‑server application.

Server-Sent EventsWebSocketlong polling
0 likes · 10 min read
Comparison of Web Push Technologies and Practical Implementation for Real‑Time Order Notifications
Hujiang Technology
Hujiang Technology
Sep 27, 2017 · Backend Development

Understanding Netty: Principles, Architecture, and Thread Model

This article introduces Netty, an asynchronous event‑driven network framework, covering its design goals, performance benefits, core components such as zero‑copy and unified APIs, advanced features like SSL/TLS and WebSocket support, and explains its single‑thread, multi‑thread, and master‑slave thread models for high‑concurrency backend development.

Backend DevelopmentEvent-drivenNetty
0 likes · 9 min read
Understanding Netty: Principles, Architecture, and Thread Model
Hujiang Technology
Hujiang Technology
Aug 24, 2017 · Frontend Development

WeChat Mini Program Practical Tutorial: Course Outline and Development Guide

This article presents a comprehensive Mini Program tutorial covering the full course syllabus—from introductory setup and appID registration to intermediate project structure, utility extraction, network handling, list and detail page implementation—along with a detailed step‑by‑step guide for obtaining and configuring an appID.

AppIdDevelopmentJavaScript
0 likes · 5 min read
WeChat Mini Program Practical Tutorial: Course Outline and Development Guide
Ctrip Technology
Ctrip Technology
Jun 22, 2017 · Frontend Development

Common Front‑End Data Exchange Methods and Their Use Cases with Code Examples

This article reviews various front‑end data exchange techniques—including HTTP methods, form encodings, AJAX, fetch, Server‑Sent Events, WebSocket, postMessage, and Web Workers—explaining when to use each, providing practical examples and code snippets for real‑world scenarios.

HTTPServer‑Sent EventsWeb Workers
0 likes · 16 min read
Common Front‑End Data Exchange Methods and Their Use Cases with Code Examples
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jun 18, 2017 · Frontend Development

Why flv.js Is the Future of Browser Live Streaming (No Flash Needed)

This article explains why flv.js is essential for modern browser live streaming, compares common streaming protocols and their latency/performance, outlines flv.js advantages and limitations, and provides a step‑by‑step guide to building a low‑latency live streaming solution with livego and React.

FLV.jsHTML5 videoHTTP-FLV
0 likes · 11 min read
Why flv.js Is the Future of Browser Live Streaming (No Flash Needed)
Qunar Tech Salon
Qunar Tech Salon
Jun 7, 2017 · Frontend Development

Cross‑Origin Communication Techniques: JSONP, window.name, document.domain, CORS, postMessage, and WebSocket with Code Samples

This article demonstrates several cross‑origin communication methods—including JSONP, window.name, document.domain, CORS, postMessage, and WebSocket—by providing step‑by‑step code examples, host file configuration, and instructions for testing each technique in a local environment development.

CORSCross-OriginJSONP
0 likes · 12 min read
Cross‑Origin Communication Techniques: JSONP, window.name, document.domain, CORS, postMessage, and WebSocket with Code Samples
21CTO
21CTO
Jun 1, 2017 · Fundamentals

Unveiling TCP/IP: From Handshakes to WebSocket – A Deep Dive

This article explores TCP/IP fundamentals—including three‑way handshake, receive windows, congestion control mechanisms, and HTTP header limits—while demonstrating practical packet captures with tcpdump and building a simple WebSocket chat demo to illustrate protocol behavior and differences from WebRTC.

HTTPNetwork ProtocolsTCP/IP
0 likes · 29 min read
Unveiling TCP/IP: From Handshakes to WebSocket – A Deep Dive
Tencent TDS Service
Tencent TDS Service
Mar 2, 2017 · Frontend Development

Mastering WebSocket: From API Basics to Advanced Protocol Insights

This article provides a comprehensive overview of WebSocket, covering its origins as a full‑duplex HTML5 protocol, core JavaScript API usage, sub‑protocol negotiation, framing rules, security considerations, performance comparisons with XHR and SSE, deployment challenges, and related extensions such as Socket.IO.

WebSocketfrontendfull-duplex
0 likes · 34 min read
Mastering WebSocket: From API Basics to Advanced Protocol Insights
Qunar Tech Salon
Qunar Tech Salon
Jan 22, 2017 · Backend Development

Comprehensive Guide to WebSocket: Principles, Handshake, Client API, and Node.js Server Implementation

This article explains WebSocket fundamentals, the HTTP‑based handshake process, client‑side JavaScript API usage with code examples, and a complete Node.js server implementation including connection handling, data‑frame parsing, message broadcasting, heartbeat maintenance, and browser compatibility considerations.

BackendNode.jsWebSocket
0 likes · 17 min read
Comprehensive Guide to WebSocket: Principles, Handshake, Client API, and Node.js Server Implementation
Architecture Digest
Architecture Digest
Oct 30, 2016 · Frontend Development

Challenges and Solutions in H5 Live Streaming Development

The article outlines the end‑to‑end workflow of H5 live streaming, discusses state control, WebSocket‑based comment handling, heartbeat reconnection, video compatibility issues, and practical code techniques for detecting and recovering from stream stalls.

H5Real-TimeWebSocket
0 likes · 9 min read
Challenges and Solutions in H5 Live Streaming Development
ITPUB
ITPUB
Nov 18, 2015 · Frontend Development

Why Do US and China HTML5 Front‑End Markets Evolve So Differently?

The article compares the mature, innovation‑focused US HTML5 ecosystem with China’s still‑hype‑driven market, highlighting differences in developer attitudes toward WebGL, WebSocket, React JS/Native, cross‑platform packaging, and the shift from buzzwords to practical, deep‑tech solutions.

HTML5Market analysisReact Native
0 likes · 8 min read
Why Do US and China HTML5 Front‑End Markets Evolve So Differently?