Tagged articles

websocket

486 articles · Page 5 of 5
Baidu App Technology
Baidu App Technology
Dec 29, 2020 · Frontend Development

San DevTools Technical Analysis – Message Channel and DevTools Protocol

San DevTools implements a four‑module remote‑debugging architecture where the Message Channel uses WebSocket to multiplex bidirectional frontend‑backend communication, Chrome extensions exchange messages via ports and postMessage, and both a custom San DevTools Protocol and the standard Chrome DevTools Protocol are supported through hook‑based agents and client examples.

Chrome ExtensionDevTools ProtocolJavaScript
0 likes · 19 min read
San DevTools Technical Analysis – Message Channel and DevTools Protocol
Java Captain
Java Captain
Dec 27, 2020 · Backend Development

Implementing a WebSSH Terminal with SpringBoot, WebSocket, JSch, and xterm.js

This article demonstrates how to build a WebSSH terminal from scratch using SpringBoot for the backend, WebSocket for real‑time communication, JSch for SSH connections, and xterm.js for the front‑end terminal UI, including dependency setup, server‑side logic, and client‑side integration.

FrontendSpringBootWebSSH
0 likes · 17 min read
Implementing a WebSSH Terminal with SpringBoot, WebSocket, JSch, and xterm.js
Baidu App Technology
Baidu App Technology
Dec 23, 2020 · Frontend Development

Technical Analysis of San DevTools – Architecture, Core Concepts, and Remote Debugging

The first part of the San DevTools Technical Analysis series explains its dual usage (Chrome extension or npm‑based standalone), outlines the overall architecture—including frontend UI panels, backend injection, a JSON‑based remote debugging protocol, and message‑channel transport—plus core modules such as Bridge, Hook, and Agent, and demonstrates initialization and remote‑debugging flows, setting the stage for deeper protocol exploration.

Chrome DevToolsRemote DebuggingSan DevTools
0 likes · 9 min read
Technical Analysis of San DevTools – Architecture, Core Concepts, and Remote Debugging
Python Programming Learning Circle
Python Programming Learning Circle
Dec 17, 2020 · Backend Development

Scraping Taobao Live Chat Messages Using Puppeteer and WebSocket Decryption

This article details a step‑by‑step method for extracting live chat bullet comments from Taobao live streams by analyzing page sources, intercepting the token‑providing API with Puppeteer, establishing a WebSocket connection, and decoding the received base64‑ and GZIP‑compressed messages to retrieve clean usernames and comment texts.

DecryptionPuppeteerTaobao
0 likes · 9 min read
Scraping Taobao Live Chat Messages Using Puppeteer and WebSocket Decryption
FunTester
FunTester
Dec 4, 2020 · Backend Development

How to Test a Teacher‑Student Chat Socket API with Groovy Scripts

This article walks through building and executing a Groovy‑based test script that registers two users, joins a room, exchanges chat messages over a Socket (WebSocket) connection, and cleanly closes the sockets, illustrating the full workflow and code structure for backend socket API testing.

GroovySocketbackend
0 likes · 9 min read
How to Test a Teacher‑Student Chat Socket API with Groovy Scripts
FunTester
FunTester
Nov 30, 2020 · Backend Development

A Practical Java WebSocket Client Wrapper: Design, Features, and Demo

This article introduces a reusable Java WebSocket client wrapper that adds convenient date handling, message logging, configurable constants, and performance‑testing utilities, explains its implementation details with full source code, and provides a simple demo showing connection, messaging, and graceful shutdown.

ClientGitPerformance Testing
0 likes · 8 min read
A Practical Java WebSocket Client Wrapper: Design, Features, and Demo
Huawei Cloud Developer Alliance
Huawei Cloud Developer Alliance
Nov 26, 2020 · Backend Development

How to Crawl Real-Time Data with Python WebSocket: A Step‑by‑Step Guide

This article explains how crawler engineers can fetch real‑time data such as sports scores, stock quotes, or cryptocurrency prices by comparing polling and WebSocket approaches, introducing the aiowebsocket library, and providing complete Python code to perform handshake, subscription, and continuous data streaming.

PythonReal‑time DataWeb Scraping
0 likes · 10 min read
How to Crawl Real-Time Data with Python WebSocket: A Step‑by‑Step Guide
FunTester
FunTester
Nov 17, 2020 · Backend Development

