Skip to content

Benchmark and configurable pool #190

@tisonkun

Description

@tisonkun

Hi @notgull and all,

I like the design of async-io that it doesn't bind to any async runtime but has its own reactor to schedule IO tasks.

So I'm considering using async-io to replace some usage of tokio's io/net structs. But here are two concerns before the decision and your feedback would be valuable :D

  1. Is there any benchmark shows the comparison to tokio? I wonder if there is significant regressions, tie, or outperformance.
  2. Currently, async-io uses a global shared thread pool to schedule all the tasks. I wonder if it can be configurable. That said, most of the time a globally shared runtime is enough, but I may let the runtime dedicated to my code, not shared among all the crates use async-io.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions