News for hackers. Stuff that matters.
Re:Show HN: go-nbd – A Pure Go NBD Server and Client by davidjfelix on Wednesday March 29, 2023 @01:30PM (#35360442)
NBD = network block device. Hope I saved somebody a google.
Re:Show HN: go-nbd – A Pure Go NBD Server and Client by pojntfx on Wednesday March 29, 2023 @01:37PM (#35360545)
Thanks, added it to the description!
Re:Show HN: go-nbd – A Pure Go NBD Server and Client by gpvos on Wednesday March 29, 2023 @02:33PM (#35361309)
"The Network Block Device is a Linux-originated lightweight block access protocol that allows one to export a block device to a client."
Re:Show HN: go-nbd – A Pure Go NBD Server and Client by znpy on Wednesday March 29, 2023 @03:00PM (#35361664)
how does nbd compare to, say, iSCSI ?

beyond likely being simpler to understand/manage, i mean.

Re:Show HN: go-nbd – A Pure Go NBD Server and Client by tptacek on Wednesday March 29, 2023 @03:15PM (#35361885)
It's much, much simpler than iSCSI, which is an advantage.

It's possibly more idiomatically Linux. But the Linux iSCSI initiator might (last I checked?) do a better job of utilizing the kernel block multiqueue interface than nbd, and thus might get higher I/O performance.

nbd is extremely simple to set up; iSCSI less so.

Re:Show HN: go-nbd – A Pure Go NBD Server and Client by duskwuff on Wednesday March 29, 2023 @05:22PM (#35363896)
SCSI was a fairly wide-ranging protocol, supporting anything from hard disks to CD recorders to document scanners, and iSCSI could theoretically encapsulate all of that. SCSI also came with a lot of historical quirks, like 6/10/12/16 byte addressing, which were progressively added as devices got larger and requirements got more complex. As a result, implementing software to interact with iSCSI is a pain, because there's simply so much legacy weirdness to deal with.

NBD is much more narrowly focused. It exposes a single block device to the kernel, with a minimal set of commands focused on that use case (e.g. read, write, trim, prefetch, etc). It doesn't do as many things as iSCSI, but that's probably for the better.

Re:Show HN: go-nbd – A Pure Go NBD Server and Client by alias_neo on Wednesday March 29, 2023 @03:09PM (#35361786)
Did nobody else learn to spell out an acronym the first time it's used?

I had heard of it, but I had to read "NBD" far too many times in that repo before I saw what it stood for.

Re:Show HN: go-nbd – A Pure Go NBD Server and Client by naikrovek on Wednesday March 29, 2023 @06:09PM (#35364539)
no one knows how to write or how to use hypertext properly anymore and it drives me nuts.
Re:Show HN: go-nbd – A Pure Go NBD Server and Client by asciii on Wednesday March 29, 2023 @11:03PM (#35367370)
Here I was thinking it's go "no big deal" server and client
Re:Show HN: go-nbd – A Pure Go NBD Server and Client by LouisSayers on Wednesday March 29, 2023 @11:45PM (#35367662)
I've always thought of it as common courtesy. It's super frustrating when you're reading something and thinking "great, but wtf are you actually going on about?"
Re:Show HN: go-nbd – A Pure Go NBD Server and Client by teenigma on Wednesday March 29, 2023 @04:19PM (#35362871)
Thanks. My first thought is Next Business Day, then follow by 'Why this thing need server/client?'
Re:Show HN: go-nbd – A Pure Go NBD Server and Client by zainhoda on Wednesday March 29, 2023 @06:40PM (#35364884)
My first thought was that it was a No Big Deal server akin to Python’s simple HTTP server
Re:Show HN: go-nbd – A Pure Go NBD Server and Client by emmelaich on Wednesday March 29, 2023 @07:50PM (#35365665)