Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Your choices are fairly binary:</p> <ol> <li>Use push notification</li> <li>Use Polling</li> </ol> <p>With Push Notification:</p> <ul> <li>You control when you contact your users... Heavy Load means you can slow updates down to avoid taxing your infrastructure</li> <li>Contrariwise, you have to push to clients that may not even be there anymore (And thus may need some sort of register model), high load may mean that clients don't get immediate update </li> <li>You can leverage things like <a href="http://aws.amazon.com/ec2/" rel="nofollow noreferrer" title="Amazon&#39;s EC2">Amazon's EC2</a> to give you more processing power</li> <li>Unless you're out of capacity, users are almost certain to be receiving updates as they happen</li> <li>To pick up messages missed while offline, the SERVER needs to know what message was last successfully received, store older messages and forward many all at once</li> </ul> <p>If you choose to use polling:</p> <ul> <li>You must have a stable address to be polled</li> <li>You need the ability to have lots of quick query connections checking for new data, then returning that data if required.</li> <li>If your application becomes popular enough you may find you don't have enough resources</li> <li>If your resources are taxed your application will go down, rather then just slow down</li> <li>You don't need to register clients and keep track of their on/offline state</li> <li>Parallelizing on the fly is a bit trickier</li> <li>To pick up older messages, the CLIENT needs to know when they last received a message and then request the server send any message since that time</li> </ul> <p>Both can be fast, but they come with different bandwidth and processing profiles. I prefer push for everything that's real-time.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload