Can couchbase run in good performance with low memory system?
Sun, 11/04/2012 - 04:00
Can couchbase continue to work even when their is a limited amount of memory, less than the optimal for best performance?
I am asking that because buying high-memory instances is expensive. I wonder how much it impacts the performance. With MySQL I know that I can go with 1:5 (ram/capacity) and it will still work with relatively good performance.
Thanks.
How much memory are you planning on using?
There are two things to keep in mind here. The first is that Couchbase stores all of it's meta data in memory so you will be limited to the amount of keys you can store. Second, the less memory you have the more you will need to read from disk so your latency will become limited by your disk speed.
*EDIT: If I were using Couchbase I would use at least a medium ec2 instance for production, but for development you can probably get away with a micro instance, but since micro instances have limited resources I wouldn't a lot in terms of performance.