yanet-platform / yanet

A high performance framework for forwarding traffic based on DPDK
Other
165 stars 17 forks source link

[Monitoring] Consider shm as a counter values transfer media #66

Open GeorgyKirichenko opened 8 months ago

GeorgyKirichenko commented 8 months ago

Currently YANET uses a unix socket to exchange counter values between cli, ControlPlane and DataPlane. The method involves a query that is answered with a sequence of corresponding values, which results in relatively high consumption of CPU cycles and memory and appears excessive if only a few values are required.

Since we have had success passing data through shared memory as a dump, I would like to suggest considering the following counter monitoring scheme: