Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Agent performance improvements #5281

Merged
merged 5 commits into from Mar 16, 2021
Merged

Conversation

k-wall
Copy link
Member

@k-wall k-wall commented Mar 14, 2021

Type of change

  • Refactoring

Description

Small performance improvements to the Agent around connection/address registry to lower CPU utilisation.

Checklist

  • Update/write design documentation in ./documentation/design
  • Write tests and make sure they pass
  • Update documentation
  • Check RBAC rights for Kubernetes / OpenShift roles
  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally
  • Reference relevant issue(s) and close them after merging
  • Update CHANGELOG.md

avoids the need for repetitious JSON based equality comparison once a object is found to be updated.
cryptographic secrity is not a requirement, so the extra computational overhead can be avoided.
@k-wall
Copy link
Member Author

k-wall commented Mar 14, 2021

Whilst working on #5226 (which I decided not to take forward) I noticed a few areas of agent's connection/address that could be optimised for (slightly) better performance/lower CPU utilisation.

Copy link
Contributor

@rgodfrey rgodfrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@k-wall k-wall merged commit d1cdf70 into EnMasseProject:master Mar 16, 2021
k-wall added a commit that referenced this pull request Mar 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants