Is there such thing as free websocket?

|
veddishant 2021-01-20 19:13:29
DesolatorMagno 2021-01-20 17:07:34
You need to specify that id is only numeric and put it before createDuplicate.

Yeah that only i have done and its work in this case .

Yogesh 2021-01-20 19:18:51
hypernxf 2021-01-20 19:11:21
You want real time solution? or polling solution?

Real time

hypernxf 2021-01-20 19:19:12
So is there a reason you didn’t want pusher?
2021-01-20 19:34:02
laravel_discuss-67173.jpg
https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701?activetab=pivot:overviewtab

Windows Terminal built-in Tab features, better than cmd and powershell

Yogesh 2021-01-20 19:35:23
hypernxf 2021-01-20 19:19:12
So is there a reason you didn’t want pusher?

How

hypernxf 2021-01-20 19:35:45
what how? I’m asking you a question
itsvahid_ab 2021-01-20 19:38:23
Yogesh 2021-01-20 18:59:02
How can I implement chat in my laravel project

take a look at laravel-websockets package

Yogesh 2021-01-20 19:38:29
No
Yogesh 2021-01-20 19:38:46
Really
Yogesh 2021-01-20 19:39:17
Because it’s paid
hypernxf 2021-01-20 19:49:23
itsvahid_ab 2021-01-20 19:38:23
take a look at laravel-websockets package

then do it yourself with what vahid says

hypernxf 2021-01-20 19:50:38
Pusher free plan consists of 200000 free messages per day…
If you need to use this much data… I think your business should be growing by then and it would be worth it to pay for it.
hypernxf 2021-01-20 19:51:20
using laravel websockets you will need to maintain everything on your own. With more then 2000000 messages per day or more, your maintainance cost might end up being more then Pusher price
hypernxf 2021-01-20 19:52:28
Although Laravel Websockets is a dropin replacement for Pusher… so.. it’s interchangeable
Yogesh 2021-01-20 19:53:37
I try websocket but I stuck
hypernxf 2021-01-20 20:05:04
yeah exactly. it’s not that simple. if you are new, should just consider Pusher. will work seamlessly
Yogesh 2021-01-20 20:08:58
But my client is not paying for pusher
Yogesh 2021-01-20 20:09:16
Further
hypernxf 2021-01-20 20:11:04
laravel websocket is not going to be free either. but you can probably set up a $5 droplet as the socket server
hypernxf 2021-01-20 20:11:21
Though you have to be familiar with Daemon and supervisord. ANd do the maintainance on your own.
hypernxf 2021-01-20 20:12:10
Like wise, you can consider using laravel Forge and install a $5 droplet.
Then laravel forge allows you to manage supervisord process easily.
hypernxf 2021-01-20 20:13:04
so total the cheapest cost of managing an online chat is $17
hypernxf 2021-01-20 20:13:37
If your client is not willing to pay that. Then You should consider if your client really need a real time chat. A Polling chat is equally good in some case.
natghi2010 2021-01-20 20:43:34
hypernxf 2021-01-20 19:19:12
So is there a reason you didn’t want pusher?

payment

Yogesh 2021-01-20 20:43:40
What is polling case
hypernxf 2021-01-20 20:43:58
natghi2010 2021-01-20 20:43:34
payment

Read all my messages above.

hypernxf 2021-01-20 20:44:19
Yogesh 2021-01-20 20:43:40
What is polling case

Polling refers to constantly send an ajax request back to the server to get any new updates.

natghi2010 2021-01-20 20:44:20
is there such thing as free websocket?
natghi2010 2021-01-20 20:44:31
hypernxf 2021-01-20 20:44:19
Polling refers to constantly send an ajax request back to the server to get any new updates.

🙂 Horrible system.

natghi2010 2021-01-20 20:44:57
Let me tell you from expiernce what will happen.
Yogesh 2021-01-20 20:45:05
Any simple way
hypernxf 2021-01-20 20:45:08
sure
natghi2010 2021-01-20 20:45:14
Your server will block you for suspcious activity
Yogesh 2021-01-20 20:46:23
Any laravel package??
hypernxf 2021-01-20 20:47:59
Polling is actually still an acceptable concept when dealing with small packet
|