questions about couchbase.
Hi,
I'm using couchbase server 2.0 preview and confused about some questions.
1. Does the key with expired time be persisted to disk?
I set a key 'key1' expired in 30 seconds and restart the couchbase server before 'key1' expired.
When server started, 'key1' can be retrived, and never expired anymore. However I expected couchbase
should not only save the value but also the expired info.
2. Should we create another memcached type bucket just for the keys with expired time?
To avoid these keys persisting forever as above.
3. I confused about how couchbase works for hot and cold data?
Our previous project use mysql as a storage. So we first get data from memcache, when missed,then mysql.
4. When bucket RAM quota runs out, should the old data be swapped from RAM to disk?
Does couchbase hold all data in memory just like redis?
Should anyone give me some suggestions using couchbase in practise, Thanks a lot.
Hi ismtlee,
Thanks for your report. 1/2 seem like a bug, I raised an issue here: http://couchbase.org/issues/browse/MB-4362
Cheers
Jan
--
Thanks, jan.
Issue 1 has been resolved. I just tested on cb server version 1.8.0 & php client with version 1.1.0-dp1.
Ya, issue3 and 4 can get the answer here: http://www.couchbase.org/wiki/display/membase/Growing+Data+Sets+Beyond+M...