How to correctly organize frequent requests to the server?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


How to correctly organize frequent requests to the server?



The application every 15 seconds refers to a third-party API for updating the info. Info is a ~ 100 entity with internal data that can change at random intervals. That is, in 15sec can change data in 79 or 100 entities, and can in any one.



Esteemed that on frequent creation of connections with the server to leave a lot of resources, both at a server and at the client. And that longPooling in the face of FCM solves this problem, saving traffic and CPU time.



I do not quite understand whether or not the variant with FCM is suitable.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Visual Studio Code: How to configure includePath for better IntelliSense results

C++ virtual function: Base class function is called instead of derived