samedi 18 janvier 2020

Laravel : Web Api, how to find out if a user (application) is online?

I am building a web service for mobile application by Laravel 5.8. I need to get the location of online users, search on some properties and send a notification to them.

The problem is I can't find out if a user is online. My solution was to keep pushing/receiving a message to applications every 10 seconds once they get connected for the first time. Clearly this approach has a huge overload on the server and is not practical.

I would be appreciated for any help.

Thanks in advance.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2RrJZDP
via IFTTT

Aucun commentaire:

Enregistrer un commentaire