Building a Java WebSocket Chat Server and Client with SpringBoot

This guide walks through creating a Java WebSocket chat application, covering a SpringBoot server implementation, client setup using java‑websocket, configuration pitfalls, a bean‑based scheduler, and a test script that simulates multiple users joining, messaging, and leaving the chat room.

ClientServerSpringBoot
0 likes · 12 min read
Building a Java WebSocket Chat Server and Client with SpringBoot
php Courses
php Courses
Nov 10, 2020 · Backend Development

Building a Simple Chatroom with WebSocket and Swoole (PHP)

This tutorial demonstrates how to create a lightweight chatroom by combining WebSocket on the front end with Swoole's WebSocket server in PHP, covering project setup, required environment, client‑side HTML/JS, server‑side PHP code, and steps to run and test the application.

ChatroomFrontendJavaScript
0 likes · 8 min read
Building a Simple Chatroom with WebSocket and Swoole (PHP)
360 Quality & Efficiency
360 Quality & Efficiency
Nov 6, 2020 · Backend Development

Introduction to Swoole and Its Integration with ThinkPHP5

This article introduces Swoole as a high‑performance asynchronous PHP engine, explains its differences from traditional PHP execution, and provides step‑by‑step guidance on integrating Swoole with ThinkPHP5, including a complete code example and key implementation notes.

PHPSwooleThinkPHP5
0 likes · 7 min read
Introduction to Swoole and Its Integration with ThinkPHP5
vivo Internet Technology
vivo Internet Technology
Nov 4, 2020 · Frontend Development

WebSocket Practical Guide: From Basics to Production Deployment

This practical guide explains WebSocket fundamentals, demonstrates how to integrate and debug them in a project with webpack proxy and Nginx settings, implements heartbeat and reconnection logic for stability, and compares native WebSocket to Socket.io’s richer but heavier real‑time framework.

NginxReal‑time communicationSocket.IO
0 likes · 5 min read
WebSocket Practical Guide: From Basics to Production Deployment
macrozheng
macrozheng
Oct 12, 2020 · Backend Development

How to Build Real‑Time Chat with RabbitMQ MQTT and Zero Backend Code

This guide explains how to use RabbitMQ's MQTT plugin and MQTT.js to implement instant messaging, covering MQTT protocol basics, enabling RabbitMQ MQTT and Web‑MQTT, using MQTTBox for testing, creating a pure HTML/JavaScript chat client, and integrating MQTT into a SpringBoot application for backend notifications.

Instant MessagingMQTTSpringBoot
0 likes · 15 min read
How to Build Real‑Time Chat with RabbitMQ MQTT and Zero Backend Code
Programmer DD
Programmer DD
Sep 20, 2020 · Backend Development

Choosing the Right Java WebSocket Solution: Pros, Cons, and Performance Insights

This article reviews Java WebSocket options—including the Java EE specification, SockJS, Socket.IO, and reactive stream implementations—detailing their advantages, drawbacks, and performance characteristics, and provides benchmark data to help developers choose the most suitable solution for their backend communication needs.

Reactivebackendperformance
0 likes · 6 min read
Choosing the Right Java WebSocket Solution: Pros, Cons, and Performance Insights
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.

FrontendJavaScriptPolling
0 likes · 12 min read
Polling vs Server‑Sent Events vs WebSockets: Choosing the Right Real‑Time Communication Method
vivo Internet Technology
vivo Internet Technology
Sep 2, 2020 · Fundamentals

Understanding DNS and WebSocket: From Dig Commands to Real‑Time Connections

This article provides a systematic, hands‑on guide to DNS fundamentals—including dig queries, hierarchical lookups, Wireshark packet analysis, traditional DNS drawbacks, and HTTPDNS solutions—followed by a deep dive into WebSocket mechanics, handshake, frame structure, and security considerations, all illustrated with practical examples and code.

DNSHTTPDNSTCP
0 likes · 21 min read
Understanding DNS and WebSocket: From Dig Commands to Real‑Time Connections
Java Backend Technology
Java Backend Technology
Aug 9, 2020 · Backend Development

Explore a Java SpringBoot Base Admin System with Dynamic Permissions

This article introduces a lightweight, generic Java SpringBoot-based admin platform that offers permission, menu, and user management, system settings, real‑time logging and monitoring, API encryption, dynamic permission loading, and customizable features such as online user tracking and personalized menus, all illustrated with screenshots and code links.

