How to Handle Duplicate and Out-of-Order Punch Events
Real-time biometric attendance sounds simple: someone scans, your system receives an event, and you save it. In practice, attendance data is messier. The same event can arrive twice. An employee can tap the scanner two times in a row. A device that lost its connection can send a morning check-out in the afternoon. Someone…