You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Currently, the process_ipv6 and process_ipv4 functions performs HTTP and TCP analyses sequentially. This can lead to performance bottlenecks, especially under high load when processing multiple packets. By running these analyses in parallel, we could significantly improve the overall performance.
Proposed Solution
Run the HTTP and TCP analyses in parallel using threads. Here’s a high-level plan:
Spawn two threads:
One for processing HTTP data.
One for processing TCP data.
Use thread-safe data structures like Arc<Mutex<>> for shared resources (tcp_cache and http_cache).
Combine the results of both threads once they complete.
The text was updated successfully, but these errors were encountered:
Description:
Currently, the process_ipv6 and process_ipv4 functions performs HTTP and TCP analyses sequentially. This can lead to performance bottlenecks, especially under high load when processing multiple packets. By running these analyses in parallel, we could significantly improve the overall performance.
Proposed Solution
Run the HTTP and TCP analyses in parallel using threads. Here’s a high-level plan:
The text was updated successfully, but these errors were encountered: