What is the best solution for real-time bi-directional communication between a web application running on a mobile phone and on a server?

I look at the fact that you have thousands of simultaneous connections from mobile phones to the server, where at any time when the user interacts with his mobile phone, the data is sent and registered by the server. In addition, at any time when the server has new information for this user, the server can transmit this information without updating the browser. I wonder what is more stable and how did you build it?

+3
source share
3 answers

API-, , , , . iOS iPhone iPad, JavaScript , , Android Java ..

, , - PhoneGap. , @rt2088, , .

, , , . , , , . , . , -, , .

, GPS, "pinged" . . ?

. , . , , , JavaScript, WebSocket, -, WebSockets.

, , , .

javascript- , - appilcation?

-, , JavaScript . , , .

0

WebSocket. . . . . .

WebSocket

Websocket

0

Do you need a notification when the user uses the mobile browser of the mobile phone or the mobile phone itself (performs non-browser tasks)? Based on this, you can select a structure for recording user activity.

-1
source

All Articles