OpenDDS / OpenDDS/OpenDDS

Batching samples with rtps_udp transport

Open
#636 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

advanced enhancement
Dominant language
C++
Stars
1.5k
Forks
516
Avg merge
4d 4h
Merged PRs (30d)
4

Description

I send a large number of small samples, all of which get sent as individual packets.

max_samples_per_packet has no effect for the following config:

[common]
DCPSGlobalTransportConfig=$file
DCPSDefaultDiscovery=DEFAULT_RTPS

[transport/the_rtps_transport]
transport_type=rtps_udp 
use_multicast=1
max_samples_per_packet=10

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the rtps_udp transport configuration and the handling of max_samples_per_packet, using the provided transport block as the reproduction case. Done means sending many small samples with max_samples_per_packet=10 produces batched packets rather than one packet per sample.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.