Tag

Node.js

1 views collected around this technical thread.

Code Mala Tang
Code Mala Tang
Jun 8, 2025 · Backend Development

Why Overusing try/catch Can Kill Your Node.js Performance (And How to Fix It)

Overusing generic try/catch blocks in Node.js can silently swallow errors, degrade performance by up to 26%, and create debugging nightmares, while strategic error handling—targeted catches, proper resource cleanup, and error boundaries—offers faster, more maintainable code and prevents memory leaks.

BackendError HandlingExpress.js
0 likes · 6 min read
Why Overusing try/catch Can Kill Your Node.js Performance (And How to Fix It)
Code Mala Tang
Code Mala Tang
Jun 3, 2025 · Artificial Intelligence

Why OpenAI Dropped Node.js for Rust: Lessons on AI Tool Performance

OpenAI recently rewrote its AI coding assistant in Rust, abandoning Node.js due to performance, concurrency, and reliability concerns, and the move sparked community debate, highlighting the importance of language choice for high‑performance AI tools and offering insights for developers on tool selection and optimization.

AINode.jsPerformance
0 likes · 7 min read
Why OpenAI Dropped Node.js for Rust: Lessons on AI Tool Performance
Code Mala Tang
Code Mala Tang
Jun 2, 2025 · Backend Development

Why Node.js 24 Is a Game-Changer for Backend Development

Node.js 24 introduces native fetch support, a faster V8 engine, enhanced module interoperability, full Web Streams API, and numerous ecosystem upgrades, making it a compelling upgrade for developers seeking modern, high‑performance server‑side JavaScript.

Backend DevelopmentJavaScriptNode.js
0 likes · 7 min read
Why Node.js 24 Is a Game-Changer for Backend Development
Architect
Architect
May 29, 2025 · Artificial Intelligence

Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections

This article introduces the Model Context Protocol (MCP) as an open AI‑model integration standard, explains its client‑server architecture and components, shares practical Node/Python development pitfalls and debugging tips, discusses hallucination and error‑retry strategies, lists useful tools, and reflects on the broader implications of AI‑driven conversational services.

AI ServicesAI integrationMCP
0 likes · 14 min read
Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections
DevOps
DevOps
May 21, 2025 · Artificial Intelligence

Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections

This article introduces the Model Context Protocol (MCP) as an open standard for connecting large language models to external data and tools, explains its client‑server architecture, shares practical Node/TypeScript development pitfalls and debugging tips, and reflects on broader AI dialogue versus service integration scenarios.

AIMCPNode.js
0 likes · 11 min read
Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections
Tencent Cloud Developer
Tencent Cloud Developer
May 20, 2025 · Artificial Intelligence

Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections

This article introduces the Model Context Protocol (MCP), explains its client‑server architecture, shares practical development experiences and debugging tips for Node.js and Python implementations, discusses common pitfalls such as environment setup, hallucinations, and error handling, and reflects on the broader implications of AI‑driven services.

AI integrationMCPModel Context Protocol
0 likes · 13 min read
Understanding Model Context Protocol (MCP): Architecture, Development Pitfalls, and AI Reflections
Top Architecture Tech Stack
Top Architecture Tech Stack
May 19, 2025 · Backend Development

Understanding Server‑Sent Events (SSE): Concepts, Comparison with Polling and WebSocket, and Practical Implementation

This article explains the scenarios where servers need to push data to clients, compares three implementation methods—polling, WebSocket, and SSE—highlights their advantages and drawbacks, and provides step‑by‑step frontend and Node.js backend demos for building a real‑time SSE connection.

ExpressJavaScriptNode.js
0 likes · 13 min read
Understanding Server‑Sent Events (SSE): Concepts, Comparison with Polling and WebSocket, and Practical Implementation
Architecture Digest
Architecture Digest
May 15, 2025 · Backend Development

Why the ChatGPT Browser Conversation System Uses EventSource Instead of WebSocket

This article explains why the ChatGPT browser-based conversation system prefers EventSource over WebSocket, covering protocol basics, the system’s single‑direction communication model, long‑polling behavior, deployment simplicity, and includes full Node.js server and client code examples demonstrating the implementation.

Backend DevelopmentEventSourceNode.js
0 likes · 9 min read
Why the ChatGPT Browser Conversation System Uses EventSource Instead of WebSocket
Ctrip Technology
Ctrip Technology
May 13, 2025 · Frontend Development

Enterprise-Level Server-Sent Events (SSE) Implementation for Ctrip Flight Frontend

