I had implemented my last company (Plustxt) product over eJabbered. It worked well for couple of hundred thousand users but after I sold the company to Paytm and implemented for over 50+ million users, we immediately started noticing bottlenecks with scaling XMPP but also more importantly started facing heavy battery drainage in mobile. One of the most critical infrastructure for Glowing is also messaging broker. Inspite of great deal of knowledge sunk-in cost in eJabbered, we took the challenge of exploring for much better and reliable technologies.
Following were salient points we considered before picking the right solution:
- Ease of portability to platforms like having socket extension for web and MQTT for mobiles
- Lightweight
- Enterprise level message delivery, which would mean
- swift response
- for both device and web
- low latency
- no loss of message
- availability
- scalability
- eventual consistency