What to choose API based server or Socket based server for data driven application
Posted
by
Imdad
on Programmers
See other posts from Programmers
or by Imdad
Published on 2012-10-09T09:38:00Z
Indexed on
2012/10/09
9:51 UTC
Read the original article
Hit count: 358
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.
© Programmers or respective owner