MySQL performance with Kubernetes: bare metal vs K8 with docker vs K8 with container
Why database performance assessment with Kubernetes Now a days, Kubernetes is being used to manage databases like MySQL/Mariadb for reasons like manageability etc. However, the real question is whether we are aware of the performance overhead costs. So, the objective of my assessment is to find out actual overhead with different runtime like docker or container. Approach I used, mariadb's open-source framework TAF , to run sysbench's point-select memory bound test ( data fits into buffer-pool) against latest MySQL image , 9.7.0 . Sysbench's memory bound point-select is CPU-intensive test which stress system the most. I executed test in "standalone" mode (both mysqld server and client 'sysbench' are running on my laptop). sysbench's 8 tables x 5 million rows ~1 GB data which fits into 2 GB BP. I have kept config same for all tests. I have done testing on my laptop - 6 core, 8 GB RAM, AMD Ryzen 5...