Stock Synchronization Engine
A resilient sync layer that keeps branch POS databases aligned with cloud inventory — bridging SQL Server and PostgreSQL.
Stale branch stock
On-premise POS databases and cloud dashboards drifted apart. Manual exports meant wrong allocations and overnight surprises.
Scheduled sync service
A Windows service reads incremental changes from SQL Server, transforms payloads, and posts them through a REST API into PostgreSQL with retries and idempotent keys.
Near real-time alignment
Branch sales and stock levels appear in cloud dashboards without spreadsheet consolidation — even after brief outages.
Architecture
One-way and configurable sync paths between retail POS databases and cloud reporting stores.
Interface overview
Replace frames with screenshots in assets/images/projects/stock-sync-*.png.
Tech stack & highlights
C# Windows Service, SQL Server, PostgreSQL, REST API, retry queues.
- Incremental change detection from POS databases
- Idempotent ingestion to avoid duplicate stock moves
- Retry and dead-letter handling for API downtime
- Foundation for supplier visibility and allocation