ajax - Polling vs long-polling -


What is the difference between voting and long voting? What are the advantages and disadvantages? Is Ajax considered as a long time voting?

Poll: kill a URL from a customer at some interval

Long Voting: To kill the URL from the customer and keep the server connection for a period of time, in this way the server can return the connection at the time when there is a notification for his client

All AJAX is not long. Polls are used for long periods using the form of comets ()

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -