Skip to content

Discussion: Optimize RollingFileWriter by closing asynchronously #1551

@CTTY

Description

@CTTY

Is your feature request related to a problem or challenge?

Reference: #1547 (comment)

When rolling over to a new file, instead of waiting on the current writer to close, we can spawn a thread to improve its efficiency. But we need to be careful about the max parallelism since too many writers or an over-sized buffer can exhaust the memory

Describe the solution you'd like

No response

Willingness to contribute

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions