Vineyard Link Failure and Backup Delivery
Vineyard Link Failure and Backup Delivery
Which backup can carry the first packet?
Route recoveryVineyard route map
- Primary · 3 hops · 45 msS1 → A → B → GatewayPacket starts at S1 on the active primary
- Cached · 3 hops · 58 msS1 → F → G → GatewayStandby
- Cached · 4 hops · 62 msS1 → C → D → E → GatewayStandby
Cached recovery timing
- StopwatchReady at attempted A → B send
Vineyard route map
- Primary · 3 hops · 45 msS1 → A → B → GatewayPacket stalls at A · A–B broken
- Cached · 3 hops · 58 msS1 → F → G → GatewayStandby
- Cached · 4 hops · 62 msS1 → C → D → E → GatewayStandby
Cached recovery timing
- Stopwatch0 ms · Running: waiting for B → A ACK
- Stopwatch100 ms · Still running: detection complete
- Detection · 100 msExpected B → A ACK: Not observed before timeout
Vineyard route map
- Primary · 3 hops · 45 msS1 → A → B → GatewayA–B broken
- Cached · 3 hops · 58 msS1 → F → G → GatewayRejected · G at 35%, threshold 40%
- Cached · 4 hops · 62 msS1 → C → D → E → GatewayStandby
Cached recovery timing
- Stopwatch100 ms · Running: looking up cached routes
- Stopwatch105 ms · Still running: cache lookup complete
- Detection · 100 msExpected B → A ACK: Not observed before timeout
- Cache lookup · 5 msCandidates ranked by latency, then screened by battery.
Vineyard route map
- Primary · 3 hops · 45 msS1 → A → B → GatewayA–B broken
- Cached · 3 hops · 58 msS1 → F → G → GatewayRejected · G at 35%, threshold 40%
- Cached · 4 hops · 62 msS1 → C → D → E → GatewaySelected · All relays above 60%
Cached recovery timing
- Stopwatch105 ms · Running: first backup packet in transit
- Stopwatch167 ms · Stopped at first gateway receipt
- Detection · 100 msExpected B → A ACK: Not observed before timeout
- Cache lookup · 5 msCandidates ranked by latency, then screened by battery.
- First backup packet · 62 msGateway receives it. Stopwatch stops.
Modeled recovery time · 100 + 5 + 62 = 167 ms
Vineyard route map
- Primary · 3 hops · 45 msS1 → A → B → GatewayA–B broken
- Cached · 3 hops · 58 msS1 → F → G → GatewayRejected · G at 35%, threshold 40%
- Cached · 4 hops · 62 msS1 → C → D → E → GatewaySelected · All relays above 60%
Cached recovery timing
- Detection · 100 msExpected B → A ACK: Not observed before timeout
- Cache lookup · 5 msCandidates ranked by latency, then screened by battery.
- First backup packet · 62 msGateway receives it. Stopwatch stops.
Modeled recovery time · 100 + 5 + 62 = 167 ms
Putting Numbers to It · No-cache discovery breakdown
- Detection100 ms
- Four-hop route request and route reply (RREQ/RREP)8 s
- Total8.1 s
Vineyard route map
- Primary · 3 hops · 45 msS1 → A → B → GatewayA–B broken
- Cached · 3 hops · 58 msS1 → F → G → GatewayRejected · G at 35%, threshold 40%
- Cached · 4 hops · 62 msS1 → C → D → E → GatewaySelected · All relays above 60%
Cached recovery timing
- Detection · 100 msExpected B → A ACK: Not observed before timeout
- Cache lookup · 5 msCandidates ranked by latency, then screened by battery.
- First backup packet · 62 msGateway receives it. Stopwatch stops.
Modeled recovery time · 100 + 5 + 62 = 167 ms
Putting Numbers to It · No-cache discovery breakdown
- Detection100 ms
- Four-hop route request and route reply (RREQ/RREP)8 s
- Total8.1 s
Vineyard ledger · Expected overlap under the no-cache model
About 8 s per failure, 15 non-overlapping failures, and representative failure timing relative to sends every 5 min (300 s). 8 s / 300 s ≈ 0.0267 per failure, giving 0.4 expected overlapping sends per day.
- Full day · 288 sends0.14% expected overlap
- Work hours (8am–6pm) · 120 sends0.33% expected overlapAssumes all 15 failures occur in this window.
Vineyard route map
- Primary · 3 hops · 45 msS1 → A → B → GatewayA–B broken
- Cached · 3 hops · 58 msS1 → F → G → GatewayRejected · G at 35%, threshold 40%
- Cached · 4 hops · 62 msS1 → C → D → E → GatewaySelected · All relays above 60%
Cached recovery timing
- Detection · 100 msExpected B → A ACK: Not observed before timeout
- Cache lookup · 5 msCandidates ranked by latency, then screened by battery.
- First backup packet · 62 msGateway receives it. Stopwatch stops.
Modeled recovery time · 100 + 5 + 62 = 167 ms
Putting Numbers to It · No-cache discovery breakdown
- Detection100 ms
- Four-hop route request and route reply (RREQ/RREP)8 s
- Total8.1 s
Vineyard ledger · Expected overlap under the no-cache model
About 8 s per failure, 15 non-overlapping failures, and representative failure timing relative to sends every 5 min (300 s). 8 s / 300 s ≈ 0.0267 per failure, giving 0.4 expected overlapping sends per day.
- Full day · 288 sends0.14% expected overlap
- Work hours (8am–6pm) · 120 sends0.33% expected overlapAssumes all 15 failures occur in this window.
Fault-run record · Relays in motion
Use the deployment’s actual retry and queue/drop policy.
- Failure timing—
- Retry and queue/drop policy—
- Measured switchover time—
- Packet delivery on the alternate route—Record the first backup packet received at the gateway.
- Relay energy—
- Measured loss against the 2% targetAwaiting fault run
2% packet-loss verdict · Open pending the moving-relay fault run
Send along the primary
The sensor sends along the primary route while the device keeps alternate routes in its cache.
Technical boundaries. The stopwatch gives a modeled interval from the attempted send to first backup receipt. The no-cache overlap estimate assumes 15 non-overlapping failures with representative timing relative to periodic sends. The 2% loss verdict stays open until a moving-relay fault run records delivery under the deployment’s retry and queue policy.