Skip to content

AxonOps — AI-Native Control Plane for Open Source Data Platforms

nodetool setinterdcstreamthroughput

Sets the inter-datacenter stream throughput limit.


Terminal window
nodetool [connection_options] setinterdcstreamthroughput [options] <throughput>

See connection options for connection options.

nodetool setinterdcstreamthroughput modifies the maximum throughput for streaming between datacenters. This is useful for controlling WAN bandwidth usage during cross-datacenter operations.


OptionDescription
-m, --mibInterpret the throughput value as MiB/s instead of Mb/s
-e, --entire-sstable-throughputSet the entire-SSTable inter-DC streaming throughput

ArgumentDescription
throughputMaximum throughput. Default unit is megabits per second (Mb/s). Use -m for MiB/s. Set to 0 to disable throttling.

Unit Clarification

By default, the argument is in megabits per second (Mb/s), not megabytes. For example:

  • nodetool setinterdcstreamthroughput 200 = 200 Mb/s = ~25 MiB/s
  • nodetool setinterdcstreamthroughput -m 25 = 25 MiB/s = ~200 Mb/s

cassandra.yaml Parameter

The corresponding cassandra.yaml parameter changed in 4.1:

Cassandra VersionParameter NameExample
Pre-4.1inter_dc_stream_throughput_outbound_megabits_per_sec200
4.1+inter_dc_stream_throughput200Mb/s or 24MiB/s

Terminal window
# Set to 50 Mb/s (~6 MiB/s)
nodetool setinterdcstreamthroughput 50
Terminal window
# Set to 25 MiB/s using the -m flag
nodetool setinterdcstreamthroughput -m 25
Terminal window
# Set to 200 Mb/s (~25 MiB/s)
nodetool setinterdcstreamthroughput 200
Terminal window
# Set to 0 for unlimited throughput
nodetool setinterdcstreamthroughput 0
Terminal window
# Set entire-SSTable inter-DC streaming throughput
nodetool setinterdcstreamthroughput -e 200

Terminal window
# Limit during business hours (25 Mb/s)
nodetool setinterdcstreamthroughput 25
# Increase during off-peak (100 Mb/s)
nodetool setinterdcstreamthroughput 100
Terminal window
# Increase for faster rebuild (150 Mb/s)
nodetool setinterdcstreamthroughput 150
nodetool rebuild -- dc2
Terminal window
# Set to 10 MiB/s (clearer unit)
nodetool setinterdcstreamthroughput -m 10
# Set to 50 MiB/s during maintenance
nodetool setinterdcstreamthroughput -m 50

CommandRelationship
getinterdcstreamthroughputView current setting
setstreamthroughputIntra-DC throughput