Skip to content

io_uring to improve throughput in the background thread #549

@tarun-t

Description

@tarun-t

We could potentially improve the throughput of the logger by implementing io_uring in the background thread.

Proposed changes:

  • Implement io_uring setup in the background thread initialization
  • Modify the write operations to use io_uring submission and completion queues

Expected benefits:

  • Reduced system call overhead
  • Improved I/O performance, especially for high-frequency logging
  • Better scalability under high load

Considerations:

  • This would be Linux-specific and would require fallback mechanisms for other platforms
  • Careful benchmarking would be needed to quantify the improvements
  • May require adjusting the minimum supported Linux kernel version

Do you think this is something worth pursuing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions