Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce "Agents preview" load time #1687

Merged
merged 3 commits into from
Aug 21, 2019
Merged

Reduce "Agents preview" load time #1687

merged 3 commits into from
Aug 21, 2019

Conversation

jesusgn90
Copy link
Contributor

Hi team,

Blocked by: wazuh/wazuh-api#429 and wazuh/wazuh#3842, please do not merge it until both of them are merged.

With this change, we are reducing the load time for "Agents preview" section. Before this change, it was sending 1 request to our backend, and then it was sending 6 parallel requests from the backend to the Wazuh API. Now it's sending 1 request to our backend and 1 request to the Wazuh API.

Load time has been reduced then about x5 times.

Regards,
Jesús

@jesusgn90 jesusgn90 merged commit fed2183 into 3.10-7.3 Aug 21, 2019
@jesusgn90 jesusgn90 deleted the improve-agents-stats branch August 21, 2019 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant