azure-container-networking
azure-container-networking copied to clipboard
fix/perf: [NPM] apply IPSets periodically and proper IPSet batching
- The DP will now apply IPSets in the background, either periodically or after reaching the max batch count.
- We already batch operations. Now we will batch our batches. Pod/Namespace controllers will be unaware of apply errors, yet they already do not handle these errors.
- Lock DP to solve some race conditions leading to temporarily incorrect state.
- Also, a controller doesn't need to apply changes if it makes none.