3 min read
In Golang, there are two environment variables that can be used to manage the Garbage Collector in Go: GOGC
and GOMEMLIMIT
. With these variables, you can control how often the garbage collector runs and set an overall memory limit that the Go runtime can use.
05/11/2024
Read more...3 min read
Go is a garbage-collected language: It will reclaim any unused memory. This automation can sometimes introduce performance challenges. We can use the GODEBUG environment variable to provide insights into specific internal operations of the Go runtime, such as scheduling, memory allocation, and garbage collection.
30/10/2024
Read more...3 min read
When we run a process in a container, it becomes the init process. This means that it is responsible for reaping any child processes that exit. If it doesn't do this, they become zombies.
Having some zombies are not a problem, but if you have too many of them, you can run out of resources (PIDs, memory, disk space...). This is what is going to cause issues in your host system: the zombies won't be a problem, but the resources they consume will.
02/10/2024
Read more...2 min read
Pulumi can also be used to deploy AWS Service Catalog products. It won't be shocking to see that the code is going to be very similar to what's required to deploy an AWS Service Catalog product using terraform, since at the end of the day pulumi is going to use the terraform-aws provider.
10/09/2024
Read more...3 min read
AWS Service Catalog allows organizations to create and manage catalogs of IT services that are going to get deployed in AWS using CloudFormation templates. To deploy an instance of a product we can use any IaC tool like Terraform, Pulumi, or the AWS CDK.
03/09/2024
Read more...