TF-3157 Implement web socket push
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# 53. Web socket data synchronization
|
||||
|
||||
Date: 2024-11-10
|
||||
|
||||
## Status
|
||||
|
||||
Accepted
|
||||
|
||||
## Context
|
||||
|
||||
- Currently Twake Mail web use Firebase Cloud Messaging to sync data on real time
|
||||
- JMAP already implemented web socket push, which is more optimized for web
|
||||
|
||||
## Decision
|
||||
|
||||
- Web socket is implemented for real time update data for Twake Mail web
|
||||
- Service worker is implemented for background tasks, helping web socket working in background
|
||||
|
||||
## Consequences
|
||||
|
||||
- Twake Mail web now no longer depends on Firebase Cloud Messaging, using web socket to update users' latest data
|
||||
Reference in New Issue
Block a user