You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open a few (~3) tabs of the client in Chrome. Then open one client's Console. Close that client after the numbers in the Console get updated a few times. The Router will terminate with StackOverflowException.
Seems that the Exception is due to the ActionBlock implementation. Consider using Tpl Dataflow instead of this rx alternative.
The text was updated successfully, but these errors were encountered:
Please check https://github.com/nj4x/WampSharpTests.git project.
I've tried to collect multiple WampSharp issues in the single application.
You just need to download it and run to reproduce (note case 2 & 3 are
fixed in 188.8.131.52-dev)
Acc. to StackOverflow error - I think that changing rx to alternative will
result in other memory issues due to inability of Publisher to control over
the rate it publishes events.
Publisher should be able to check (in some way) pending events queue size
to detect and handle congestions. Is it possible to apply some
acknowledgement mechanisms without affecting performance and keeping
Publishers interface as simple as ((ISubject) _subject).OnNext(evt); ?
Thanks for the test project, I'll try to run it sometimes this week (probably in the weekend or so). I think you should still create an issue per problem so it would easier (for both of us) to track their statuses and discuss them separately.
About the queue stuff - queues will stay individual per client, so I don't find a lot of sense in exposing queue size to library users. I might consider making the ActionBlock mechanism plugable so users can have control on how items are queued per client, although I don't really like this.