Tag

Long Connection

1 views collected around this technical thread.

Bilibili Tech
Bilibili Tech
Apr 12, 2024 · Backend Development

Design and Optimization of a High‑Throughput Long‑Connection Service for Live Streaming

The article details a Golang‑based high‑throughput long‑connection service for live‑streaming, describing its five‑layer architecture, multi‑protocol support, load‑balancing, message‑queue decoupling, aggregation with brotli compression, multi‑region deployment, priority channels, and future enhancements for observability and intelligent endpoint selection.

Long Connectionbackend architecturegolang
0 likes · 16 min read
Design and Optimization of a High‑Throughput Long‑Connection Service for Live Streaming
Architecture & Thinking
Architecture & Thinking
Jan 28, 2024 · Backend Development

How Baidu’s Unified Long‑Connection Service Scales Millions of Real‑Time Connections

This article details Baidu’s internally built unified long‑connection service in Go, covering its motivation, architecture, functional implementation, performance optimizations, multi‑business support, deployment strategy, and lessons learned for delivering secure, high‑concurrency, low‑latency real‑time connectivity across mobile applications.

Long ConnectionReal-time Messagingbackend architecture
0 likes · 21 min read
How Baidu’s Unified Long‑Connection Service Scales Millions of Real‑Time Connections
Baidu Geek Talk
Baidu Geek Talk
Jan 22, 2024 · Backend Development

Design and Implementation of Baidu's Unified Long‑Connection Service

Baidu’s Go‑based unified long‑connection service delivers secure, high‑concurrency, low‑latency connections for multiple Baidu apps through a four‑layer architecture (SDK, control, access, routing), employing goroutine pooling, two‑layer connection models and binary routing to support tens of millions of concurrent users and million‑level QPS, while simplifying integration and reducing maintenance costs.

Long ConnectionPerformance Optimizationbackend architecture
0 likes · 21 min read
Design and Implementation of Baidu's Unified Long‑Connection Service
Wukong Talks Architecture
Wukong Talks Architecture
Aug 3, 2022 · Backend Development

How to Assemble a Service Registry: Requirements, Interfaces, and Technical Choices

This article explains how to assemble a production‑grade service registry by analyzing requirements, defining registration/discovery interfaces, comparing push and health‑check mechanisms, selecting long‑connection technologies, and choosing data‑storage and high‑availability strategies, all illustrated with JSON examples and design guidelines.

Health CheckHigh AvailabilityLong Connection
0 likes · 14 min read
How to Assemble a Service Registry: Requirements, Interfaces, and Technical Choices
Selected Java Interview Questions
Selected Java Interview Questions
May 24, 2022 · Backend Development

Implementing a Netty Cluster Long‑Connection Service with Redis Pub/Sub for Message Forwarding

This article explains how to build a high‑concurrency Netty long‑connection server cluster using Redis publish/subscribe to forward messages across nodes, detailing the background, technology choices, architecture, and implementation steps for a microservice‑based backend system.

BackendLong ConnectionMessage Forwarding
0 likes · 5 min read
Implementing a Netty Cluster Long‑Connection Service with Redis Pub/Sub for Message Forwarding
vivo Internet Technology
vivo Internet Technology
Jan 12, 2022 · Backend Development

Vivo Push Notification Platform: Architecture Evolution and Engineering Practices

The article details Vivo’s push notification platform, describing its evolution from cloud‑based beginnings to a self‑built, three‑region architecture that supports over 1 million concurrent connections, billions of daily messages, and incorporates optimizations such as adaptive heartbeats, advanced load‑balancing, distributed caching, multi‑layer rate limiting, circuit‑breaker mechanisms, and comprehensive content security.

Long ConnectionPush NotificationRate Limiting
0 likes · 16 min read
Vivo Push Notification Platform: Architecture Evolution and Engineering Practices
Top Architect
Top Architect
Jun 21, 2021 · Backend Development

