buildbarn/bb-storage
View on GitHub ↗ ★ 199 Go
Storage daemon, capable of storing data for the Remote Execution protocol
4 mentions on Hacker News by 1 person: 0 stories, 4 comments · first 2019-08-04 · latest 2021-01-11
20082026
-
…I/O failures, file truncation, etc.. Here's some code I wrote some time ago that does exactly this: https://github.com/buildbarn/bb-storage/blob/c346ca331930f1b...
comment by EdSchouten · 2021-01-11 · in Discovering and exploring mmap using Go -
…exactly this, because I also got bitten by this more often than I would like: https://pkg.go.dev/github.com/buildbarn/bb-storage/pkg/atomi... Now I don't need to worry about that problem anymore. It's annoying that the Go developers focus…
comment by EdSchouten · 2021-01-03 · in I want off Mr. Golang's Wild Ride (2020) -
…You should use timers instead. In the end I resorted to writing my own set of interfaces. Code: https://github.com/buildbarn/bb-storage/tree/master/pkg/cloc... Documentation: https://pkg.go.dev/github.com/buildbarn/bb-storage/pkg/clock
comment by EdSchouten · 2020-05-25 · in Mocking time and testing event loops in Go -
…standard library functions at runtime. I did that within a project of mine, written in Go: https://github.com/buildbarn/bb-storage/blob/master/pkg/file... https://github.com/buildbarn/bb-storage/blob/master/pkg/file... Pretty slick that I…
comment by EdSchouten · 2019-08-04 · in Why a mock doesn’t work