Enhancement #1054

"auto" server mode is inefficient

Added by J. Moringen over 11 years ago. Updated almost 9 years ago.

Status:NewStart date:07/02/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Protocol
Target version:rsb-1.0

Description

Currently the "auto" server mode is implemented as follows:

  1. Maybe act as server
    1. If there is a bus server object for the endpoint, use it
    2. If not, try to open a listen socket (for the configured endpoint) *
  2. Maybe act as client
    1. If there is a bus client object the end point, use it
    2. if not, try to connect to a listen socket (for the configured endpoint) *

The operations marked with "*" are potentially expensive (due to nameserver queries etc.).

When a process acts as client, steps 1.1, 1.2 and 2.1 are repeated for each created participant.


Related issues

Related to Robotics Service Bus - Bug #1488: Socket transport between cpp and cl mostly fails on mac Resolved 05/07/2013
Related to Robotics Service Bus - Enhancement #1550: "Auto" mode of the socket transport should be smarter New 06/25/2013

History

#1 Updated by J. Moringen almost 11 years ago

  • Target version changed from rsb-0.9 to rsb-0.10

#2 Updated by J. Moringen over 10 years ago

  • Target version changed from rsb-0.10 to rsb-0.11

#3 Updated by J. Moringen about 10 years ago

  • Target version changed from rsb-0.11 to rsb-0.12

#4 Updated by J. Moringen almost 9 years ago

  • Target version changed from rsb-0.12 to rsb-1.0

Also available in: Atom PDF