My ToDo app repo has a GitHub Action that runs npm run test
for both frontend and backend using Docker Compose.
It used to take 4 minutes and 48 seconds to run tests after building images, but by using buildx cache backends, it was shortened to 2 minutes and 18 seconds.
The latency reduces by 2 minutes and 30 seconds, and the performance improvement is over 2x (see the related pull request).
This article guides you simple steps you can add to benefit from caches.
5 posts tagged with "devops roadmap"
View All TagsKubernetes Horizontal Pod Autoscaler (HPA) with Custom Metrics from Istio
In a previous article, I demonstrated the Horizontal Pod Autoscaler (HPA) of Kubernetes. In that article, I set up autoscaling for CPU utilization, but this time I will set the HPA target to the request processing time of the pod in question. Since it is time-consuming to manage metrics values on the application side, I will get the request processing time metrics from the service mesh Istio.
4 Advantages Istio Brings to Your Kubernetes Cluster
I got a chance to learn to use Istio, one of the most loved service mesh solutions, in a Kubernetes cluster at work. Before all this, I had no idea about what Istio is, or why service mesh is favored, but now I have clear answers to these and can confidently recommend introducing Istio into your Kubernetes cluster. It offers a variety of benefits, and in this article, I would like to share four advantages of Istio that I like most.
Kubernetes HPA Hands-on
This article provides a quick hands-on for Kubernetes's Horizontal Pod Autoscaler (HPA). It deploys a simple CPU-intensive Web app on Kubernetes, and configures the HPA for the deployment. Then, we perform load testing to verify that the number of replicas scale automatically based on the metrics we configure.
Introduction to NGINX
This blog post summarizes basic use-cases of NGINX, namely static hosting, reverse proxy, and load balancer.
It provides fully-reproducible configuration setup using Docker for each use-case.