是否有允许标记内容的分布式缓存系统? [英] Any distributed cache systems that allows for tagging content?

查看:87
本文介绍了是否有允许标记内容的分布式缓存系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有诸如memcached,speed或sharedcache之类的任何分布式缓存系统,它们可以让我不仅使用名称来标记内容,还可以将项目彼此关联,所以如果我使缓存无效一项也会使相关项失效.

I'd like to know if there is any distributed cache systems like memcached, velocity or sharedcache that allows me to tag content with more than just it's name, or that can relate items to eachother, so if i invalidate the cache for one item it also invalidates the related items too.

例如如果我有两个引用相同数据且数据更改的页面,那么我希望这两个引用页面的缓存无效.

eg. if i have two pages that reference the same data and that data changes, i'd like the cache for the two referencing pages to invalidate.

    还是这是乞讨项目之一的补充? :)
  • or is this an addition to one of those projects begging to be developed? :)

我在asp.net上

推荐答案

Velocity支持标记,其中每个标记都是字符串.可以通过标签或多个标签(例如)来检索对象. 调味品"和免费送货".

Velocity has support for tagging where each tag is a string. Objects can be retrieved by a tag or by multiple tags e.g. 'Condiment' AND 'Free Delivery'.

但是Velocity不支持依赖关系-IIRC Velocity团队曾表示依赖关系将不在v1中.

However Velocity has no support for dependencies - IIRC the Velocity team have said dependencies will not be in v1.

这篇关于是否有允许标记内容的分布式缓存系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