Implementing High‑Performance Long‑Connection Services with Netty: Challenges and Optimizations

This article explains how to build a scalable long‑connection service using Netty, covering the underlying concepts, Linux kernel tuning, code examples for Java NIO and Netty, performance bottlenecks such as QPS, data‑structure and GC issues, and practical optimization techniques to achieve hundreds of thousands of concurrent connections.

Java NIOLinux TuningLong Connection
0 likes · 13 min read
Implementing High‑Performance Long‑Connection Services with Netty: Challenges and Optimizations
vivo Internet Technology
vivo Internet Technology
May 19, 2021 · Backend Development

Design and Evolution of Vivo Live‑Streaming IM Message System

Vivo’s live‑streaming IM system combines short‑polling and long‑connection techniques, Redis SortedSet storage, priority‑based routing, protobuf compression, and discard strategies to deliver a fault‑tolerant, high‑concurrency messaging backbone that scales with growing traffic and diverse message types.

Instant MessagingLong ConnectionMessage Queue
0 likes · 20 min read
Design and Evolution of Vivo Live‑Streaming IM Message System
High Availability Architecture
High Availability Architecture
Mar 29, 2021 · Backend Development

Design and Implementation of a WebSocket Long‑Connection Gateway for Real‑Time Push

This article presents the design, implementation, and performance evaluation of a Netty‑based WebSocket long‑connection gateway that centralizes session management, decouples business logic, supports horizontal scaling, and provides monitoring and alerting for high‑throughput real‑time data push in iQIYI’s platform.

Long ConnectionNettyWebSocket
0 likes · 12 min read
Design and Implementation of a WebSocket Long‑Connection Gateway for Real‑Time Push
Java Architecture Diary
Java Architecture Diary
Mar 21, 2021 · Cloud Native

How Nacos 2 Boosts Service Discovery Performance with Long‑Connection Architecture

The article explains Nacos 2's new long‑connection model built on gRPC, its performance gains over Nacos 1.x, compatibility details for configuration and discovery, Spring Cloud Alibaba integration, and provides download links and reference resources.

Long ConnectionNacoscloud-native
0 likes · 6 min read
How Nacos 2 Boosts Service Discovery Performance with Long‑Connection Architecture
iQIYI Technical Product Team
iQIYI Technical Product Team
Feb 26, 2021 · Backend Development

Design and Implementation of a WebSocket Long‑Connection Gateway for iQIYI Services

iQIYI built a Netty‑based WebSocket long‑connection gateway that centralizes session management, uses RocketMQ for cluster‑wide broadcast, provides a simple HTTP push API, scales horizontally to millions of connections, integrates Prometheus/Grafana monitoring, and dramatically cuts development effort for real‑time features such as comments and authentication.

Backend DevelopmentLong ConnectionNetty
0 likes · 15 min read
Design and Implementation of a WebSocket Long‑Connection Gateway for iQIYI Services
Xianyu Technology
Xianyu Technology
Jan 21, 2021 · Backend Development

Optimizing Online IM Channel Stability in Xianyu

Xianyu improved its online IM channel stability by adding heartbeat‑based connection monitoring, rapid reconnection, ACK‑driven retry queues stored in Alibaba Cloud Table Store, and adaptive delay strategies, which together cut ACC compensation arrival time by 75% (from 60 to 15 minutes) and dramatically reduced user complaints.

BackendIMLong Connection
0 likes · 14 min read
Optimizing Online IM Channel Stability in Xianyu
Top Architect
Top Architect
Jan 5, 2021 · Fundamentals

Understanding HTTP: Characteristics, Connection Management, and Performance Optimizations

This article explains the core characteristics of the HTTP protocol—including its flexibility, reliability, application‑layer nature, request‑response model, and statelessness—and then details short and long connection management, related header fields, head‑of‑line blocking, and practical performance‑enhancing techniques such as concurrent connections and domain sharding.

