Technique for estimating the size of an in-memory cache
    1.
    发明申请
    Technique for estimating the size of an in-memory cache 失效
    用于估计内存中缓存大小的技术

    公开(公告)号:US20100005266A1

    公开(公告)日:2010-01-07

    申请号:US12165975

    申请日:2008-07-01

    IPC分类号: G06F12/00

    摘要: This Sampling Object Cache System (“SOCS”) estimates the size of an in-memory heap-based object cache without the need to serialize every object within the cache. SOCS samples objects at a user-determined rate and then computes a “sample size average” for each type of class-whether a top class, type of top class or non top class. Using these sample size averages, a statistically accurate measure of the overall size of the cache is calculated by adding together the total size of the objects in the cache for each class type.

    摘要翻译: 此采样对象缓存系统(“SOCS”)估计内存堆内对象缓存的大小,而无需序列化高速缓存中的每个对象。 SOCS以用户确定的速率对对象进行采样,然后针对每种类型的类来计算“样本大小平均值” - 无论是顶级类,顶级类还是非顶级类。 使用这些样本大小平均值,通过将每个类类型的缓存中的对象的总大小相加,计算出缓存总体大小的统计学上精确的度量。

    Method and system for proactively monitoring the coherency of a distributed cache
    2.
    发明授权
    Method and system for proactively monitoring the coherency of a distributed cache 有权
    用于主动监视分布式缓存的一致性的方法和系统

    公开(公告)号:US07853688B2

    公开(公告)日:2010-12-14

    申请号:US11745152

    申请日:2007-05-07

    IPC分类号: G06F15/173 G06F17/00

    摘要: A method of proactively monitoring the coherency of distributed cache. A cache comparison utility selects a set of cache keys from a replica cache connected to a main cache via a network. The cache comparison utility selects a first cache key from the set of cache keys and fetches a first cache value from the replica cache that corresponds to the first cache key. The cache comparison utility generates a first checksum value corresponding to the first cache value and the first cache key and stores the first checksum value in a first checksum table. The cache comparison utility creates a first total checksum value that corresponds to the first checksum table and compares the first total checksum value with multiple total checksum values that correspond to the main cache and one or more additional replica caches, thereby identifying replica caches that are not identical to the main cache.

    摘要翻译: 一种主动监控分布式缓存的一致性的方法。 缓存比较实用程序通过网络从连接到主缓存的副本缓存中选择一组缓存密钥。 高速缓存比较实用程序从该组缓存密钥中选择第一高速缓存密钥,并从对应于第一缓存密钥的副本缓存中提取第一高速缓存值。 高速缓存比较实用程序生成与第一高速缓存值和第一缓存密钥对应的第一校验和值,并将第一校验和值存储在第一校验和表中。 高速缓存比较实用程序创建对应于第一个校验和表的第一个总校验和值,并将第一个总校验和值与对应于主缓存和一个或多个其他副本高速缓存的多个总校验和值进行比较,从而识别不是的副本缓存 与主缓存相同。