In some situation, I may need to invalidate a group of cache entries from memcached. The memcached looks like can't offer that function. Do you have solution on this?
Will, there are a few ways to accomplish this. By using prefixes on your key (xxx_keyname) you can then implement your application to delete those keys from the cache. If you don't know the specific names, Membase will allow you to iterate over all the keys and then you can perform a regular expression or other matching to find the keys or values that you want and then feed that back to an application to delete them.
Using Membase, you'll want to look at our TAP mechanism ([url]http://github.com/northscale/ep-engine/blob/master/management/tap.py[/url]). We'll be adding more support for performing these types of queries and operations in the code, but the TAP is available today.
Hope that helps, let me know if there's anything else I can do for you.
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overviewCall or email "sales -at- membase -dot- com" today!
I was trying to understand what "TAP mechanism" or "TAP interface" is? What's the exact meaning of the "TAP" keyword? What's that for?
"TAP" doesn't actually stand for anything...it refers to the ability to tap into a server for the purpose of streaming out all data. It can act in a few different modes: send all data that a server has, send all data from a certain point on, and/or continuously send future updates.
This is the mechanism that we use for our replication/rebalancing and we will also be using it to build indexing and querying on top of Membase.
Out of the box today, you can run the tap.py script against a Membase server and it will begin sending all the keys and values.
I've got it. Thanks!
© 2013 COUCHBASE All rights reserved.