Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
JulianMorrison
· 13y ago · 0 comments
Can it be run in-process from Go as a library?
Comments
[–]
zond
13y ago
Yes, look at
https://github.com/zond/commendable
which is a real life project I am basing on god (as an exercise, showcase and test run).
[–]
JulianMorrison
OP
13y ago
And also, can it be run in diskless mode (no logging, no snapshotting)?
[–]
zond
13y ago
Yes, it isn't documented (for some reason, I must have forgot) but
https://github.com/zond/god/blob/master/dhash/dhash.go#L109
shows how the empty string as persistence directory will avoid any persistence.