MariaDB makes use of a number of buffering, caching and threading techniques to improve performance.