May Sale! All accounts are 40% off this week.

beracah.kings's avatar

Concurrent Connections in Pusher

Currently my application is using sandbox plan in pusher. It limits to 100 concurrent connections. My question is if the number of concurrent users increase, will it block the 101st connection or will the messages be sent on a queue.

0 likes
4 replies
songhua's avatar

My experience with Pusher is that it will not block your connections when it exceeds the limit. However, you will get a message from account manager soon to urge you to upgrade.

fylzero's avatar

@beracah.kings You should check out Laravel Websockets. They had a talk about it in the 2018 Laracon online videos where the creators explained that they built a pure PHP way of utilizing websockets and hacked it to use the same keys as Pusher... the spec they quoted was 70,000 connections per 2GB of server RAM.

https://docs.beyondco.de/laravel-websockets/

24 likes
beracah.kings's avatar

thank you songhua and fylzero. @ Songhua, Pusher team has replied that beyond the connection limit, an error message will be sent from pusher server and no messages will be kept in queue.

@fylzero will definetely check and revert back

fylzero's avatar

@beracah.kings This package was developed by Marcel Pociot and Freek Van der Herten, a joint effort by BeyondCode and Spatie. So it is VERY legit.

I would strongly urge you to go to https://laracon.net/ and spend the $25 to purchase the videos... watch the one with Marcel Pociot about 39 minutes into the video he explains why and how they created this package and it is absolutely awesome!

...I wish this information about this package was more widely shared. It basically makes Pusher useless.

Pusher is ridiculously over-priced and completely unnecessary.

24 likes

Please or to participate in this conversation.