Memory-Mapped I/O
Programming Fundamentals · Bottom
Technique where files are mapped directly into process virtual memory, allowing the OS to handle reads/writes through page faults. Solana's AccountsDB uses memory-mapped files (AppendVec) to store account data, enabling efficient random access to gigabytes of account state without loading everything into heap memory.