Crate pagecache [−] [src]
pagecache is a lock-free pagecache and log for building high-performance databases.
auxilliary data structures
Top-level configuration for the system.
A sequential store which allows users to create reservations placed at known log offsets, used for writing persistent data structures that need to know where to find persisted bits in the future.
A metric collector for all sled instances running in this process.
A materializer for things that have nothing to
materialize or recover, like a standalone
A lock-free pagecache which supports fragmented pages for dramatically improving write throughput.
A simple lock-free radix tree.
A pending log reservation which can be aborted or completed.
NB the holder should quickly call
Points to either a memory location or a disk location to page-in data from.
The result of a
The log may be configured to write data in several different ways, depending on the constraints of the system using it.
A user of a
This function is useful for inducing random jitter into our atomic operations, shaking out more possible interleavings quickly. It gets fully elliminated by the compiler in non-test code.
A log file offset.
A logical sequence number.
A page identifier.
An offset for a storage file segment.