Skip to content

Commit

Permalink
Process flows more efficiency in network observer (#1940)
Browse files Browse the repository at this point in the history
* Process flows more efficiency in network observer

The network observer handles an in memory buffer of application and
transport level flow records and associated state that can be very
large. This changes how those collections are traversed for processing.
Previously the collections of flow state were copied on each reconcile
loop, resulting in high CPU and memory utilization. Now each reconcile
job limits itself to copying the relevant portions by using an iterator
and filters.

Signed-off-by: Christian Kruse <[email protected]>

* Reorganize and add flow reconcile tests

Signed-off-by: Christian Kruse <[email protected]>

---------

Signed-off-by: Christian Kruse <[email protected]>
  • Loading branch information
c-kruse authored Feb 10, 2025
1 parent 37ecf80 commit 0cc78af
Show file tree
Hide file tree
Showing 2 changed files with 492 additions and 170 deletions.
Loading

0 comments on commit 0cc78af

Please sign in to comment.