---
title: "Discussion on \"Part 3: Where Threads Sleep\" | Hashnode"
description: "Discussion on \"Part 3: Where Threads Sleep\". 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."
url: "https://hashnode.com/posts/event-loop-where-threads-sleep/6a330b9c3627721a1614beda"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [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.

Jun 17 · 37 min read · srekaravarshan.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#event-loop](https://hashnode.com/tag/event-loop)
-   [#linux](https://hashnode.com/tag/linux)
-   [#epoll](https://hashnode.com/tag/epoll)
-   [#systems-programming](https://hashnode.com/tag/systems-programming)

## Written by

[Srekaravarshan N K](https://hashnode.com/@srekaravarshan)

@srekaravarshan

  
[View profile](https://hashnode.com/@srekaravarshan)

Frontend Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
