project-management icon indicating copy to clipboard operation
project-management copied to clipboard

Option for Redis additionally to Pusher

Open torbenraab opened this issue 1 year ago • 14 comments

It would be very nice to have the Option to Maybe use Redis for Broadcasting instead of Pusher. Goal should be to have a complete self hosted platform available. As for now I don't see it used in production when you have to access third party applications. I'm willing to help where I can.

torbenraab avatar Mar 23 '23 07:03 torbenraab

Let me double this, especially for the Caprover deployment it will be really nice! https://github.com/caprover/one-click-apps/pull/888

matbgn avatar Mar 23 '23 12:03 matbgn

I will take a look ASAP and let you know

heloufir avatar Mar 23 '23 12:03 heloufir

So I understand it correctly for now no live update are possible (via websocket for instance) without Pusher right?

matbgn avatar Mar 23 '23 12:03 matbgn

So I understand it correctly for now no live update are possible (via websocket for instance) without Pusher right?

Yes, but I was planing to use socket.io to make an open source solution, but I will add Redis as requested.

heloufir avatar Mar 23 '23 12:03 heloufir

For me socket.io is totally fine ;-) I don't even know which one is the lightest to deploy/invest feel absolutely free to choose.

matbgn avatar Mar 23 '23 12:03 matbgn

For me socket.io is totally fine ;-) I don't even know which one is the lightest to deploy/invest feel absolutely free to choose.

I prefer socket.io btw, but I think it will be great to have multiple solutions to let everyone use its preferred solution

heloufir avatar Mar 23 '23 12:03 heloufir

Socket.io would be a perfectly good solution. I would say socket.io in combination with redis pub/sub system is a thing for a clustered constellation. The request for redis was just because I looked at the code where pusher was used and there was the option of redis left in the broadcasting.php

torbenraab avatar Mar 23 '23 12:03 torbenraab

@heloufir Do you have a really rough idea about the time you will need? Again months or years are perfect answers but as we were testing it with our team, my question is more for planning the future ;-)

matbgn avatar Mar 23 '23 12:03 matbgn

@torbenraab Okey I will check this too.

@matbgn I have a lot things to do this days, but I will start working on it the next week so I think it will be for the next mounth.

heloufir avatar Mar 23 '23 12:03 heloufir

Don't push too much pressure on you! Thank you for your so quick answers and have fun!

matbgn avatar Mar 23 '23 12:03 matbgn

I can only agree with @matbgn ! Take your time and thank you for your support!

torbenraab avatar Mar 23 '23 13:03 torbenraab

Hello @matbgn & @torbenraab Sorry for the delay, I've been busy the past few days, I'll try to work on this ticket next week

heloufir avatar Apr 20 '23 10:04 heloufir

👍

Let me double this, especially for the Caprover deployment it will be really nice! caprover/one-click-apps#888

By the way as I suggested your app on Caprover, do you have any clue on that: https://github.com/caprover/one-click-apps/pull/888#issuecomment-1491631729

matbgn avatar Apr 20 '23 10:04 matbgn

Okey I'll check

heloufir avatar Apr 20 '23 11:04 heloufir