Skip to content

Commit

Permalink
Merge pull request #7173 from wazuh/fix/21862-cluster-async-communica…
Browse files Browse the repository at this point in the history
…tion

Remove agent info from the multiprocessing tasks list
  • Loading branch information
javimed committed Apr 8, 2024
2 parents e917ab3 + 521a6de commit f547b91
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/development/wazuh-cluster.rst
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,6 @@ Child processes are created when the parent `wazuh-clusterd` starts. They stay i
Master node
###########
* **Local integrity thread**: Calculates the hash of all the files to be synchronized. This requires high CPU usage.
* **Agent info thread**: A section of this task sends all the agents' information to the wazuh-db. The communication is done in small chunks so as not to saturate the service socket. This turned this task into a somewhat slow process and not a good candidate for asyncio.
* **Integrity thread**: Compressing files, which is done inside this task, is fully synchronous and can block the parent cluster process.

Worker nodes
Expand Down
Binary file modified source/images/development/cluster-process-pool.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f547b91

Please sign in to comment.