Posts

Showing posts from 2025

Testing MySQL Router Deployments on Kubernetes with InnoDB ClusterSet

Testing MySQL Router Deployments on Kubernetes with InnoDB ClusterSet Testing MySQL Router Deployments on Kubernetes Once your MySQL Router is deployed and configured to handle read/write routing between InnoDB ClusterSet primary and secondary clusters, the next critical step is verifying that the routing behaves as expected. In this post, we’ll walk through a simple Kubernetes-native testing strategy using a minimal Python application to validate Router behavior across ports 6446 (RW) and 6447 (RO). The Goal We want to: Write to MySQL via Router port 6446 every 2 seconds. Read via Router port 6447 every 2 seconds. Log RW operation metadata to a dedicated table ( rw_log ). Print RO query responses in the pod logs. This lets us monitor which router handled the request and from which pod, helping validate traffic direction and router/cluster availability in a live environment. ...

Server Load on Linux Systems and Its Relationship to Database Performance

 What Is Server Load? Server load is basically a measure of the amount of computational work a system is performing. In Linux, the system load primarily reflects the demand for the CPU’s resources over time. This measurement includes both the processes currently being executed by the CPU and those waiting for CPU access. The output of server load is typically represented as three numbers, which gives the average load over the last 1, 5, and 15 minutes. 1 minute load average : Immediate snapshot of the CPU demand. 5 minute load average : Mid term trend in resource usage. 15 minute load average : Long term overview of system load Higher numbers indicate higher CPU demand but related to the number of CPU cores of the server. For example, a load of 4 on a system with 4 cores means the system is running at capacity. On the other hand, a load of 8 on the same system indicates that processes are waiting for CPU time, which could signal a performance bottleneck. Run Queue and Block Queue...