Tagged articles

asynchronous

411 articles · Page 5 of 5
Java High-Performance Architecture
Java High-Performance Architecture
Dec 3, 2015 · Backend Development

Unlock Real-Time Messaging: How Redis Pub/Sub Works and When to Use It

The article explains the publish‑subscribe (pub/sub) messaging model, its time, space, and synchronization decoupling features, typical real‑time scenarios such as chat and log processing, and details how Redis implements pub/sub through channels and pattern subscriptions, including command syntax and internal data structures.

Redisasynchronousmessaging
0 likes · 4 min read
Unlock Real-Time Messaging: How Redis Pub/Sub Works and When to Use It
Node Underground
Node Underground
Nov 2, 2015 · Backend Development

How Does Node.js Achieve Event‑Driven, Non‑Blocking I/O? Explore the Secrets

This article introduces Node.js’s core characteristics—event‑driven, non‑blocking I/O, lightweight and efficient—while posing key questions about its underlying mechanisms, asynchronous callbacks, synchronous alternatives, event handling, performance limits, and scenarios where Node.js may not be suitable.

Node.jsasynchronousevent-driven
0 likes · 3 min read
How Does Node.js Achieve Event‑Driven, Non‑Blocking I/O? Explore the Secrets
21CTO
21CTO
Sep 25, 2015 · Backend Development

Building a High‑Performance Asynchronous MySQL Proxy with Swoole

This article explains how to create an asynchronous MySQL proxy server using the Swoole extension, detailing connection pooling, idle/busy management, request queuing, and providing a complete PHP implementation that reduces MySQL load and network overhead for PHP applications.

Backend DevelopmentMySQLPHP
0 likes · 6 min read
Building a High‑Performance Asynchronous MySQL Proxy with Swoole
Architect
Architect
Sep 18, 2015 · Databases

Implementing Asynchronous MySQL Queries in PHP Using Coroutines

This article explains how to achieve asynchronous MySQL queries in PHP by leveraging mysqlnd's async functions and PHP generators, compares synchronous and asynchronous execution times, provides a complete coroutine‑based example, and discusses performance considerations and limitations.

CoroutinesMySQLPHP
0 likes · 7 min read
Implementing Asynchronous MySQL Queries in PHP Using Coroutines
MaGe Linux Operations
MaGe Linux Operations
Aug 4, 2015 · Fundamentals

Long vs Short Connections: When to Use Each in TCP/IP Programming

This article explains the differences between long and short TCP/IP connections, outlines three major communication models (server/client, connection type, and send/receive mode), describes synchronous and asynchronous transmission, and reviews various message formats and read/write strategies to help developers design robust network programs.

Long ConnectionSynchronousTCP/IP
0 likes · 6 min read
Long vs Short Connections: When to Use Each in TCP/IP Programming
Qunar Tech Salon
Qunar Tech Salon
Apr 10, 2015 · Backend Development

Common Pitfalls and Solutions When Building an Asynchronous Redis Client with Netty

This article shares five practical pitfalls encountered while building a pure‑async Redis client with Netty, covering thread‑model changes, pooled ByteBuf allocation across threads, ByteBuf expansion, connection timeout handling, and flow‑control in asynchronous writes, and offers concrete code‑based solutions.

ByteBufPerformanceasynchronous
0 likes · 13 min read
Common Pitfalls and Solutions When Building an Asynchronous Redis Client with Netty
Ctrip Technology
Ctrip Technology
Nov 11, 2014 · Frontend Development

Why Browser Clients Should Adopt Asynchronous Programming: An Actor‑Model Perspective

The article explains how applying asynchronous programming and the actor model to browser‑client interactions—using Ajax polling, read‑write separation, and non‑blocking request patterns—can improve throughput, avoid timeouts, and enable independent optimization of read and write services in high‑concurrency web applications.

AJAXActor modelasynchronous
0 likes · 7 min read
Why Browser Clients Should Adopt Asynchronous Programming: An Actor‑Model Perspective