microsoftarchive / redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
http://redis.io
Other
20.84k stars 5.38k forks source link

[2.8.2104] Standalone How to find good maxheap/maxmemory size #419

Open BoasE opened 8 years ago

BoasE commented 8 years ago

When having a stand alone server how do I know what is a good maxheap / maxmemory size setting ?

maxheap 3000mb
maxmemory 2000mb

We have about 600.000 keys in redis. The dump size is about ~1GB Currently our server always has about additional 15 gb free ram

Currently I feel like i do some kind of guess work the guidelines in the redisconfig files are good but still i don't feel that I can more then just guess.

any recommandations?