Limit resource usage by Badger

Hello,

I’m trying to use Badger for a light weight RESTful web service. There are constraints on how much memory the service is allowed to use. Can you please suggest how to update the options to limit the memory usage to a certain value say 1 GB? Would this severely impact the read/write performance?

Do you have any documentation on how to configure Badger based on read/write loads?

Thanks

This section is what you’re looking for: GitHub - dgraph-io/badger: Fast key-value DB in Go.