ROS 2 Service Load-Balancing
Start 10 service clients
Open another terminal, run the this script
$ cat run_clients.sh
for i in {1..10}
do
ros2 run demo_nodes_cpp add_two_ints_client_async --ros-args -r add_two_ints:=load_balancing/add_two_ints &
done
You will see logs that 5 requests have been received in the two terminals running the service server.