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

Fill the ringbuffer as data is being transmitted #55

Open
excelosaurus opened this issue Sep 18, 2018 · 0 comments
Open

Fill the ringbuffer as data is being transmitted #55

excelosaurus opened this issue Sep 18, 2018 · 0 comments

Comments

@excelosaurus
Copy link

excelosaurus commented Sep 18, 2018

In ProtoDataStream.cs, the Read method calls FillBuffer, which replenishes the circular buffer synchronously. In a WCF scenario with hundreds of concurrent users, I'd like the circular buffer to be replenished while transmission occurs. That's way beyond my game, really. I can imagine that a Task launched in the constructor could monitor the circular buffer and keep it close to capacity. What do you think? Or something along those lines: https://code.msdn.microsoft.com/Custom-WCF-Streaming-436861e6

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

No branches or pull requests

1 participant