automaxprocs

Automatically set GOMAXPROCS to match Linux container CPU quota. (by uber-go)

Automaxprocs Alternatives

Similar projects and alternatives to automaxprocs

  1. go

    The Go programming language

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. rfcs

    680 automaxprocs VS rfcs

    RFCs for changes to Rust

  4. .NET Runtime

    .NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.

  5. CppCoreGuidelines

    The C++ Core Guidelines are a set of tried-and-true guidelines, rules, and best practices about coding in C++

  6. JDK

    202 automaxprocs VS JDK

    JDK main-line development https://openjdk.org/projects/jdk

  7. fyne

    Cross platform GUI toolkit in Go inspired by Material Design

  8. Quarkus

    Quarkus: Supersonic Subatomic Java.

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. sudo

    Utility to execute a command as another user

  11. Micronaut

    Micronaut Application Framework

  12. Vaadin

    Vaadin 6, 7, 8 is a Java framework for modern Java web applications. (by vaadin)

  13. fasthttp

    Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http

  14. guide

    27 automaxprocs VS guide

    The Uber Go Style Guide.

  15. fx

    A dependency injection based application framework for Go. (by uber-go)

  16. website

    Javalin website source code (by javalin)

  17. ring

    28 automaxprocs VS ring

    An experiment. (by briansmith)

  18. trophy-case

    🏆 Collection of bugs uncovered by fuzzing Rust code

  19. jsoniter

    A high-performance 100% compatible drop-in replacement of "encoding/json" (by json-iterator)

  20. go-perfbook

    Thoughts on Go performance optimization

  21. codethesaur.us

    A polyglot developer reference tool to compare programming language concepts side-by-side! Great for learning new languages or using for reference.

  22. tiny-rust-executable

    Using Rust to make a 137-byte static AMD64 Linux executable

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better automaxprocs alternative or higher similarity.

automaxprocs discussion

Log in or Post with

automaxprocs reviews and mentions

Posts with mentions or reviews of automaxprocs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-02-18.
  • Year After Switching from Java to Go: Our Experiences
    23 projects | news.ycombinator.com | 18 Feb 2025
    > ...includes support for a soft memory limit. This memory limit includes the Go heap and all other memory managed by the runtime, and excludes external memory sources such as mappings of the binary itself, memory managed in other languages, and memory held by the operating system on behalf of the Go program"

    Of course it’s a runtime setting, it won’t affect other factors but you can’t say it didn’t solved anything “because there’s a GitHub issue open” Then Go runtime was unpredictable because of its ideology “CPU is unlimited but not Memory” and containers are kinda of a dynamic resource allocated but it did solve vast amount of problem dealing with kernel OOM and unpredictable GC cycles

    > You still need to use a helper library like https://github.com/KimMachineGun/automemlimit or https://github.com/uber-go/automaxprocs.

    I would be surprised if the Go team implemented into the runtime, because some devs would love to have there own way of handling such settings so I don’t see it as an issue

    > Forgot to add: The JVM does this for you since JDK 17 https://developers.redhat.com/articles/2022/04/19/java-17-wh...

    We can’t just compare added features if don’t compare how backwards compatible the language is at that time I don’t know much about Java, but I wouldn’t say the same from upgrading from Go 1.9 to Go 1.19

  • Golang: Como a Observabilidade e Profiling Revelaram um Throttling Quase Indetectável
    1 project | dev.to | 9 Oct 2024
    View on GitHub
  • The implications of running Go in a containerised environment.
    3 projects | dev.to | 18 Sep 2024
    In Kubernetes this issue is quite easy to solve as we have uber automaxprocs package to solve this issue. Though automaxprocs will not work for ECS uber-go/automaxprocs#66 because the cgroup cpu.cfs_quota_us is set to -1 🥲. That is why I have built gomaxecs, which is a package to help address this issue.
  • Introduction to Golang Preemption Mechanisms
    2 projects | news.ycombinator.com | 11 Aug 2024
    This can be configured with GOMAXPROCS. It can be automated using https://github.com/uber-go/automaxprocs. Perhaps it should just be done by Golang as it catches many people out when running in Kubernetes
  • Go Performance: Pequenas mudanças que ajudam a melhorar o desempenho do seu app
    3 projects | dev.to | 30 Jul 2024
  • Go, Containers, and the Linux Scheduler
    4 projects | news.ycombinator.com | 7 Nov 2023
    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
    7 projects | /r/golang | 7 Mar 2023
    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?
    1 project | /r/golang | 10 Nov 2022
    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?
    1 project | dev.to | 4 Apr 2022
    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
    11 projects | news.ycombinator.com | 1 Dec 2021
    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

  • A note from our sponsor - SaaSHub
    www.saashub.com | 23 Mar 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic automaxprocs repo stats
12
4,348
3.8
6 months ago

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Go is
the 4th most popular programming language
based on number of references?