samelhusseini / remoteclassroom

Virtual Classroom manager for remote teaching
https://remoteclass.school
Apache License 2.0
7 stars 3 forks source link

Use idempotent pattern for messages #46

Open sammysamau opened 6 years ago

sammysamau commented 6 years ago
  1. Request id from server. (may be retried by client)
  2. Set id => message (may be retried by client) Client can now, assume that has been received by server / retry, but can show user that it has been received..
  3. Server: return OK. (may be transactioned).