Skip to content

Implement async batching via queue #12

@augustoproiete

Description

@augustoproiete

Currently each log entry is immediately written to the RichTextBox control when writes occur on the main thread, or immediately scheduled to be written to the RichTextBox control in the main UI thread via BeginInvoke otherwise.

This sometimes can cause the UI to become unresponsive when writing a large number of messages at the same time.

We should instead write messages to an in-memory queue that is consumed by a background worker on a separate thread, and implement batching and backpressure controls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions