yuesong-feng/30daymakecppserver

30天自制C++服务器,包含教程和源代码

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 33 minutes ago
Added to GitGenius on September 9th, 2026
Created on November 30th, 2021
Open Issues & Pull Requests: 62 (+0)
GitHub issues: Disabled - open counts may still include pull requests.
Number of forks: 881
Total Stargazers: 7,066 (+0)
Total Subscribers: 50 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

GitHub issues are disabled for this repository, so issue analytics and the issue explorer are not available.

Detailed Description

30daymakecppserver is a tutorial project that teaches Linux server development in C++.

The project addresses the gap between learning a programming language and understanding the foundational principles of backend development. It teaches that high-concurrency servers run on Linux and that deep knowledge of C/C++ server development is essential to understand how HTTP requests achieve concurrency, how TCP connections are controlled, and how data transmission logic works. The approach is practical and iterative: over the course of structured lessons, developers build a working server incrementally, starting from basic sockets and progressing through error handling, epoll for high concurrency, and object-oriented design patterns like Channel and Acceptor classes.

This project suits developers who already know C/C++ and have basic familiarity with computer networks and operating system concepts, and who want to understand the low-level mechanics of server development rather than just learning a framework or language. The tutorial emphasizes hands-on coding over theoretical explanation, though it references relevant textbooks for deeper understanding. Each day's code compiles and runs independently, allowing learners to see immediate results by running a server executable and interacting with it via a client. The README states that completing this tutorial prepares readers to understand the muduo source code.

The project is presented as an incomplete educational resource from the author's student years, with the author noting they lack time to finish remaining sections after entering the workforce. The repository experienced a malicious attack that disabled issue functionality. The codebase is available for modification and continuation by interested contributors, reflecting an open stance toward community involvement in completing and improving the material.