starla-results
Result management and upload for Starla.
Features
- Persistent Queue: SQLite-backed queue survives restarts
- Batch Upload: Efficient batching of multiple results
- Retry Logic: Exponential backoff for failed uploads
- Compression: Gzip compression with auto-negotiation
- Format Compatibility: Results match RIPE Atlas JSON schema
Usage
use ;
let config = ResultHandlerConfig ;
let handler = new.await?;
// Queue a result for upload
handler.queue_result.await?;
// Run the upload loop
handler.run.await?;
Components
- PersistentResultQueue: Durable storage for pending results
- ResultUploader: HTTP client for uploading to controller
- TimeSyncTracker: Tracks time synchronization for
ltsfield - AtlasResult: RIPE Atlas result format wrapper