Better HN
topnewbestaskshowjobs
Log inSign up

manelmt

4 karma · joined Jun 20, 2019 (7y ago) · 1 submissions

Submissions

comment 7y ago · link · parent

Alternatively, one could use NBD (network block devices) to create a network block device that resides entirely on a server's RAM.

The nice thing about NBD is that its a super simple protocol, the server runs in user space, and it's easy to modify to suit own needs. I built sometime ago a version with block deduplication for a farm of disk-less clusters that had very little ram in ~1k LOC. Main disk had persistence activated, while swap drives were pure RAM.