Data Warehousing and Analytics Platform
How RocksDB is used in osquery

How RocksDB is used in osquery

4/30/2015 · Ted Reed

What this post added

This post details how osquery utilizes RocksDB as its embedded persistent key-value store. It explains osquery's functionality as an OS instrumentation framework and how RocksDB enables fast, persistent data storage and access. The article highlights the event-based pub/sub system within osquery, demonstrating how RocksDB is used to store and compare query results over time to detect state changes. It also introduces the concept of event publishers and subscribers, using udev events as a concrete example of how osquery reacts to OS-level events efficiently by leveraging RocksDB for state management.

Read the original post ↗