Replies: 1 comment
-
@LeoDuda thank you very much for brining this up! We will enhance our documentation on this. Meanwhile, please find below explanation: Command: list_poolsStats pools collect real-time performance statistics of the cell net. There are two types of stats pools: histogram pools and counter pools. Hist pools are mainly used for time-based measurement: how many messages are processed within time ranges. They are also used for measuring message sizes: how many messages are within defined size ranges. Counter pools are used to keep counters: how many different types of errors have happened. The system predefined many pools. The “list_pools” command shows all defined pools.
Command: show_poolWith this command, you can show the details of a specified pool on a target cell.
Examples
The msg_travel is an important pool that shows, from the target cell’s perspective, how fast messages travel to it. The CATEGORY column encodes the types of the message: <from_cell_fqcn>#<msg_type>:<msg_channel>:<msg_topic> For example, the category “blue.2793f5d8-70e4-4dc8-888b-2f23df8c97cb#req:server_command:get_task” count - count (the default) |
Beta Was this translation helpful? Give feedback.
-
Python version (
python3 -V
)3.8
NVFlare version (
python3 -m pip list | grep "nvflare"
)2.4.0rc7+187.g56c9c4d2
NVFlare branch (if running examples, please use the branch that corresponds to the NVFlare version,
git branch
)2.4
Operating system
MacOS 14.5
Have you successfully run any of the following examples?
Please describe your question
Hello,
I am trying to somehow track the communication time between clients and server, and also just between clients when using decentralized approaches like Swarm Learning. I am aware of the admin commands 'list_pools' and 'show_pool' and also reading from 'stats_pool_summary.json' which I don't find that trivial to understand. Is there something I haven't found yet that would help me getting those statistics? Thanks a lot.
Best,
Leo
Beta Was this translation helpful? Give feedback.
All reactions