Push notification architecture
Overview
You can create an Peristent Mobile Foundation push notification architecture using the enterprise back-end calling method, in which an enterprise back end uses a Persistent Mobile Foundation adapter to deliver messages to a PMF Server cluster.
This architecture relies on the enterprise back-end system to deliver messages to a PMF Server cluster by calling push REST APIs.
With this architecture, the flow is as follows:
- The request is routed to one of the PMF Server instances, which sends a push message to a provider.
- In this flow, all PMF Server instances can send push notifications, but for a specific request only one of the server instances performs the task.
- The enterprise back-end initiates calls to the load balancer.
The advantage of this method are that all PMF Server can be used to send push notifications, so you can add more servers if you must send more messages per second. The disadvantage of this method is that every push message is a transaction on the PMF Server. You can mitigate this overhead by sending a number of messages together or by having the Persistent Mobile Foundation adapter procedure that is invoked call the back-end for a batch of messages rather than single messages.
▲