What are the best practice options for in-memory db?
right now i’m using something like that:
opts := badger.DefaultOptions("").WithInMemory(true).WithCompression(options.None).WithMetricsEnabled(false).WithBlockCacheSize(0).WithLoggingLevel(badger.WARNING) db, err := badger.Open(opts)
Is that make any sense?
there is anything also i should set to get the best performance?