AdminSpringBootjava
0 likes · 9 min read
Explore a Java SpringBoot Base Admin System with Dynamic Permissions
Top Architect
Top Architect
Aug 4, 2020 · Backend Development

Implementing a Redis-Based Flash Sale System to Prevent Overselling

This article explains how to design a high‑concurrency flash‑sale (秒杀) system using Redis to preload inventory, pre‑decrement stock, queue requests asynchronously, generate orders, and notify users via WebSocket, thereby avoiding overselling and improving performance under heavy load.

websocket
0 likes · 4 min read
Implementing a Redis-Based Flash Sale System to Prevent Overselling
Architects Research Society
Architects Research Society
Jul 31, 2020 · Backend Development

Building a Real‑time STOMP WebSocket Messaging Application with Spring Boot

This guide walks you through creating a Spring Boot application that uses WebSocket and STOMP to exchange JSON messages between a browser client and a server, covering project setup, dependencies, Java POJOs, controller logic, WebSocket configuration, client‑side JavaScript, and how to build and run the executable JAR.

Real-time messagingSpring Bootjava
0 likes · 21 min read
Building a Real‑time STOMP WebSocket Messaging Application with Spring Boot
Architects Research Society
Architects Research Society
Jul 27, 2020 · Frontend Development

WebSocket Performance, Overhead, and Deployment Best Practices

This article explains how the WebSocket API provides bidirectional, message‑oriented communication, compares its latency and overhead with XHR and SSE, discusses compression and custom protocols, and offers practical deployment and tuning guidelines for long‑lived connections.

deploymentperformanceprotocol
0 likes · 16 min read
WebSocket Performance, Overhead, and Deployment Best Practices
Java Captain
Java Captain
Jul 19, 2020 · Backend Development

Base Admin: A Simple Generic Backend Management System Overview

The article introduces Base Admin, a lightweight backend management platform built with SpringBoot, Thymeleaf, WebSocket and Spring Security, detailing its technology stack, project structure, core features such as permission and menu management, real‑time logging, monitoring, API encryption, and recent updates.

Permission ManagementSpringBootadmin system
0 likes · 7 min read
Base Admin: A Simple Generic Backend Management System Overview
Laravel Tech Community
Laravel Tech Community
Jul 13, 2020 · Backend Development

Implementing Real‑Time Communication with Workerman and GatewayWorker Using WebSocket in PHP

This tutorial explains how to use the Workerman PHP socket framework and GatewayWorker to replace HTTP long‑polling with WebSocket‑based real‑time communication, covering protocol basics, short vs. long connections, integration with MVC frameworks, and complete client‑ and server‑side code examples.

PHPReal‑time communicationlong-connection
0 likes · 8 min read
Implementing Real‑Time Communication with Workerman and GatewayWorker Using WebSocket in PHP
Laravel Tech Community
Laravel Tech Community
May 21, 2020 · Backend Development

Implementing a WebSocket Server and Client with Swoole in PHP

This tutorial demonstrates how to build a WebSocket server using PHP's Swoole extension and a corresponding HTML/JavaScript client, covering protocol basics, server-side event handling for connections, messages, and closures, and showing the complete code and execution results for real‑time bidirectional communication.

PHPSwoolebackend development
0 likes · 4 min read
Implementing a WebSocket Server and Client with Swoole in PHP
Top Architect
Top Architect
May 11, 2020 · Backend Development

WebSocket Architecture Design and Implementation with Spring, SockJS, and STOMP

This article explains the principles and practical implementation of WebSocket, compares it with HTTP, discusses when to use it, and details a complete backend and frontend solution using Spring WebSocket, SockJS, and STOMP for real‑time communication in web applications.

Real‑time communicationSpringbackend development
0 likes · 21 min read
WebSocket Architecture Design and Implementation with Spring, SockJS, and STOMP
Programmer DD
Programmer DD
May 5, 2020 · Backend Development

How to Build a High‑Concurrency Live Quiz System: Architecture & Tech Stack

This article explains the product features, technical challenges, technology choices, and detailed architecture design for a live‑streaming quiz application that must support up to one million concurrent users, high QPS, low latency, and secure financial transactions.

Backend ArchitectureProtobufhigh concurrency
0 likes · 18 min read
How to Build a High‑Concurrency Live Quiz System: Architecture & Tech Stack
TAL Education Technology
TAL Education Technology
Mar 20, 2020 · Frontend Development

Building a Chrome Extension Flip-Pen Remote Control with WebSocket

This article introduces Chrome extension fundamentals, outlines its core components and APIs, and provides a step‑by‑step guide—including server‑side WebSocket handling, content‑script communication, popup QR‑code generation, and installation methods—to create a flip‑pen remote‑control plugin.

Browser pluginChrome ExtensionJavaScript
0 likes · 12 min read
Building a Chrome Extension Flip-Pen Remote Control with WebSocket
Senior Brother's Insights
Senior Brother's Insights
Mar 3, 2020 · Backend Development

Implement Real‑Time Messaging with STOMP in Spring Boot

This guide explains the STOMP protocol, its frame structure, and how to integrate it with Spring Boot to build a real‑time chat application, covering server‑side configuration, message broker setup, as well as the client‑side HTML and JavaScript needed for sending and receiving messages.

Real-time messagingspring-bootstomp
0 likes · 12 min read
Implement Real‑Time Messaging with STOMP in Spring Boot
ITPUB
ITPUB
Feb 26, 2020 · Mobile Development

How We Built a Scalable Mobile IM System for Travel Apps

This article details the design, architecture, and implementation of a mobile instant‑messaging system for a travel platform, covering data‑channel handling, subscription and UI rendering, message de‑duplication, local push, reconnection strategies, message‑line management, and a migration to WebSocket for improved performance.

Instant Messagingarchitecturedata channel
0 likes · 16 min read
How We Built a Scalable Mobile IM System for Travel Apps
Mafengwo Technology
Mafengwo Technology
Dec 13, 2019 · Backend Development

How Go‑Powered IM Architecture Boosted E‑commerce Messaging Performance

This article explains how a travel e‑commerce platform rebuilt its instant‑messaging service with Go, separating business logic, introducing a dual‑layer distributed architecture, and optimizing performance and reliability to handle massive concurrent connections and improve overall GMV.

GoInstant Messagingdistributed systems
0 likes · 16 min read
How Go‑Powered IM Architecture Boosted E‑commerce Messaging Performance
Efficient Ops
Efficient Ops
Dec 4, 2019 · Backend Development

How to Add Real‑Time User Monitoring and Forced Disconnect to Django WebSSH

This article explains how to extend a Django Channels‑based WebSSH tool with real‑time operation monitoring, group‑based messaging, and a forced‑disconnect feature, detailing the necessary layer configuration, consumer modifications, and WebSocket message handling for both operators and observers.

ChannelsDjangoUser Management
0 likes · 10 min read
How to Add Real‑Time User Monitoring and Forced Disconnect to Django WebSSH
政采云技术
政采云技术
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.jsPollingReal‑time communication
0 likes · 11 min read
WebSocket Fundamentals and a Simple One‑to‑One Chat Implementation
21CTO
21CTO
Nov 10, 2019 · Mobile Development

How We Built a Scalable Mobile IM System for a Travel App

This article details the design and implementation of a scalable mobile instant‑messaging system for a travel app, covering architecture, data‑channel handling, subscription mechanisms, UI rendering, message de‑duplication, local push strategies, reconnection logic, and future upgrades to WebSocket.

Instant Messagingdata channellocal push
0 likes · 16 min read
How We Built a Scalable Mobile IM System for a Travel App
21CTO
21CTO
Oct 19, 2019 · Artificial Intelligence

Explore TensorFlow 1.15, Firefox WebSocket Inspector, and Microsoft DAPR & OAM

This article highlights the latest tech releases, including TensorFlow 1.15’s final minor update with compatibility features, Firefox 70’s new WebSocket inspector for developers, the Windows 10 SDK 1909 update, and Microsoft’s open‑source DAPR and OAM projects aimed at simplifying microservice and cloud‑native application development.

FirefoxOAMSDK
0 likes · 7 min read
Explore TensorFlow 1.15, Firefox WebSocket Inspector, and Microsoft DAPR & OAM
Alibaba Cloud Native
Alibaba Cloud Native
Oct 18, 2019 · Cloud Native

Deploy WebSocket and gRPC Services on Knative: A Step‑by‑Step Guide

This article walks you through deploying a WebSocket chat service and a gRPC ping service on Knative, covering repository cloning, Docker image preparation, Knative Service YAML configuration, kubectl deployment commands, and browser‑based verification to ensure the services run correctly in a serverless environment.

