How It Works

One pipeline from device to dashboard.

Four stages move your transaction data from the depot floor to a unified cloud — resilient to outages at every step.

01
Desktop Agent

Install at the depot.

The Windows agent runs in the background at boot, polling connected Microload and Accuload devices every 10 seconds. No port exposure, no tunneling — it reads devices over their local serial or network port.

WindowsAuto-startBackground service
02
Local Storage

Capture locally. Always.

Each reading is normalized into the unified schema and written to a local SQLite database with a sync queue. If the internet is down, capture continues uninterrupted and the queue simply grows.

SQLiteNormalizedQueue-based
03
Sync Engine

Sync when online.

Every 5 seconds, when connectivity is available, the engine pushes pending records to the cloud. Responses are handled idempotently — created, processed, or already-exists all resolve cleanly, and failures stay queued for retry.

5s intervalIdempotentAuto-retry
04
Cloud Dashboard

See everything.

The cloud deduplicates on machineId + transactionId and stores the durable record in PostgreSQL. Your web dashboard shows live machine status, transaction history, sync health, and analytics across every depot.

PostgreSQLDeduplicatedMulti-depot

Sync Response Handling

Idempotent by design.

The agent interprets every cloud response deterministically. Duplicates are never re-sent; failures never get dropped.

ResponseMeaningAgent Action
201CreatedMark synced
200OK / processedMark synced
409Already existsMark synced
500Failure / timeoutKeep pending