Replies: 9 comments 3 replies
-
Hi @engblnk Can you please, better explain what you have in mind by web support? |
Beta Was this translation helpful? Give feedback.
-
Right :), In https://pub.dev/packages/redis it states that, this package supports iOS and Android but Web is not there. Best Regards, |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
I get it now. I am not sure. The lists will be highly volatile, up to 5000 updates in every second. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
I understand now, thank you very much. |
Beta Was this translation helpful? Give feedback.
-
Please let us know if any update comes for web support. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
I think I found a use case that would benefit from web support: I am working on a POC I will be looking into |
Beta Was this translation helpful? Give feedback.
-
Thanks for the good work.
Beta Was this translation helpful? Give feedback.
All reactions