lundi 24 août 2020

How to speed up server while using pusher events laravel and redis

Here I have digital ocean server + Laravel 5.8 Project set up with + Mysql + Redis + Pusher Echo Events.

Backend : Laravel

Frontend : React

The server is facing big traffic everyday.

So Found the issue like pusher's socket is taking much memory and cpu usage which causes server low in performance and which impacts on website traffic as well.

So how can I speed or improve it ?

I have used frontend event.listeners() to auto refresh the changes. So sometimes it might call another API to get updated state.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire