Skip to content

Commit b632c41

Browse files
committed
Logo
1 parent efc8756 commit b632c41

File tree

9 files changed

+23
-19
lines changed

9 files changed

+23
-19
lines changed

docs/img/thecodercafe.png

7.97 KB
Loading

site/img/thecodercafe.png

7.97 KB
Loading

site/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5254,6 +5254,10 @@ <h3 id="not-understanding-the-impacts-of-running-go-in-docker-and-kubernetes-100
52545254
<p>By default, <abbr title="The variable defines the limit of OS threads in charge of executing user-level code simultaneously">GOMAXPROCS</abbr> is set to the number of OS-apparent logical CPU cores.</p>
52555255
<p>When running some Go code inside Docker and Kubernetes, we must know that Go isn't <abbr title="Completely Fair Scheduler">CFS</abbr>-aware (<a href="https://github.com/golang/go/issues/33803">github.com/golang/go/issues/33803</a>). Therefore, <abbr title="The variable defines the limit of OS threads in charge of executing user-level code simultaneously">GOMAXPROCS</abbr> isn't automatically set to the value of <code>spec.containers.resources.limits.cpu</code> (see <a href="https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/">Kubernetes Resource Management for Pods and Containers</a>); instead, it's set to the number of logical cores on the host machine. The main implication is that it can lead to an increased tail latency in some specific situations.</p>
52565256
<p>One solution is to rely on <a href="https://github.com/uber-go/automaxprocs">uber-go/automaxprocs</a> that automatically set <code>GOMAXPROCS</code> to match the Linux container CPU quota.</p>
5257+
<details class="warning" open="open">
5258+
<summary>Warning</summary>
5259+
<p>automaxprocs does not work for workloads running in AWS ECS <a href="https://github.com/uber-go/automaxprocs/issues/66">issue #66</a>. Use <a href="https://github.com/rdforte/gomaxecs">rdforte/gomaxecs</a> instead.</p>
5260+
</details>
52575261
<h2 id="community">Community</h2>
52585262
<p>Thanks to all the contributors:</p>
52595263
<p><a href="https://contrib.rocks/image?repo=teivah/100-go-mistakes">

site/ja/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3348,7 +3348,7 @@ <h1 id="go">Go言語でありがちな間違い</h1>
33483348
<summary>The Coder Cafe</summary>
33493349
<p>もし私の本を楽しんでいただけたなら、私の最新プロジェクトにもご興味があるかもしれません。<a href="https://thecoder.cafe?rd=100go.co/ja">The Coder Cafe</a>は、コーダー向けの日刊ニュースレターです。</p>
33503350
<blockquote>
3351-
<p>Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve one essential concept for coders daily. Written by a senior software engineer at Google, it's perfectly brewed for your morning coffee, helping you grow your skills deeply.</p>
3351+
<p>Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve one essential concept for coders. Written by a senior software engineer at Google, it's perfectly brewed for your morning coffee, helping you grow your skills deeply.</p>
33523352
</blockquote>
33533353
<p><center><a href="https://thecoder.cafe?rd=100go.co/ja"><img src="../img/thecodercafe.png" alt="" style="width:480px;height:240px;"></a></center></p>
33543354
</details>

site/pt-br/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3414,7 +3414,7 @@ <h1 id="erros-comuns-de-go">Erros comuns de Go</h1>
34143414
<summary>The Coder Cafe</summary>
34153415
<p>Se você gostou do meu livro, talvez se interesse pelo meu novo projeto: <a href="https://thecoder.cafe?rd=100go.co/pt-br">The Coder Cafe</a>, uma newsletter diária para programadores.</p>
34163416
<blockquote>
3417-
<p>Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve one essential concept for coders daily. Written by a senior software engineer at Google, it's perfectly brewed for your morning coffee, helping you grow your skills deeply.</p>
3417+
<p>Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve one essential concept for coders. Written by a senior software engineer at Google, it's perfectly brewed for your morning coffee, helping you grow your skills deeply.</p>
34183418
</blockquote>
34193419
<p><center><a href="https://thecoder.cafe?rd=100go.co/pt-br"><img src="../img/thecodercafe.png" alt="" style="width:480px;height:240px;"></a></center></p>
34203420
</details>

site/search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

site/sitemap.xml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,77 +2,77 @@
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
44
<loc>https://100go.co/</loc>
5-
<lastmod>2025-03-10</lastmod>
5+
<lastmod>2025-03-11</lastmod>
66
<changefreq>daily</changefreq>
77
</url>
88
<url>
99
<loc>https://100go.co/20-slice/</loc>
10-
<lastmod>2025-03-10</lastmod>
10+
<lastmod>2025-03-11</lastmod>
1111
<changefreq>daily</changefreq>
1212
</url>
1313
<url>
1414
<loc>https://100go.co/28-maps-memory-leaks/</loc>
15-
<lastmod>2025-03-10</lastmod>
15+
<lastmod>2025-03-11</lastmod>
1616
<changefreq>daily</changefreq>
1717
</url>
1818
<url>
1919
<loc>https://100go.co/5-interface-pollution/</loc>
20-
<lastmod>2025-03-10</lastmod>
20+
<lastmod>2025-03-11</lastmod>
2121
<changefreq>daily</changefreq>
2222
</url>
2323
<url>
2424
<loc>https://100go.co/56-concurrency-faster/</loc>
25-
<lastmod>2025-03-10</lastmod>
25+
<lastmod>2025-03-11</lastmod>
2626
<changefreq>daily</changefreq>
2727
</url>
2828
<url>
2929
<loc>https://100go.co/89-benchmarks/</loc>
30-
<lastmod>2025-03-10</lastmod>
30+
<lastmod>2025-03-11</lastmod>
3131
<changefreq>daily</changefreq>
3232
</url>
3333
<url>
3434
<loc>https://100go.co/9-generics/</loc>
35-
<lastmod>2025-03-10</lastmod>
35+
<lastmod>2025-03-11</lastmod>
3636
<changefreq>daily</changefreq>
3737
</url>
3838
<url>
3939
<loc>https://100go.co/92-false-sharing/</loc>
40-
<lastmod>2025-03-10</lastmod>
40+
<lastmod>2025-03-11</lastmod>
4141
<changefreq>daily</changefreq>
4242
</url>
4343
<url>
4444
<loc>https://100go.co/98-profiling-execution-tracing/</loc>
45-
<lastmod>2025-03-10</lastmod>
45+
<lastmod>2025-03-11</lastmod>
4646
<changefreq>daily</changefreq>
4747
</url>
4848
<url>
4949
<loc>https://100go.co/book/</loc>
50-
<lastmod>2025-03-10</lastmod>
50+
<lastmod>2025-03-11</lastmod>
5151
<changefreq>daily</changefreq>
5252
</url>
5353
<url>
5454
<loc>https://100go.co/chapter-1/</loc>
55-
<lastmod>2025-03-10</lastmod>
55+
<lastmod>2025-03-11</lastmod>
5656
<changefreq>daily</changefreq>
5757
</url>
5858
<url>
5959
<loc>https://100go.co/external/</loc>
60-
<lastmod>2025-03-10</lastmod>
60+
<lastmod>2025-03-11</lastmod>
6161
<changefreq>daily</changefreq>
6262
</url>
6363
<url>
6464
<loc>https://100go.co/ja/</loc>
65-
<lastmod>2025-03-10</lastmod>
65+
<lastmod>2025-03-11</lastmod>
6666
<changefreq>daily</changefreq>
6767
</url>
6868
<url>
6969
<loc>https://100go.co/pt-br/</loc>
70-
<lastmod>2025-03-10</lastmod>
70+
<lastmod>2025-03-11</lastmod>
7171
<changefreq>daily</changefreq>
7272
</url>
7373
<url>
7474
<loc>https://100go.co/zh/</loc>
75-
<lastmod>2025-03-10</lastmod>
75+
<lastmod>2025-03-11</lastmod>
7676
<changefreq>daily</changefreq>
7777
</url>
7878
</urlset>

site/sitemap.xml.gz

0 Bytes
Binary file not shown.

site/zh/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3168,7 +3168,7 @@ <h1 id="100-go">100 个 Go 常见错误及如何避免</h1>
31683168
<summary>The Coder Cafe</summary>
31693169
<p>如果您喜欢我的书,您可能会对我的最新项目感兴趣:<a href="https://thecoder.cafe?rd=100go.co/zh">The Coder Cafe</a>,这是一个为程序员提供的每日简报。</p>
31703170
<blockquote>
3171-
<p>Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve one essential concept for coders daily. Written by a senior software engineer at Google, it's perfectly brewed for your morning coffee, helping you grow your skills deeply.</p>
3171+
<p>Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve one essential concept for coders. Written by a senior software engineer at Google, it's perfectly brewed for your morning coffee, helping you grow your skills deeply.</p>
31723172
</blockquote>
31733173
<p><center><a href="https://thecoder.cafe?rd=100go.co/zh"><img src="../img/thecodercafe.png" alt="" style="width:480px;height:240px;"></a></center></p>
31743174
</details>

0 commit comments

Comments
 (0)