What are Memcached buckets for?

Having the memcached bucket option sorta kills 2 birds with 1 stone.

  1. The Couchbase SDK is already installed on the application and talks MEMCACHED speak GET(), SET().

  2. You need a “CACHE” bucket with items with TTL’s of a few seconds to 25minutes and you don’t want to manage another set of memcached servers.

I found that using a small “CACHE” bucket for view query results helps out alot. You can do stale=true on the views … but memcached GET() is always faster.