nginx-gateway-fabric icon indicating copy to clipboard operation
nginx-gateway-fabric copied to clipboard

Multiple Gateways - optimize reloading

Open sjberman opened this issue 7 months ago • 0 comments
trafficstars

As a followup to the multiple gateway support story, we need to optimize how many config reloads and messages we are sending to agent.

In the initial implementation, any change results in NGF updating and sending every config (even if it's irrelevant). We should only send configuration to agent if it's changed.

Acceptance

  • Only send configuration to agent if changed
  • Only call NGINX Plus API if upstreams have changed

Dev Notes

  • Check the updateNginxConf workflow section in the internal design doc for details on how we can do this
  • Process() no longer needs to return the ChangeType variable.

sjberman avatar Mar 27 '25 16:03 sjberman