How to trigger from Nodejs Pusher to laravel Echo #740
Replies: 2 comments 2 replies
-
Make sure to read the Pusher Node.js SDK documentation |
Beta Was this translation helpful? Give feedback.
-
@rennokki I am new to Soketi and I want to integrate it on one site where we are used Pusher. But due to limit in concorrent users and messages we are planning to migrate to Soketi. Currently, we are building app in Node Js and Next Js (Frotn-end) so need integration guide here. If we can use Soketi with Pusher how can be manage unlimited concorrent connections and messages. Because I tried to Pusher package for Node Js ingration and when I run it's trigger even it counts messages and connections in Pusher dashboard. So I think it will restrict messages and connection based on active. Also, in soketi app config which app id, secret ket etc should be used? Can you guide me for that how I can integrate it with node js for triggering events from soketi using Pusher? Also, how I can handle concurrent connection with horizontal scaling. I am using cloudways hosting as of now which is use Digital Ocean droplet. Here is my demo code sample. I tested my connection with soketi from postman and it is showing connected. |
Beta Was this translation helpful? Give feedback.
-
How can I trigger any event to Laravel echo with the Nodejs or pusher PHP package. This is my configuration for Nodejs.
This is the Laravel echo configuration:
Is there any way to trigger events to Laravel Echo?
Beta Was this translation helpful? Give feedback.
All reactions