<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/i-ddos-d-my-own-laptop-learning-go-dsqqv6z6j" -->

---
title: I DDOS&#x27;d my own laptop learning Go | daily.dev
description: A developer shares their journey learning Go concurrency by building a CLI tool to count code statistics. Starting with a simple sequential implementation,...
canonical: https://daily.dev/posts/i-ddos-d-my-own-laptop-learning-go-dsqqv6z6j
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: I DDOS&#x27;d my own laptop learning Go | daily.dev
og:description: A developer shares their journey learning Go concurrency by building a CLI tool to count code statistics. Starting with a simple sequential implementation,...
og:url: https://daily.dev/posts/i-ddos-d-my-own-laptop-learning-go-dsqqv6z6j
og:image: https://api.daily.dev/og/posts/dSQQv6z6J.png
og:image:alt: I DDOS&#x27;d my own laptop learning Go
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# I DDOS'd my own laptop learning Go

**[Dev World](https://daily.dev/sources/dev_world)** · [@sulav](https://daily.dev/sulav) · 6 upvotes · 0 comments

## Summary

A developer shares their journey learning Go concurrency by building a CLI tool to count code statistics. Starting with a simple sequential implementation, they added goroutines for parallelism but accidentally created unbounded concurrency that overwhelmed their system. After implementing a semaphore-based thread pool and fixing deadlock issues, they achieved a 10x speedup on the Linux kernel codebase, with optimal performance at 50-100 workers. The experience taught practical lessons about resource limits, correctness, and ownership in concurrent systems.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/@sulavstha007/from-naive-go-to-thread-pools-a-tiny-cli-that-taught-me-concurrency-f69310cf0198>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#golang](https://daily.dev/tags/golang), [#cli](https://daily.dev/tags/cli)

[View this post on daily.dev](https://daily.dev/posts/i-ddos-d-my-own-laptop-learning-go-dsqqv6z6j)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/i-ddos-d-my-own-laptop-learning-go-dsqqv6z6j","headline":"I DDOS'd my own laptop learning Go","text":"Shared: From Naive Go to Thread Pools: A Tiny CLI That Taught Me Concurrency","url":"https://daily.dev/posts/i-ddos-d-my-own-laptop-learning-go-dsqqv6z6j","datePublished":"2026-01-31T21:31:20.570Z","dateModified":"2026-01-31T21:31:20.573Z","author":{"@type":"Person","name":"sulav shrestha","url":"https://daily.dev/sulav","image":"https://media.daily.dev/image/upload/s--8EGE9GYu--/f_auto/v1750164569/avatars/avatar_ozi5gibFRd4INLqKIyJfI?_a=BAMClqUq0","description":"429-rate limit exceeded ","worksFor":{"@type":"Organization","name":"InCorp Global","logo":"https://media.daily.dev/image/upload/s--ZDWG0qjW--/f_auto/v1750780118/companies/incorp"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":360}},"image":"https://media.daily.dev/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":6},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/JcPue3aE7"},"isPartOf":{"@type":"WebPage","url":"https://daily.dev/squads/dev_world","name":"Dev World"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Dev World","item":"https://daily.dev/squads/dev_world"},{"@type":"ListItem","position":3,"name":"I DDOS'd my own laptop learning Go"}]}
```

