Home▸Biology & Life▸Offline Apiary Data Relay: Store-and-Forward Sync (2D)

📡🐝 Offline Apiary Data Relay: Store-and-Forward Sync (2D)

2D delay-tolerant-network lab: hive sensors buffer data offline, a mobile relay drains each hive during a timed stop and flushes everything at the signal mast — tune speed, data rate, buffer size, sync rate and dwell time to see delivery latency and data loss.

Biology & Life2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-beekeeping-without-signal-offline-field-tools-lab ↗ Open standalone

This 2D companion turns the 3D apiary round into a readable delay-tolerant-network diagram: hive nodes fill an amber ring as their local buffer accumulates sensor readings, a relay dot loops the route and drains each hive during a timed stop at a rate-limited sync speed, and the whole carried backlog flushes the moment it reaches the green signal-mast node. Six independent sliders — relay speed, apiary count, dwell time, data-generation rate, buffer capacity and sync transfer rate — let you push the system into two distinct failure modes: buffers too small for the round-trip time, or a sync stop too short to clear what a hive queued up, and watch delivery latency and data loss respond to each in real time.

⚙ Under the hood

A store-and-forward DTN model: each hive buffers timestamped records in a FIFO queue; a relay drains a hive's queue during a fixed dwell at min(queue, relay free space, xferRate·Δt) per step, and flushes its whole carried queue on returning to the signal mast, where delivery latency = t_delivered − t_generated for every record. Records generated when a hive's buffer is already full are dropped and counted as loss.

delay-tolerant networkingdata mulestore-and-forwardoffline syncapiaryrural connectivity

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install