What to choose API based server or Socket based server for data driven application
- by Imdad
I am working on a project which has a Desktop Application for MAC/COCOA, a native application for iPhone another native application in iPad. All the application do almost same thing. The applications are data driven applications. Every communication to server is made via a restful API developed in PHP.
When a user logs in a lot of data is fetched from server. And to remain in sync with server pooling is done.
As there are lot of data to pool it makes application slower and un-reliable.
A possible solution that comes into my mind is to use Socket based server.
My question is that will it reasonably improve the performance?
And which technology (of sockets) will be good as a server side solution for data driven application? I have heard a lot about Node.js. Please give your suggestions.