I'm working on a project which will develop a middleware service that should provide live updates for a specific mobile app we are also developing. Our current approach to get notifications about an source update to the app is to use push notifications (apples ASN & googles gcm/fcm) when the app is in background mode, web sockets when the app is in foreground and a REST api to get the date from the middleware to the device. The middleware should be a loose coupled system (run autonomously from the outlets) which parses the backend sources. If there is any state change the "parser system" will push this updates into a cue which feeds the push/web socket/REST outlets.
Is there a specific name for this design pattern where I can read up on about implementation suggestions, drawbacks or something similar? Is there a better approach to do this?
Aucun commentaire:
Enregistrer un commentaire