agrim mittal (Everything is a file)

Finding Memory Eating Monsters in Golang


Sometimes, you might observe your program breaching all thresholds and taking up more memory than required. You might observe sawtooth patterns in your memory charts. This is a sign of classic Memory Leak, which eventually leads to OOM.


Performing cryptographic operations using AWS Nitro Enclaves


AWS Nitro Enclaves enables customers to create isolated compute environments to further protect and securely process highly sensitive data such as personally identifiable information (PII), healthcare, financial, and intellectual property data within their Amazon EC2 instances. - Official Docs


Scaling AWS ECS Service on "non-conventional" metrics


AWS ECS provides CPU and Memory metrics out of the box and these can be used for creating scaling policies.


Deploying self-managed highly available, scalable, and resilient TimescaleDB cluster on AWS


Posted here.


Better ECS autoscaling with capacity providers


What is ECS?


Goroutines: M, P, G orchestration


Goroutines are lightweight; have a small stack (2KB, from v1.4) and a fast context switch.


Goroutines vs Threads


Go uses goroutines while languages like Java use threads.