Tag

libfiber

0 views collected around this technical thread.

High Availability Architecture
High Availability Architecture
Sep 11, 2020 · Backend Development

Design Principles and Practical Implementation of Network Coroutines in iQIYI's libfiber

This article explains the design concepts, programming practices, performance optimizations, and real‑world applications of iQIYI's open‑source network coroutine library libfiber, covering non‑blocking I/O, coroutine scheduling, event‑engine design, synchronization mechanisms, and its use in high‑performance CDN and DNS services.

asynchronous I/Oevent-driven programminghigh concurrency
0 likes · 25 min read
Design Principles and Practical Implementation of Network Coroutines in iQIYI's libfiber
iQIYI Technical Product Team
iQIYI Technical Product Team
Jun 5, 2020 · Backend Development

Design and Implementation of iQiyi's libfiber Network Coroutine Library

Using iQiyi’s open‑source libfiber as a case study, the article explains how network coroutines combine sequential programming simplicity with non‑blocking I/O scalability, detailing libfiber’s single‑threaded scheduler, cross‑platform event engine, coroutine‑aware synchronization, API hooking, and its deployment in high‑performance CDN caching and DNS services.

Network Programmingcoroutineevent-driven
0 likes · 26 min read
Design and Implementation of iQiyi's libfiber Network Coroutine Library