Lightyear provides a bandwidth management system that allows you to specify priority for messages, channels, and entities. When the bandwidth quota is reached, lightyear prioritizes sending data with the highest priority values up to the available quota.
To prevent lower-priority entities from being completely starved of updates, their priority accumulates over time. This ensures that even low-priority data is eventually sent once its accumulated priority exceeds the threshold required to compete with higher-priority traffic.
In the context of component replication, you can use a PriorityMap (provided by Replicon) to control which component mutations are sent. Note that PriorityMap only affects component mutations; initial entity spawns are always sent immediately.