Optimize CPU and Memory for Kubernetes Pod

When optimizing workload performance, it is important to understand how on earth operating system allocates CPU and memory to processes. This helps understand how to set resource limit Kubernetes Pod in an optimal way. CPU resource assignment The OS distributes CPU resource to processes by the unit of time share of CPU time. Most of … Read moreOptimize CPU and Memory for Kubernetes Pod

Key mapping for external PC keyboard on Mac

This post is to document my steps to use external Windows keyboard on Mac with custom key mapping. Background Apple’s magic keyboard does not support multi-device so I have to repurpose my Logitech K810 keyboard with MacBook. Logitech K810 is and old model with Windows key layout even though it also supports MacOS. The bottom … Read moreKey mapping for external PC keyboard on Mac

AWS serverless services and developer tools

As discussed, serverless simply means cloud services that delegate autoscaling management to cloud platform. In my mind, the word “serverless” translates into “managed autoscaling”. As long as a service’s capacity is managed automatically, we can consider it as serverless. Given that capacity scaling accounts for a good amount of work in IT operation, moving to … Read moreAWS serverless services and developer tools

Computing services: from PaaS to Serverless

Silicon Valley startups in mid-2000s likely do not run their own IT operations (i.e. renting their own data centre spaces, purchasing their own rack-mounted servers). Since the launch of EC2, AWS has been renting extra computing capacity to those startups, in the IaaS model. The leased infrastructure requires maintenance work, and AWS realized that many … Read moreComputing services: from PaaS to Serverless