Emulate Block Device Incidents With IO Scheduler

This session is presented on Percona Community Live Online June 21-23, 2022. Check out the full schedule here.

Watch This Talk Here

The talk will be live-streamed on several platforms. No registration is required. Feel free to ask your questions in chat. Follow the links now and subscribe to notifications not to miss anything!

Block device incidents are frequent and frightening in production. To achieve high availability, distributed databases usually have fault tolerant strategies to handle these incidents. As the system gets more complicated, it’s even hard to prove whether these strategies are working. For example, if the execution and distribution of scheduling commands also depend on the hanging storage, it will have no effect.

In order to help developers verify the performance of their databases under storage disasters, we designed a Linux IO scheduler called IOEM to emulate the properties of block devices.

Emulate Block Device Incidents With IO Scheduler

IOEM allows developers to specify latency and IOPS per block device and process, making it possible to emulate a complex cluster with limited resources. Developers can emulate a wide range of properties of storage devices with little overhead. Besides the incidents, IOEM can also be used to measure the performance of databases under low-end storage devices.

In this talk, Yang Keao will show a real-world example where the fault-tolerant strategies failed, and how they reproduced them in the development environment with the help of IOEM. He will also introduce the structure and implementation of IOEM, compare it with other implementation of block device latency injection, and describe the convenience it will bring to the development of databases.

Check out the full schedule of Percona Community Live Online June 21-23, 2022

Yang Keao

Research And Development Engineer

Yang Keao is a developer at PingCAP and a maintainer of Chaos Mesh, a cloud native chaos engineering platform for Kubernetes. He also helps the database developers and QA team to promote the stability of TiDB, which is a distributed database developed by PingCAP.

See all talks by Yang Keao »

Comments

✎ Edit this page on GitHub