We would like to use membase to build a cache of complicate price calculations. Our problem is that we need to clear the cache for single product when the user changes prices and not the entire cache.
Product 1 | Parameters | Price 1
Product 1 | Parameters | Price 2
Product 2 | Parameters | Price 1
When the user changes the system prices for product 1 we need to clear the cache but not for product 2.
We are currently doing this in MySQL but this is resulting in a huge number of inserts (the cache table usually contains 3-5 million records) and in our tests membase is significantly faster.
Is there any way of doing this with membase?