openconfig / gnmi

gRPC Network Management Interface
Apache License 2.0
464 stars 196 forks source link

Under high CPU load - gNMI subscribe response NULL #183

Open raghubk opened 3 weeks ago

raghubk commented 3 weeks ago

When the device CPU is overloaded, is it ok to send NULL updates in gNMI responses? Or should gNMI Server close the existing RPCs under high CPU scenarios? Thus freeing up CPU cycles taken by gNMI server and other related modules, and make the CPU available to other critical functionality to continue.

Wondering what would be the preferred way to reduce the CPU cycles taken by gNMI server.