Settings

Theme

Show HN: ram-dl – A tool to download more RAM written in Go

github.com

13 points by pojntfx 2 years ago · 0 comments · 1 min read

Reader

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

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection