Limit resource usage by Badger


(Navjeet Sandhu) #1

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


(Manish R Jain) #2

This section is what you’re looking for: https://github.com/dgraph-io/badger#memory-usage