Soketi Integration with Pusher in Node Js #1007
Unanswered
vivekkotadiya
asked this question in
Q&A
Replies: 2 comments
-
|
@vivekkotadiya did you find a solution for your problem ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@aminegazzeh Yes, There is simple solutions for use Pusher with Soketi with any credentials like below: For event trigger: On the frontend HTML bind pusher js file like: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am new to Soketi and I want to integrate it into one site where we are using Pusher. But due to the limit in concurrent users and messages we are planning to migrate to Soketi. Currently, we are building an app in Node Js and Next Js (Frotn-end) so need an integration guide here. If we can use Soketi with Pusher how can we manage unlimited concurrent connections and messages? I tried to Pusher package for Node Js ingration and when I run it's triggers even if it counts messages and connections in the Pusher dashboard. So I think it will restrict messages and connections based on activity. Also, in the Soketi app config which app ID, secret key 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 using Digital Ocean droplet.
Here is my demo code sample.
https://prnt.sc/r1ODgqFw85Ev
https://prnt.sc/ScVt9zXh44IS
I tested my connection with Soketi from Postman and it is showing connected.
https://prnt.sc/psF-_EP87tfG
Beta Was this translation helpful? Give feedback.
All reactions