Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:comet:introduction-to-comet [2018/02/17 00:23]
anastation468 [How push notification works]
en:comet:introduction-to-comet [2019/12/18 02:05] (current)
Line 23: Line 23:
 ====== Why PHP is not available in this case? ====== ====== Why PHP is not available in this case? ======
  
-Push notifications can be implemented by PHP, but PHP need to use more memory consumption and time rate, so server will be overload. Therefore, we recommend using specified tools.+Push notifications can be implemented by PHP, but PHP need to use more memory consumption and time rate, so server will be overloaded. Therefore, we recommend using specified tools.
  
 ====== Practical use of push notifications ====== ====== Practical use of push notifications ======
Line 35: Line 35:
   * Sending messages from server to specific user (by id);   * Sending messages from server to specific user (by id);
   * Sending messages from server to all subscribers;​   * Sending messages from server to all subscribers;​
-  * Determination all of online users (who active at this moment);+  * Determination all of online users (who are active at this moment);
   * Getting statistics by real-time about summary amount of online users.   * Getting statistics by real-time about summary amount of online users.