---
title: "#epoll articles | Hashnode"
description: "Explore 7 articles tagged #epoll on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/epoll"
---

Tag

# #epoll

7 posts · 0 followers

[Srekaravarshan N K](https://hashnode.com/@srekaravarshan) · [Jun 17](https://hashnode.com/posts/event-loop-where-threads-sleep/6a330b9c3627721a1614beda)

### [Part 3: Where Threads Sleep](https://srekaravarshan.hashnode.dev/event-loop-where-threads-sleep?utm_source=hashnode&utm_medium=feed)

An idle tab uses 0% CPU. A server handles 10,000 connections without 80GB of stack. Same mechanism: epoll. Here's how threads sleep and wake.

37 min read · [srekaravarshan.hashnode.dev](https://srekaravarshan.hashnode.dev/event-loop-where-threads-sleep?utm_source=hashnode&utm_medium=feed)

[Charizard](https://hashnode.com/@char1zard) · [Feb 25](https://hashnode.com/posts/2-reactor/699e72cb0daf99859e6637b3)

### [网络编程2：Reactor网络模型](https://charizardnetwork.hashnode.dev/2-reactor?utm_source=hashnode&utm_medium=feed)

本章核心： epoll 事件驱动编程，reactor模型，引入连接队列管理随并发量大量增加的连接。 简单介绍网络层级模型和应用层并实现一个简单的http server。 \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*我是分割线\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* 我们在上一章讨论了Linux系统的基础网络接口和select()/p

5 min read · [charizardnetwork.hashnode.dev](https://charizardnetwork.hashnode.dev/2-reactor?utm_source=hashnode&utm_medium=feed)

[David Zhang](https://hashnode.com/@davidzhang) · [Apr 26, 2025](https://hashnode.com/posts/high-performance-chat-server-in-c-using-coroutines-and-epoll/680d24f3b501cfa308419b5b)

### [High-Performance Chat Server in C++ using Coroutines and epoll](https://davidzhang.hashnode.dev/high-performance-chat-server-in-c-using-coroutines-and-epoll?utm_source=hashnode&utm_medium=feed)

Building on my previous exploration of a traditional event-driven chat server in C++ with epoll, I've now implemented a modern solution using C++20 coroutines. While both approaches leverage epoll's efficiency, coroutines provide a more natural, sync...

6 min read · [davidzhang.hashnode.dev](https://davidzhang.hashnode.dev/high-performance-chat-server-in-c-using-coroutines-and-epoll?utm_source=hashnode&utm_medium=feed)

[David Zhang](https://hashnode.com/@davidzhang) · [Apr 13, 2025](https://hashnode.com/posts/cpp-chat-server/67fb658f0f1216341b468d83)

### [High-Performance Chat Server in C++ using epoll](https://davidzhang.hashnode.dev/cpp-chat-server?utm_source=hashnode&utm_medium=feed)

After implementing a simple chat server in Go using goroutines for client handling, I wanted to explore an alternative approach using C++ and the epoll event notification mechanism. While Go abstracts away many of the complexities of concurrent progr...

8 min read · [davidzhang.hashnode.dev](https://davidzhang.hashnode.dev/cpp-chat-server?utm_source=hashnode&utm_medium=feed)

[hai nguyen](https://hashnode.com/@haimeomeo) · [May 20, 2024](https://hashnode.com/posts/traditional-way-to-scaling-python/664b7823580a008c79e8bb88)

### [Traditional way to scaling Python](https://hainguyen.hashnode.dev/traditional-way-to-scaling-python?utm_source=hashnode&utm_medium=feed)

Some traditional methods to scale a Python program Threading Pros: Lightweight compared to processes Multiple threads can share memory (this can also be a downside) Cons: Python has a GIL, so it's not good for CPU-heavy tasks Sharing memory bet...

3 min read · [hainguyen.hashnode.dev](https://hainguyen.hashnode.dev/traditional-way-to-scaling-python?utm_source=hashnode&utm_medium=feed)

[whowin](https://hashnode.com/@whowin) · [Mar 9, 2024](https://hashnode.com/posts/180024-using-epoll-in-socket-programming/6712684a95892ca2bd3d78fd)

### [使用epoll()进行socket编程处理多客户连接的TCP服务器实例](https://whowin.cn/180024-using-epoll-in-socket-programming?utm_source=hashnode&utm_medium=feed)

在网络编程中，当需要使用单线程处理多客户端的连接时，常使用select()或者poll()来处理，但是当并发数量非常大时，select()和poll()的性能并不好，epoll()的性能大大好于select()和poll()，在编写大并发的服务器软件时，epoll()应该是首选的方案，本文介绍epoll()在网络编程中的使用方法，本文提供了一个具体的实例，并附有完整的源代码，本文实例在 ubuntu 20.04 下编译测试完成，gcc 版本号 9.4.0。 1 基本概念 在『网络编程专栏』中...

5 min read · [whowin.cn](https://whowin.cn/180024-using-epoll-in-socket-programming?utm_source=hashnode&utm_medium=feed)

[SHIKHAR YADAV](https://hashnode.com/@shikharcode) · [Nov 6, 2022](https://hashnode.com/posts/optimized-websocket-gateway-for-micro-services-in-golang/6367424db102d6206b48f42b)

### [Optimized WebSocket Gateway For Micro-Services In Golang](https://shikharcode.hashnode.dev/optimized-websocket-gateway-for-micro-services-in-golang?utm_source=hashnode&utm_medium=feed)

Using Epoll Linux Kernel System Call

8 min read · [shikharcode.hashnode.dev](https://shikharcode.hashnode.dev/optimized-websocket-gateway-for-micro-services-in-golang?utm_source=hashnode&utm_medium=feed)
