devaslanphp / project-management

An open source Project management tool based on Laravel and Filament
https://devaslanphp.github.io/project-management
MIT License
681 stars 188 forks source link

Option for Redis additionally to Pusher #67

Open torbenraab opened 1 year ago

torbenraab commented 1 year ago

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.

matbgn commented 1 year ago

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

heloufir commented 1 year ago

I will take a look ASAP and let you know

matbgn commented 1 year ago

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

heloufir commented 1 year ago

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.

matbgn commented 1 year ago

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.

heloufir commented 1 year ago

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

torbenraab commented 1 year ago

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

matbgn commented 1 year ago

@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 ;-)

heloufir commented 1 year ago

@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.

matbgn commented 1 year ago

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

torbenraab commented 1 year ago

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

heloufir commented 1 year ago

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

matbgn commented 1 year ago

👍

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

heloufir commented 1 year ago

Okey I'll check