This article presents Ctrip's enterprise-grade Server-Sent Events (SSE) solution for its flight booking frontend, detailing the technology overview, use cases, implementation practices, performance considerations, comparison with alternatives, and full‑stack integration across link, framework, and data layers.

EventSourceNode.jsPerformance
0 likes · 16 min read
Enterprise-Level Server-Sent Events (SSE) Implementation for Ctrip Flight Frontend
php中文网 Courses
php中文网 Courses
Apr 28, 2025 · Backend Development

2025 Performance Comparison of PHP 8.4 and Node.js 21: Benchmarks, Architecture, and Use‑Case Guidance

The article analyzes 2025 benchmark data showing that PHP 8.4 and Node.js 21 have narrowed performance gaps, highlights architectural advances such as JIT, async extensions, and worker threads, and provides scenario‑based recommendations to help developers choose the most suitable backend technology.

Backend DevelopmentBenchmarkNode.js
0 likes · 14 min read
2025 Performance Comparison of PHP 8.4 and Node.js 21: Benchmarks, Architecture, and Use‑Case Guidance
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 23, 2025 · Backend Development

Efficient Large File Processing in Node.js: Stream, Buffer, and Multithreading Techniques

This article explains how to handle massive HDFS‑derived text and CSV files in Node.js by analyzing memory and CPU bottlenecks, comparing client‑side upload strategies, and presenting synchronous, callback, promise, streaming, and multithreaded worker‑thread solutions with complete code examples.

File I/ONode.jsPerformance
0 likes · 13 min read
Efficient Large File Processing in Node.js: Stream, Buffer, and Multithreading Techniques
Java Tech Enthusiast
Java Tech Enthusiast
Apr 20, 2025 · Backend Development

Understanding Node.js: Runtime, APIs, and Backend Frameworks

Node.js is the JavaScript runtime that lets code run outside browsers, offering its own backend‑specific APIs and requiring developers to master server‑side concepts like sessions, databases, and concurrency, while frameworks such as Express, Koa, NestJS, Fastify, and Hapi streamline development by abstracting low‑level modules.

APIBackend DevelopmentFrameworks
0 likes · 5 min read
Understanding Node.js: Runtime, APIs, and Backend Frameworks
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 10, 2025 · Backend Development

From Frontend Lightning Strike to Full‑Stack Node.js Backend: A Story and Implementation Guide

This article narrates a dramatic front‑end takeover during a high‑traffic promotion, then provides a step‑by‑step guide to building a Node.js backend service with Express, MongoDB, JWT authentication, and deployment considerations, illustrating performance trade‑offs between Java and Node.js.

API GatewayAuthenticationBackend Development
0 likes · 16 min read
From Frontend Lightning Strike to Full‑Stack Node.js Backend: A Story and Implementation Guide
Java Captain
Java Captain
Apr 9, 2025 · Backend Development

Server‑Sent Events (SSE) vs WebSocket vs Polling: Usage Scenarios, Advantages, and Implementation Demo

This article explains the three common server‑to‑client push techniques—polling, WebSocket, and SSE—detailing their principles, pros and cons, browser compatibility, and provides step‑by‑step Node.js/Express and plain JavaScript demos to illustrate how to implement SSE in real‑time applications.

ExpressJavaScriptNode.js
0 likes · 13 min read
Server‑Sent Events (SSE) vs WebSocket vs Polling: Usage Scenarios, Advantages, and Implementation Demo
Top Architecture Tech Stack
Top Architecture Tech Stack
Apr 8, 2025 · Backend Development

Understanding Server‑Sent Events (SSE): Concepts, Comparison with Polling and WebSocket, and Implementation Demo

This article explains the principles and use cases of Server‑Sent Events (SSE), compares it with traditional polling and WebSocket solutions, outlines their advantages and drawbacks, and provides complete front‑end and Node.js/Express demo code to build a real‑time push system.

ExpressJavaScriptNode.js
0 likes · 13 min read
Understanding Server‑Sent Events (SSE): Concepts, Comparison with Polling and WebSocket, and Implementation Demo
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 4, 2025 · Backend Development

Implementing a Model Context Protocol (MCP) Service with APISIX and Node.js

This article explains what Model Context Protocol (MCP) is, demonstrates a simple e‑commerce example, and provides a step‑by‑step guide to create, configure, build, and debug an MCP service using APISIX Admin API, Node.js, TypeScript, and Zod, enabling natural‑language interaction with backend APIs.

API automationAPISIXBackend Development
0 likes · 15 min read
Implementing a Model Context Protocol (MCP) Service with APISIX and Node.js
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.jsSSE
0 likes · 13 min read
When to Choose SSE, WebSocket, or Polling? A Hands‑On Guide