Connection ManagementHTTPLong Connection
0 likes · 17 min read
Understanding HTTP: Characteristics, Connection Management, and Performance Optimizations
Java Architect Essentials
Java Architect Essentials
Sep 21, 2020 · Backend Development

Design and Implementation of a Scalable Long‑Connection Gateway

This article details the architecture, protocol design, permission control, reliability mechanisms, and scaling strategies of a long‑connection gateway built with OpenResty, Kafka, and Redis, illustrating how to share persistent connections across multiple business services while ensuring high performance and fault tolerance.

BackendKafkaLong Connection
0 likes · 13 min read
Design and Implementation of a Scalable Long‑Connection Gateway
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.

Backend DevelopmentLong ConnectionPHP
0 likes · 8 min read
Implementing Real‑Time Communication with Workerman and GatewayWorker Using WebSocket in PHP
58 Tech
58 Tech
Jun 17, 2020 · Backend Development

Hermes: A Lightweight, High‑Reliability Mobile Message Push System Based on MQTT and Protocol Buffers

The article presents Hermes, a lightweight and highly reliable mobile push system built with MQTT and Protocol Buffers, detailing its background, technology selection, architecture, heartbeat and reconnection strategies, future optimizations, and practical results that achieve over 99% message delivery rate.

Long ConnectionMQTTProtocol Buffers
0 likes · 16 min read
Hermes: A Lightweight, High‑Reliability Mobile Message Push System Based on MQTT and Protocol Buffers
58 Tech
58 Tech
Dec 4, 2019 · Backend Development

Design and Practice of Billion‑User IM Long‑Connection Service at 58.com

The article summarizes the second 58.com instant‑messaging technology salon, detailing the architecture, high‑performance long‑connection design, multi‑thread socket models, read‑write diffusion storage strategies for single‑ and group‑chat, message synchronization mechanisms, and the IM SDK framework for audio‑video communication.

IMLong ConnectionMessage Storage
0 likes · 20 min read
Design and Practice of Billion‑User IM Long‑Connection Service at 58.com
Meitu Technology
Meitu Technology
Aug 29, 2019 · Backend Development

Memory Optimization in Long Connection Services: A Three-Year Journey

Over three years, Meitu’s long‑connection service “bifrost,” built in Go with MQTT, cut memory use from 22.3 GB to 5.1 GB for 210 k connections—and about 10 GB for a million—by tuning buffers, reducing allocations, employing memory pools, and replacing a goroutine‑per‑connection model with an epoll‑driven event architecture.

Garbage CollectionGoLong Connection
0 likes · 13 min read
Memory Optimization in Long Connection Services: A Three-Year Journey
Architecture Digest
Architecture Digest
Jun 10, 2019 · Backend Development

Design and Implementation of Zhihu's Long Connection Gateway

This article explains how Zhihu designed a scalable long‑connection gateway that decouples business logic via a publish‑subscribe model, implements ACL‑based authorization, ensures message reliability with acknowledgments and sliding windows, and leverages OpenResty, Redis, and Kafka for load‑balanced, fault‑tolerant backend services.

BackendKafkaLong Connection
0 likes · 13 min read
Design and Implementation of Zhihu's Long Connection Gateway
Meitu Technology
Meitu Technology
Apr 23, 2018 · Backend Development

Design and Evolution of Live Streaming Bullet Comment System: From HTTP Polling to Long Connection

Meipai’s live‑stream bullet‑comment platform progressed from an initial HTTP‑polling design supporting one million users, through a high‑availability dual‑room architecture, to a scalable long‑connection system with gRPC routing, dynamic degradation, and caching, solving message ordering, Redis bottlenecks, and ensuring seamless user experience.

High AvailabilityKafkaLong Connection
0 likes · 11 min read
Design and Evolution of Live Streaming Bullet Comment System: From HTTP Polling to Long Connection