I'm trying to build a React Native chatting app using Pusher and Laravel as the backend. I want to know more about this environment, do I need to queue each message sent and receive by the user on my backend or just let Pusher do the job? Or it doesn't need a queue at all?? Which is the most suitable in this case?

1 Answers

doydoy On Best Solutions

You don't need to queue the messages, you can just send them and let Pusher broadcast them to the necessary subscribed clients. However, you should consider queuing or other solutions if you need sequential delivery or to retrieve messages that were not received correctly. Check out their help page for a discussion on how to do this.