dustin-decker / threatseer

efficient linux security monitoring
Apache License 2.0
25 stars 4 forks source link

use LRU cache with max count and expiry for tracking profiling in Profile Engine #12

Closed dustin-decker closed 6 years ago

dustin-decker commented 6 years ago

In the current state short-lived entities that never complete their profile never get evicted from the cache. Use a LRU cache with max count and expiry to keep memory under control and automatically purge entities that will never be fully profiled.