Tagged articles
3 articles
Page 1 of 1
Laiye Technology Team
Laiye Technology Team
Jul 8, 2022 · Fundamentals

Coroutine Scheduling and Stack Management for High-Concurrency Systems

This article explains how to achieve high‑performance C10M concurrency by moving memory management, packet handling, and scheduling out of the kernel into user space, introduces coroutine concepts, demonstrates a producer‑consumer coroutine example, discusses coroutine stack implementations (stackful vs stackless), and outlines classic scheduling strategies.

C10MStacklesscoroutine
0 likes · 9 min read
Coroutine Scheduling and Stack Management for High-Concurrency Systems
Alibaba Cloud Infrastructure
Alibaba Cloud Infrastructure
Jul 8, 2015 · Operations

Design and Implementation of High‑Concurrency (C10M) Load Balancing in Alibaba's AGW Middlebox

The article analyzes the challenges of scaling network devices to handle ten‑million concurrent connections (C10M) and describes Alibaba's AGW solution, which uses lock‑free data planes, hugepages, NUMA‑aware memory placement, and user‑space NIC drivers to achieve high‑performance four‑layer load balancing.

C10MNUMAhugepage
0 likes · 9 min read
Design and Implementation of High‑Concurrency (C10M) Load Balancing in Alibaba's AGW Middlebox