Hi everyone, I am Emmanuel Katto. I’m building a real-time chat system for a Meteor app, and I’m having trouble implementing a scalable and efficient solution. I want to allow users to chat with each other in real-time, and I need help figuring out the best way to do this.
I’ve tried using the Meteor.publish and Meteor.subscribe methods to send and receive messages, but I’m experiencing some issues. Specifically:
Messages are not being delivered in real-time (there's a delay of around 1-2 seconds before messages are received)
The chat window is not updating correctly when new messages are received (some messages are lost or duplicated)
Thanks!
Emmanuel Katto