A decision on making XMPP chat application

shriyans varma
shriyans varma used Ask the Experts™
Hey, This is just a decision-making problem. I am seeking for a well thought out answer.
I have to develop an android XMPP chat application, (the application also has a NodeJS server API, connecting to MongoDB and AWS S3 for picture uploads)

which will be better:

1. Having a "openfire" server on aws and connecting it to the android application and implementing an XMPP client on the android device using "smack" library.

2. Implementing a "xmpp-client" on NodeJS server side and scrape the results from this API to the Android device.
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
nociSoftware Engineer
Distinguished Expert 2018

Scraping data seems compute intensive... there fore energy consuming.
The phone part SHOULD do as little as possible...

Besides openfire, check out ejabber that one might scale better when/if things take off.
XMPP clients should already exist on android ( I know whatsapp is one.. ;-)  there are opensource variants available.
(Which can help development to avoid having to concentrate on building the whole stack at once.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial