Skip to content

ros2_service_load_balancing

  • Software
  • Middleware
  • Library

A ROS 2 package that adds load balancing to ROS 2 services, so one service name can be served by several server instances.

Source on GitHub: github.com/Barry-Xu-2018/ros2_service_load_balancing (opens in a new tab). Facts read at commit a2b32fb (opens in a new tab).

Licenses

Code
Apache-2.0 (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit a2b32fb (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

What it does

  • A load balancing node sits in front of a service and forwards client requests to the servers behind it.
  • Three selection strategies are offered: round robin, fewest requests, and shortest average response time.
  • The discovery interval for finding service servers is configurable, defaulting to one second.
  • Servers join by remapping their service name to a unique name under load_balancing/<service>/.
  • Clients connect by remapping to the load balancing service name, so they need no changes.

Written by Robotheca from the project's README (opens in a new tab) at commit a2b32fb.

Getting started

Difficulty
Intermediate
Hardware it needs, as the project states it
A computer running ROS 2 (Jazzy or rolling are mentioned); no other hardware is stated.

Maintenance

Status
Maintained: a commit in the last 12 months
Newest commit
27 Oct 2025 on main
Latest release
None published on GitHub

Checked on GitHub on 16 Oct 2026.

Robots that can run it

No robot on Robotheca is linked to it yet. Links come from a robot's robot.yaml, from its dependency files read as text, or from Robotheca's editors.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.