ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Gura <ag...@gridgain.com>
Subject Re: Ignite - CEP
Date Mon, 25 Jul 2016 05:14:40 GMT

You can configure indexes for you entities that will take in account entity
creation time. Then you can periodically query cache data using SQL query
with time bounds (last 10 minutes). But be aware that in case of big
frequency of adding entries into the cache memory could be exhausted.

On Sun, Jul 24, 2016 at 8:44 PM, M Singh <mans2singh@yahoo.com> wrote:

> Hi:
> I am trying to understand how CEP works in Ignite and from my
> understanding, we need to create a sliding window with time (or some other
> criteria) based eviction policy.  At the expiration of the policy the entry
> will be removed from the cache.
> I wanted to find out if there is a way to still keep the item in the cache
> but still allow a sliding window without using the eviction policy.  The
> scenario I have is that I would like to query say the top 5 items in last
> 10 minutes but sill be able to query the the query the previous windows.
> Thanks
> Mans

Andrey Gura
GridGain Systems, Inc.

View raw message