skydive-project / skydive

An open source real-time network topology and protocols analyzer
https://skydive.network
Apache License 2.0
2.68k stars 404 forks source link

Improve subgraph performance with persistent backends #2391

Closed adrianlzt closed 3 years ago

adrianlzt commented 3 years ago

Do just one call to get all the edges for the given nodes, instead of one call for each node.

This new call has been added as a new method to Graph and Backends. GetNodesEdges, return the list with all edges for a list of nodes.

Batching is used to avoid hitting the max number of clauses set by ES (is set to the default value of 512).

lebauce commented 3 years ago

run functional-tests-backend-orientdb run ovn-k8s-tests

lebauce commented 3 years ago

run functional-tests-backend-orientdb

lebauce commented 3 years ago

run functional-tests-backend-orientdb

lebauce commented 3 years ago

run functional-tests-backend-orientdb

lebauce commented 3 years ago

run functional-tests-backend-orientdb