Context-sensitive caching
    1.
    发明授权
    Context-sensitive caching 失效
    上下文相关缓存

    公开(公告)号:US06886077B2

    公开(公告)日:2005-04-26

    申请号:US10026388

    申请日:2001-12-21

    IPC分类号: G06F12/08

    CPC分类号: G06F12/0888 G06F12/0875

    摘要: A method of caching contextually variant objects in a common cache. The method can include identifying an object type for a requested object and determining whether the requested object has an object type which is specified among an enumerated set of cacheable object types which can be stored in the common cache. Importantly, each cacheable object type can have an associated context. If the requested object has an object type which is specified among the enumerated set of cacheable object types, a cache key can be computed for the requested object using cache key formulation rules for the associated context. Finally, the requested object can be retrieved from the common cache using the formulated cache key. Notably, in one aspect of the invention, the method also can include the step of invalidating individual objects in the common cache according to corresponding cache policies of associated contexts.

    摘要翻译: 在公共缓存中缓存上下文变体对象的方法。 该方法可以包括识别所请求对象的对象类型,并且确定所请求对象是否具有可以存储在公共高速缓存中的可列举的可缓存对象类型集合中指定的对象类型。 重要的是,每个可缓存对象类型可以具有关联的上下文。 如果所请求的对象具有在可列举的可缓存对象类型集合中指定的对象类型,则可以使用用于相关联的上下文的缓存关键字公式规则来针对所请求的对象来计算缓存密钥。 最后,可以使用配置的缓存密钥从公共高速缓存中检索所请求的对象。 值得注意的是,在本发明的一个方面中,该方法还可以包括根据相关联的上下文的相应高速缓存策略使公用高速缓存中的各个对象无效的步骤。

    Context-sensitive caching
    2.
    发明授权
    Context-sensitive caching 失效
    上下文相关缓存

    公开(公告)号:US07334087B2

    公开(公告)日:2008-02-19

    申请号:US11053106

    申请日:2005-02-08

    IPC分类号: G06F12/02

    CPC分类号: G06F12/0888 G06F12/0875

    摘要: A method of caching contextually variant objects in a common cache. The method can include identifying an object type for a requested object and determining whether the requested object has an object type which is specified among an enumerated set of cacheable object types which can be stored in the common cache. Importantly, each cacheable object type can have an associated context. If the requested object has an object type which is specified among the enumerated set of cacheable object types, a cache key can be computed for the requested object using cache key formulation rules for the associated context. Finally, the requested object can be retrieved from the common cache using the formulated cache key. Notably, in one aspect of the invention, the method also can include the step of invalidating individual objects in the common cache according to corresponding cache policies of associated contexts.

    摘要翻译: 在公共缓存中缓存上下文变体对象的方法。 该方法可以包括识别所请求对象的对象类型,并且确定所请求对象是否具有可以存储在公共高速缓存中的可列举的可缓存对象类型集合中指定的对象类型。 重要的是,每个可缓存对象类型可以具有关联的上下文。 如果所请求的对象具有在可列举的可缓存对象类型集合中指定的对象类型,则可以使用用于相关联的上下文的缓存关键字公式规则来针对所请求的对象来计算缓存密钥。 最后,可以使用配置的缓存密钥从公共高速缓存中检索所请求的对象。 值得注意的是,在本发明的一个方面中,该方法还可以包括根据相关联的上下文的相应高速缓存策略使公用高速缓存中的各个对象无效的步骤。