You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please direct me on how I might adjust the Hello World to have a small but operational foot-print?
The most obvious thing was the 1.2 Gigs of disk space used by 4 nodes right after start-up. Each of the 4 nodes takes up over 250MB and that must be the reason why it give me a sluggish first-impression.
Maybe it is simply adding a few parameters here and re-compiling?
I'm not sure how to apply this though. It does not compile when I try these settings below in the config block above.
// GetTinyMemLogDBConfig returns a LogDB config aimed for minimizing memory// size. When using the returned config, LogDB takes up to 256MBytes memory.funcGetTinyMemLogDBConfig() LogDBConfig {
cfg:=getDefaultLogDBConfig()
cfg.KVWriteBufferSize=4*1024*1024cfg.KVMaxWriteBufferNumber=4returncfg
}
Could you please direct me on how I might adjust the Hello World to have a small but operational foot-print?
The most obvious thing was the 1.2 Gigs of disk space used by 4 nodes right after start-up. Each of the 4 nodes takes up over 250MB and that must be the reason why it give me a sluggish first-impression.
Maybe it is simply adding a few parameters here and re-compiling?
dragonboat-example/helloworld/main.go
Lines 156 to 157 in d343e50
I'm not sure how to apply this though. It does not compile when I try these settings below in the config block above.
GetTinyMemLogDBConfig
Maybe add a link for this: "See GoDoc for all available options"
Thank you!
The text was updated successfully, but these errors were encountered: