Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Will there be a web support? #18

Closed
engblnk opened this issue Nov 17, 2020 · 8 comments
Closed

Will there be a web support? #18

engblnk opened this issue Nov 17, 2020 · 8 comments

Comments

@engblnk
Copy link

engblnk commented Nov 17, 2020

Thanks for the good work.

@ra1u
Copy link
Owner

ra1u commented Nov 17, 2020

Hi @engblnk

Can you please, better explain what you have in mind by web support?

@engblnk
Copy link
Author

engblnk commented Nov 17, 2020

Right :),
I intend to build a dynamic webpage, basicly updating lists of data streaming from redis.
I want use flutter web since I have already some experience in flutter.

In https://pub.dev/packages/redis it states that, this package supports iOS and Android but Web is not there.

Best Regards,
Engin

@ra1u
Copy link
Owner

ra1u commented Nov 17, 2020

I will take a look into what can be done.

Current implementation is using raw socket to connect on redis, where web browsers can communicate only trough http.

@engblnk how do you plan to connect on redis?

@engblnk
Copy link
Author

engblnk commented Nov 17, 2020

I get it now. I am not sure.

The lists will be highly volatile, up to 5000 updates in every second.
@ra1u Should I consider any performance issues if I use http?

@ra1u
Copy link
Owner

ra1u commented Nov 18, 2020

Handling lot of http request concurrently in web-browser, particularly in java script might be a tricky. However if your concern is performance and you are unable to aggregate requests you can try using websockets.

For this you would need to get websocket translator to redis (i am not sure that redis provides websocket connection), and modify redis-dart library for support of web-sockets instead of just sockets.

@engblnk
Copy link
Author

engblnk commented Nov 20, 2020

I understand now, thank you very much.
Now, things got complicated then it suppose to be. :)

@abhin-vicks
Copy link

Please let us know if any update comes for web support.

@TheOneWithTheBraid
Copy link

I think it will be nether possible nor useful to have redis in web. In such a use case, a server side implementation featuring websocket communication might be more useful.

@ra1u ra1u closed this as completed May 31, 2021
Repository owner locked and limited conversation to collaborators May 31, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants