|
|
|
How to: Reliable messaging system Mobile to Server
|
|
2 points
by helloritesh
4335 days ago
|
|
Folks I am building a simple customer service messaging system for businesses where customers can chat with Agents using mobile. In essence, the mobile app sends and receives messages to/from our server.
Any recommendation on what kind of infrastructure should we use (pubnub, pusher, realtime.co) for messaging and the server side recommendation (RoR or node.ja - any issues with RoR?).
It's imperative that we don't loose messages and build a reliable and secure messaging system. |
|
My advice is to build a solid CRUD interface for your chat service and then add a realtime updates mechanism on top of it. This approach is basically bulletproof. I'm a big fan of using long-polling for the push aspect, since it fits cleanly into a REST API and works everywhere.