Hi HN! I've built ram-dl, a tool that allows you to upload and download RAM to/from your system. Run `ram-ul` to upload RAM, and `ram-dl` to download it. Well, sort of :P<p>It works like this:<p>1. Starting a go-nbd server and client locally with r3map's Device API<p>2. Connecting the NBD server to a remote fRPC[1] backend provided by ram-ul<p>3. Calling mkswap, swapon and swapoff, which enables paging out to the block device provided by the NBD client and thus to the connected remote fRPC backend.<p>Its mostly intended as a tech demo for go-nbd[2] and the WIP r3map[3] library (efficient distributed mmap with mounting and migration support), and just as a fun experiment in general.<p>[1] <a href="https://frpc.io/" rel="nofollow noreferrer">https://frpc.io/</a>
[2] <a href="https://news.ycombinator.com/item?id=35359473">https://news.ycombinator.com/item?id=35359473</a>
[3] <a href="https://github.com/pojntfx/r3map">https://github.com/pojntfx/r3map</a>