Real time update for charts/data without setinterval?

I know its not a specific question but we have an criptocurrency exchange plataform and we would like to update data for users (ie. an table with current active sell orders) or a chart, actually we use setinterval, but I think its very heavy, and there's too many things to update every 1 second, there's an exchange (www.bittrex.com) that update those orders instantly and i really dont think they use setinterval. I know server-side cant send commands to user, but is there ANY way to tell user to update only when server have new data available?

Actually we use jquery, php and laravel.

I'm asking this generic question because i tried to search on many ways on google and didn't found any start way.

Upvotes: 0

Views: 468

Answers (1)

JoinCompany
JoinCompany

Reputation: 514

You can use Socket.Io for realtime update. visit http://socket.io for more information

Upvotes: 1

Related Questions