Sergei Petrunia is a seasoned software developer with 17 years focused on database internals, query optimization and backend systems engineering, now based in Espoo, Finland. He has deep, hands-on experience with MySQL/MariaDB ecosystems and significant contributions to high-profile open-source projects like RocksDB and MariaDB/MyRocks, improving transaction management, range locking, and index/replication reliability. At MariaDB Corporation and earlier roles at Sun/MySQL and Monty Program he has driven query optimizer development and production-grade fixes for race conditions, memory leaks and unique-constraint edge cases. Sergei combines formal training in applied mathematics with a pragmatic engineering approach, making him skilled at both algorithmic design and low-level engine tuning. An often-overlooked strength is his sustained focus on correctness under concurrency, reflected in long-running commits that tighten transactional guarantees in widely used storage engines.
16 years of coding experience
15 years of employment as a software developer
Master, Applied Mathematics, Master, Applied Mathematics at Peter the Great St.Petersburg Polytechnic University
MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
Role in this project:
Back-end Developer & Database Engineer
Contributions:115 reviews, 3821 commits, 27 PRs in 13 years 10 months
Contributions summary:Sergei primarily focused on improving the MyRocks database engine's performance and reliability, specifically in the areas of index management and transaction handling. The contributions include fixing issues with unique constraints, optimizing range scans, addressing memory leaks, and supporting new features such as index visibility alterations. The user also addressed several race conditions and bugs that affected the performance and correctness of MyRocks in both general operations and in the context of replication.
A library that provides an embeddable, persistent key-value store for fast storage.
Role in this project:
Back-end Developer / Database Engineer
Contributions:38 reviews, 11 commits, 10 PRs in 2 years 7 months
Contributions summary:Sergei's contributions primarily involved modifications and improvements to the RocksDB database library. They addressed issues related to compile warnings, fixed bugs, and implemented features like iteration bounds for delta iterators. Significant changes included adding range locking functionalities by incorporating the locktree library, enhancing transaction management, and fine-tuning internal components. The commits show expertise in the core functionalities of the database engine and related transaction management.
Find and Hire Top DevelopersWeāve analyzed the programming source code of over 60 million software developers on GitHub and scored them by 50,000 skills. Sign-up on Prog,AI to search for software developers.
Request Free Trial
Sergei Petrunia - Software Developer at MariaDB Corporation