Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Receive Feed Updates in real time #25

Open
nikhilrayaprolu opened this issue Sep 3, 2020 · 3 comments
Open

Receive Feed Updates in real time #25

nikhilrayaprolu opened this issue Sep 3, 2020 · 3 comments
Assignees
Labels

Comments

@nikhilrayaprolu
Copy link

Is there a way, I can build subscriptions to the feeds and receive them in real-time over sockets? Something like http://getstream.io does?

@kigster
Copy link
Owner

kigster commented Sep 3, 2020

Right now that's not possible, but you could use AJAX to frequently query for the total and new counts of any feed items (it's a cheap operation). Once you determine that there are new items available, you can fire-off another request to get the new items.

I suppose theoretically one could build an extension to SimpleFeed that uses Redis' PUB/SUB functionality to implement real-time notifications, but this is likely a non-trivial amount of work. If you really need this functionality and are willing to collaborate on it, I might be persuaded to work on it.

@nikhilrayaprolu
Copy link
Author

That's good to know!
I am super excited to collaborate but since I am fully occupied with an other project now, I have added this into my tasklist and will contribute whenever I start working on it!!

@kigster
Copy link
Owner

kigster commented Sep 8, 2020

Great, I’ll keep it open for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants