automaxprocs
go101
automaxprocs | go101 | |
---|---|---|
6 | 41 | |
3,788 | 5,392 | |
1.7% | - | |
6.0 | 7.3 | |
3 months ago | 10 days ago | |
Go | HTML | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
automaxprocs
-
Go, Containers, and the Linux Scheduler
We use https://github.com/uber-go/automaxprocs after we joyfully discovered that Go assumed we had the entire cluster's cpu count on any particular pod. Made for some very strange performance characteristics in scheduling goroutines.
-
Senior engineer here trying to pick up Go for jobs. What resources can you recommend me to cover as much ground as possible
Follow notable issues on https://github.com/golang/go to understand such things like why https://github.com/uber-go/automaxprocs was created.
-
Setting GOMAXPROCS without CPU limits in Kubernetes?
Please never set the value manually in a kubernetes production environment. Use https://github.com/uber-go/automaxprocs
-
What are goroutines and how are they scheduled?
There is an environment variable (GOMAXPROCS) that you can set which determines how many threads your go program will use simultaneously. You can use this great library from Uber to automatically set the GOMAXPROCS variable to match a Linux container CPU quota. If you are running Go workloads in Kubernetes, you should use this.
-
Shouldn't have happened: A vulnerability postmortem
AFAIK, it hasn't changed, this exact situation with cgroups is still something I have to tell fellow developers about. Some of them have started using [automaxprocs] to automatically detect and set.
[automaxprocs]: https://github.com/uber-go/automaxprocs
-
CPU throttling despite being well below the limit
For you own applications, you can use: https://github.com/uber-go/automaxprocs
go101
-
The Journey Ahead: My 6-Month Plan to Master GoLang
Go101: An in-depth guide that explores Go's internals, perfect for understanding the language at a deeper level.
- All books in Go 101 series have been updated to Go 1.21
-
Deconstructing Go Type Parameters
Go101 is a jewel of a resource. It’s a spec written by an impartial observer not worried about trying to make golang look good but instead giving you the understanding to avoid all the edge cases
https://go101.org/
- How to learn go from zero?
-
Perfect Golang learning roadmap
How about this: https://go101.org/ might help :)
-
Resources for an experienced programmer wanting to learn Go
Go 101 books, which cover every corner of the language itself (syntax, semantics, compiler and runtime implementation) and make more detailed explanations than the official docs in several points. (Author here)
-
Golang string concatenation performance comparison
Sometimes, reality and theory are not consistent: https://github.com/go101/go101/blob/master/pages/optimizations/code/4-string-and-byte-slice/concat-with-stack-byte-slice_test.go
-
Language specification or just a detailed book on the internals (focused on usage rather than compiler creation)?
How about go 101 ?
- I know JavaScript and looking for Go learning resource
-
Senior engineer here trying to pick up Go for jobs. What resources can you recommend me to cover as much ground as possible
https://go101.org/ - read this.
What are some alternatives?
rfcs - RFCs for changes to Rust
go - The Go programming language
go-perfbook - Thoughts on Go performance optimization
rustig - A tool to detect code paths leading to Rust's panic handler
go-licenses - A lightweight tool to report on the licenses used by a Go package and its dependencies. Highlight! Versioned external URL to licenses can be found at the same time.
sudo - Utility to execute a command as another user
gopl.io - Example programs from "The Go Programming Language"
go-internals - A book about the internals of the Go programming language.
mangagram - A Telegram bot for new manga chapter alerts. Search for your favorite titles and subscribed to them for alerts.
guide - The Uber Go Style Guide.
go-sumtype - A simple utility for running exhaustiveness checks on Go "sum types."