Skip to content

Fill the ringbuffer as data is being transmitted #55

@excelosaurus

Description

@excelosaurus

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions