Newer Version Available
Push Technology
The information sent by the server is typically specified in advance. When using a PushTopic event, you specify the information that the client receives by creating a PushTopic with specific criteria. The client then subscribes to the PushTopic channel and is notified of events that match the PushTopic criteria. When using a platform event, you first define a platform event and its fields in Salesforce. Then you publish the platform event. The client subscribes to the platform event channel and gets notified of the published event message.
In push technology, the server pushes out information to the client after the client has subscribed to a channel of information. For the client to receive the information, the client must maintain a connection to the server (Salesforce). Streaming API uses the Bayeux protocol and CometD, so the client-to-server connection is maintained through long polling.