GO-FaaS@v0.4.2: Serverless function runtime

Published: (January 3, 2026 at 12:46 AM EST)
1 min read
Source: Dev.to

Source: Dev.to

cover

Summary

Add CPU and memory limit configuration for containers, providing finer resource control, and optimize default runtime count calculation logic.

FEAT

  • Add CPU limit configuration for containers, supporting MAX_CPUS_PER_CONTAINER environment variable to set CPU quota per runtime (default 0.25).
  • Add memory limit configuration for containers, supporting MAX_MEMORY_PER_CONTAINER environment variable to set memory limit per runtime (default 128 MB).

UPDATE

Optimize default runtime count calculation from runtime.NumCPU() to runtime.NumCPU() * 2.

Back to Blog

Related posts

Read more »

The RGB LED Sidequest 💡

markdown !Jennifer Davishttps://media2.dev.to/dynamic/image/width=50,height=50,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%...

Mendex: Why I Build

Introduction Hello everyone. Today I want to share who I am, what I'm building, and why. Early Career and Burnout I started my career as a developer 17 years a...