from Hacker News

Show HN: Use network drives as RAM with this cursed Rust allocator

by cat-whisperer on 1/28/25, 7:49 PM with 3 comments

  • by cat-whisperer on 1/28/25, 7:50 PM

    I built a Rust allocator that uses files instead of RAM for memory storage. Because who said memory allocation needs to be fast? Want to make it even more "interesting"? Mount your allocation file over NFS/SSHFS and watch your program's memory requests casually traverse the internet!

    Now your RAM can have packet loss and network latency. Distributed systems enthusiasts, your dreams of globally distributed RAM are here (sort of)!

  • by whytevuhuni on 1/28/25, 8:10 PM

    Cool! Any benchmarks?