Aman Srivastava
Aman Srivastava

Reputation: 93

How does storage of old events affect performance in esper?

How does storage of old events affect the performance in esper? For eg - What is the effect on performance if we store 10 old events and how will the performance change if we store 100 old events. Will there be any change? I want to know the memory usage in esper. Where do the old events get stored?

Upvotes: 0

Views: 104

Answers (1)

goodie
goodie

Reputation: 364

Engine retains events in memory only when EPL has one of these:

  • a data window
  • a EPL pattern
  • a match recognize pattern

When event falls out of data window or pattern the JVM can garbage collect it. Store is memory for Esper and other places for EsperHA.

Upvotes: 2

Related Questions