Created
April 23, 2011 23:05
-
-
Save jdmaturen/939068 to your computer and use it in GitHub Desktop.
Riak resource allocation (rough expansion)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # of keys: 10,000,000 | |
| size of key: 60bytes (40bytes bitcask + 20bytes for name) | |
| bounded size of each value: 1k | |
| # of active items (usually per day): 1,000,000 (of course how you determine this number is up for grabs, I suggest measuring) | |
| RF: 3 | |
| 130% * (1k * 1mm * 3) / 1024**3 ~= 4GB for filesystem cache | |
| 130% * (10mm * 60b * 3) / 1024**3 ~= 2GB+ for key space | |
| so on a 4 node cluster, per node: 1GB for fs cache, >512MB for key space, + OS and of course room to grow if these numbers are not static. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment