Tagged articles
124 articles
Page 2 of 2
IT Services Circle
IT Services Circle
Sep 8, 2023 · Backend Development

Implementing Server-Sent Events (SSE) with NestJS and React

This article explains how to use HTTP Server-Sent Events (SSE) as an alternative to WebSocket for one‑way data push, demonstrating a NestJS backend implementation with @Sse decorator and Observable streams, and a React frontend using EventSource to receive real‑time JSON messages, including handling logs and binary data.

BackendEventSourceNestJS
0 likes · 7 min read
Implementing Server-Sent Events (SSE) with NestJS and React
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
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.jsSSE
0 likes · 23 min read
Building Real-Time IM Solutions with WebSocket: A Practical Guide
Wukong Talks Architecture
Wukong Talks Architecture
Aug 8, 2022 · Backend Development

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

This article explains various web message‑push techniques—including short and long polling, iframe streaming, Server‑Sent Events, MQTT and WebSocket—detailing their principles, advantages, drawbacks, and providing complete Spring Boot and JavaScript code examples for real‑time notification badges.

MQTTMessage PushSSE
0 likes · 18 min read
Implementing Web Message Push: Short Polling, Long Polling, Iframe Stream, SSE, MQTT and WebSocket
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 4, 2021 · Backend Development

Automate Shanghai Stock Exchange Report Downloads with a Python Web Scraper

This tutorial shows how to use Python's requests and JSON handling to crawl the Shanghai Stock Exchange website, extract periodic report metadata, construct PDF URLs, and automatically download the files, providing a practical example of backend web‑scraping automation while warning against excessive server load.

PDF downloadSSEWeb Scraping
0 likes · 28 min read
Automate Shanghai Stock Exchange Report Downloads with a Python Web Scraper
Top Architect
Top Architect
Jun 4, 2021 · Backend Development

Understanding Real-Time Push Technologies: Short Polling, Long Polling, WebSocket, and Server‑Sent Events

This article explains the concepts and practical implementations of real-time push techniques—including short polling, long polling, WebSocket, and Server‑Sent Events—detailing their principles, advantages, drawbacks, and providing complete JavaScript code examples for both client and server sides.

BackendPollingReal-Time
0 likes · 14 min read
Understanding Real-Time Push Technologies: Short Polling, Long Polling, WebSocket, and Server‑Sent Events
Alibaba Cloud Developer
Alibaba Cloud Developer
Jan 11, 2021 · Backend Development

How Streaming Output and Reactive Programming Boost Web Performance

This article explains the concepts of streaming output and reactive programming, describes the underlying HTTP chunked transfer, SSE, WebSocket and RSocket protocols, provides code examples, and outlines practical scenarios where end‑to‑end streaming improves performance and user experience.

BackendHTTP Chunked TransferSSE
0 likes · 18 min read
How Streaming Output and Reactive Programming Boost Web Performance
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.

BackendJavaScriptPolling
0 likes · 12 min read
Polling vs Server‑Sent Events vs WebSockets: Choosing the Right Real‑Time Communication Method
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?
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
Java High-Performance Architecture
Java High-Performance Architecture
Oct 28, 2016 · Backend Development

How LinkedIn Scaled Its Instant Messaging to Hundreds of Thousands of Connections

This article explains how LinkedIn engineered its instant‑messaging service using Server‑Sent Events, Java, Akka, and Play, and details key kernel and system‑level optimizations—such as socket backlog, temporary port exhaustion, and file‑descriptor limits—that enabled each server to handle hundreds of thousands of persistent connections.

AkkaInstant MessagingJava
0 likes · 5 min read
How LinkedIn Scaled Its Instant Messaging to Hundreds of Thousands of Connections
Baidu Intelligent Testing
Baidu Intelligent Testing
Dec 9, 2015 · Fundamentals

Investigation of Query‑Diff Precision Differences Caused by CPU Instruction‑Set Variations (AVX vs SSE)

A detailed case study shows how a 1% precision difference discovered by query‑diff testing was traced to CPU instruction‑set discrepancies (AVX vs SSE), highlighting the impact of hardware‑level floating‑point optimizations on algorithmic results and providing practical debugging and mitigation guidelines.

AVXCPUPerformance Optimization
0 likes · 13 min read
Investigation of Query‑Diff Precision Differences Caused by CPU Instruction‑Set Variations (AVX vs SSE)
Baidu Intelligent Testing
Baidu Intelligent Testing
Dec 4, 2015 · Fundamentals

Debugging Floating‑Point Precision Differences in Query‑Diff Tests: A CPU Instruction Set Case Study (AVX vs SSE)

This article details a query‑diff test that revealed a 1% floating‑point precision difference after a module upgrade, describes the systematic investigation of environment, compilation, and CPU instruction‑set variations (AVX vs SSE), and presents conclusions and recommendations for preventing similar issues.

AVXCPUDebugging
0 likes · 10 min read
Debugging Floating‑Point Precision Differences in Query‑Diff Tests: A CPU Instruction Set Case Study (AVX vs SSE)