Replies: 1 comment 2 replies
-
Hi @MaxThom! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I would like the SDK to have some autoreconnect features and better status when its loose its connection and reocnnect. I could help work on this. This would really help make software with Surreal more reliable and easier to operate in a bigger system. People tend to not do autoreconnection in their softwares and operation team suffers from this. So if its baked in the sdk, it would help increase the reliability of Surreal thus its image.
I see two approaches to find down connectivity:
When the connection fails, the socket is broken and we have to recreate it.
I see two options to fix it:
would be nice to have status handlers on connect, reconnect, loose connection and close so people can also act on them. Similar to NatsIO GoSDK
I found three librairies that implement that over gorilla ws. I think we should do it ourselves, but could draw inspiration:
What u guys think?
Beta Was this translation helpful? Give feedback.
All reactions