Show HN: ram-dl – A tool to download more RAM written in Go (github.com)

13 points by pojntfx ↗ HN
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

It works like this:

1. Starting a go-nbd server and client locally with r3map's Device API

2. Connecting the NBD server to a remote fRPC[1] backend provided by ram-ul

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.

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.

[1] https://frpc.io/ [2] https://news.ycombinator.com/item?id=35359473 [3] https://github.com/pojntfx/r3map

0 comments

[ 4.5 ms ] story [ 13.7 ms ] thread

No comments yet.