go_container_awareness

package module
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2024 License: MIT Imports: 3 Imported by: 0

README

Go Container Awareness GoDoc Build Status Go Report Card

Go Container Awareness is an open-source Go library that provides container awareness for CPU and memory limits, facilitating efficient resource management within containerized environments.

Automatically set GOMEMLIMIT to match Linux container memory quota(%90 of memory limit).

Automatically set GOGC off.

Automatically set GOMAXPROCS to match Linux container CPU quota.

Installation

import _ "github.com/mhmtszr/go-container-awareness"

func main() {
    ...
}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL