Skip to content

Commit fee65f5

Browse files
Add docs about wasted traffic
Fixes #576 [static] Signed-off-by: Martin Florian <[email protected]>
1 parent 306a7bc commit fee65f5

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

docs/src/deployment/observability/metrics.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ Configuring a docker compose deployment to enable metrics
6464

6565
When using docker compose for the deployment, the metrics are enabled by default. These can be accessed at `http://validator.localhost/metrics` for the validator app and at `http://participant.localhost/metrics` for the participant.
6666

67+
.. _metrics_grafana_dashboards:
68+
6769
Grafana Dashboards
6870
++++++++++++++++++
6971

docs/src/deployment/traffic.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,37 @@ the validator app will
171171

172172
For configuring the built-in top-up automation, please refer to the :ref:`validator deployment guide <helm_validator_topup>`.
173173
Configuring alternative methods for buying traffic, e.g., using third-party services, exceeds the scope of this documentation.
174+
175+
.. _traffic_wasted:
176+
177+
Wasted traffic
178+
--------------
179+
180+
`Wasted traffic` is defined as synchronizer events that have been sequenced but will not be delivered to their recipients.
181+
Wasted traffic is problematic for validators because of traffic fees:
182+
it means that :ref:`traffic <traffic_accounting>` has been charged for a message that was ultimately not delivered.
183+
Not all failed submissions result in wasted traffic:
184+
wasted traffic only occurs whenever a synchronizer event is rejected after sequencing but before delivery.
185+
186+
Validator perspective
187+
+++++++++++++++++++++
188+
189+
Validator operators are encouraged to investigate failed submissions eagerly to avoid systemic causes for wasted traffic that are due
190+
to their individual configuration and/or the specific applications using their validators.
191+
The Splice distribution contains a :ref:`Grafana dashboard <metrics_grafana_dashboards>` about `Synchronizer Fees (validator view)` that can be helpful in addition to inspecting logs;
192+
see, for example, the `Rejected Event Traffic` panel there.
193+
194+
SV perspective
195+
++++++++++++++
196+
197+
SV operators are encouraged to monitor wasted traffic across all synchronizer members,
198+
as reported for example by sequencer :ref:`metrics <metrics>`,
199+
to avoid cases where misconfiguration incurs excessive monetary losses for validators.
200+
The Splice distribution contains a :ref:`Grafana dashboard <metrics_grafana_dashboards>` about `Synchronizer Fees (SV view)` that can be helpful,
201+
as well as an alert definition that focuses on validator participants.
202+
203+
Note that wasted traffic is less relevant for SVs themselves as SV components have unlimited traffic.
204+
Note also that SV mediators and sequencers waste traffic as part of their regular operation;
205+
they frequently use aggregate submissions where all composite submission requests beyond the aggregation threshold get discarded.
206+
All that said, should an SV component suddenly exhibit a significant increase in wasted traffic,
207+
this likely points to an actual issue that should be investigated.

docs/src/release_notes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ Upcoming
3636
walletPayments 0.1.13
3737
================== =======
3838

39+
- Docs
40+
41+
- Add documentation about :ref:`Wasted traffic <traffic_wasted>`.
3942

4043
0.4.12
4144
------

0 commit comments

Comments
 (0)