Refining Core Development Skills
Author

Refining Core Development Skills

Fei has over 10 years of development experience at Tencent and Sogou. Through this account, he shares his deep insights on performance.

143
Articles
0
Likes
432
Views
0
Comments
Recent Articles

Latest from Refining Core Development Skills

100 recent articles max
Refining Core Development Skills
Refining Core Development Skills
Jun 6, 2022 · Fundamentals

Why Large File Downloads Still Need Integrity Verification Despite TCP Reliability

Although TCP provides reliable transmission, its guarantees have limits—such as incomplete CRC checks, process crashes before data reaches the transport layer, possible ISP tampering, and kernel‑level ACKs that don’t ensure user‑space receipt—so large downloads must still be validated for full integrity.

DownloadLinuxNetwork Reliability
0 likes · 4 min read
Why Large File Downloads Still Need Integrity Verification Despite TCP Reliability
Refining Core Development Skills
Refining Core Development Skills
May 24, 2022 · Backend Development

An In-Depth Analysis of Redis Multi-Threaded Architecture and I/O Event Processing

This article provides a comprehensive source-level analysis of Redis 6.0 and later multi-threaded architecture, detailing how the main event loop coordinates with dedicated I/O threads to efficiently distribute, parse, and process concurrent read and write requests while maintaining high throughput and low latency.

C programmingEvent LoopI/O Multiplexing
0 likes · 21 min read
An In-Depth Analysis of Redis Multi-Threaded Architecture and I/O Event Processing
Refining Core Development Skills
Refining Core Development Skills
May 10, 2022 · Backend Development

Understanding Redis Core Network Module and Its High‑Performance Event Loop

This article explains how Redis achieves high‑performance single‑threaded networking by leveraging Linux epoll for I/O multiplexing, detailing the server initialization, event‑loop architecture, connection handling, command processing, and write‑back mechanisms with code examples, providing a deep dive for backend developers.

Redis
0 likes · 21 min read
Understanding Redis Core Network Module and Its High‑Performance Event Loop
Refining Core Development Skills
Refining Core Development Skills
Apr 11, 2022 · Backend Development

How Nginx Uses Epoll in a Multi‑Process Architecture

This article explains Nginx's multi‑process design, detailing how the master process handles socket binding and listening while each worker creates its own epoll instance, registers events, and processes connections through a well‑structured event loop with code examples from the source tree.

LinuxNginxbackend
0 likes · 18 min read
How Nginx Uses Epoll in a Multi‑Process Architecture
Refining Core Development Skills
Refining Core Development Skills
Mar 27, 2022 · Fundamentals

Understanding CPU Load Balancing and Scheduler Domains in Linux

This article explains the concept of CPU load balancing, the hierarchical scheduler domain and group structures in a multi‑core SoC, when and how the Linux kernel performs periodic, no‑hz, and idle load‑balancing, and outlines the step‑by‑step algorithm used to migrate tasks for balanced system performance.

Load Balancingsched_domain
0 likes · 9 min read
Understanding CPU Load Balancing and Scheduler Domains in Linux
Refining Core Development Skills
Refining Core Development Skills
Mar 23, 2022 · Backend Development

Understanding RPC and Its Implementation with SRPC in C++

This article explains the concepts, components, and lifecycle of Remote Procedure Call (RPC), compares it with HTTP, and demonstrates how to use the open‑source C++ SRPC framework to build client and server applications, including code generation, serialization, compression, and protocol handling.

C++IDLNetwork Protocols
0 likes · 11 min read
Understanding RPC and Its Implementation with SRPC in C++