Membase re-reading data into memory
I'm currently setting up membase to serve our user's avatar images. There are approximately 500gb of images.
I've set the RAM quota to 2GB, and disk space unlimited (the box has 1.5T diskspace available). After this avatars project is live I plan to move the session handler to membase, change it into a cluster of at least 2 machines with commercial support.
I have 2 questions:
1) What should I set HIGH and LOW memory to?
2) What happens when an entry is read from disk, in what cases will and will it not be stored in memory? Will it be stored at all?
I must say it was a bit annoying to notice that these memory settings cannot be set in the web interface, I supposed these values would have some smart defaults. Half way finished my script to import these files from filesystem stop inserting them due to 'RAM FULL' error message.