DockerGoKnative
0 likes · 9 min read
Deploy WebSocket and gRPC Services on Knative: A Step‑by‑Step Guide
Mafengwo Technology
Mafengwo Technology
Oct 17, 2019 · Mobile Development

How We Built a Scalable Mobile IM System for Travel Apps

This article details the design, architecture, and implementation of a mobile instant‑messaging system for a travel platform, covering data channel design, message subscription, UI rendering, deduplication, local push, reconnection strategies, and the planned migration to WebSocket.

Real-time messagingmessage deduplicationpush notifications
0 likes · 17 min read
How We Built a Scalable Mobile IM System for Travel Apps
Tencent Cloud Developer
Tencent Cloud Developer
Sep 25, 2019 · Game Development

Using Egret Engine for Mini-Program Cloud Development and Real-Time Data Push

At a Tencent Cloud technical salon, Egret Technology’s senior product manager demonstrated how the Egret engine’s built‑in cloud development and WebSocket‑based real‑time data push enable mini‑programs such as leaderboards and chat rooms, eliminating server setup, reducing backend costs, and simplifying cross‑platform game creation.

Cloud FunctionsEgret engineGame Development
0 likes · 15 min read
Using Egret Engine for Mini-Program Cloud Development and Real-Time Data Push
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 BackendReal-time Push
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.

CometReal-time WebServer Push
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.

WebDriverAgentiOSmobile development
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.

FrontendPollingReal-time Push
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.

APIRESTbrowser 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.

C++NetworkingPlugin architecture
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.

DebuggingNetwork RequestsXMLHttpRequest
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.jsReal‑time communication
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 filtersgRPC
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.

Danmubackendgolang
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.

PollingReal‑time communicationSSE
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.

Real‑time communicationServer‑Sent Eventslong polling
0 likes · 10 min read
Comparison of Web Push Technologies and Practical Implementation for Real‑Time Order Notifications
Hujiang Technology
Hujiang Technology
Sep 29, 2017 · Backend Development

Implementing WebSocket with Netty and Netty‑socketio: Server and Client Guide

This article explains the background, protocol basics, handshake process, and practical implementation of WebSocket using Netty and netty‑socketio on the server side and socket.io on the client side, providing full code examples and deployment tips for high‑concurrency real‑time applications.

NettyReal‑time communicationSocketIO
0 likes · 9 min read
Implementing WebSocket with Netty and Netty‑socketio: Server and Client Guide
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.

NettyThread Modelbackend development
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.

AppIdJavaScriptTutorial
0 likes · 5 min read
WeChat Mini Program Practical Tutorial: Course Outline and Development Guide
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.

HTML5 videoHTTP-FLVflv.js
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-OriginFrontend
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.

Congestion ControlHTTPTCP/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.

FrontendReal‑time communicationfull‑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.

Node.jsReal‑time communicationbackend
0 likes · 17 min read
Comprehensive Guide to WebSocket: Principles, Handshake, Client API, and Node.js Server Implementation
Java High-Performance Architecture
Java High-Performance Architecture
Jan 6, 2017 · Backend Development

Build Real‑Time Web Apps with Socket.IO: From Basics to a Live Clock Demo

This article introduces Socket.IO, explains its features and transport fallback mechanisms, showcases a real‑world example (tty.js Linux terminal), and provides a step‑by‑step guide to create a simple web page that displays the server’s current time using Node.js and client‑side JavaScript.

JavaScriptNode.jsReal‑time communication
0 likes · 5 min read
Build Real‑Time Web Apps with Socket.IO: From Basics to a Live Clock Demo
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.

H5live streamingreal-time
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 AnalysisWebGL
0 likes · 8 min read
Why Do US and China HTML5 Front‑End Markets Evolve So Differently?
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
May 17, 2015 · Backend Development

WebSocket: Evolution, Mechanism, Implementation, and Real‑World Case Study

This article explains the origins and standards of WebSocket, compares its full‑duplex communication model with traditional HTTP, details server‑side and client‑side APIs with Java and JavaScript code examples, and presents a practical case study of real‑time device tracking using Tomcat.

HTML5JavaScriptReal‑time communication
0 likes · 23 min read
WebSocket: Evolution, Mechanism, Implementation, and Real‑World Case Study