Skip to content

"ayafileio: a truly async file I/O library with native IOCP/io_uring/Dispatch I/O support" #1856

@Patchouli-CN

Description

@Patchouli-CN

I saw your team has removed the aiofiles because of fake-async, so, I have a lib who programmed it, called ayafileio, can resolve this problem, it's real-async on win/macos/linux, using IOCP/io_uring/dispatch_io

# can use this to check backend info.
import ayafileio
info = ayafileio.get_backend_info()
print(f"Running on {info['backend']} — truly async: {info['is_truly_async']}")

benchmark data:

Image

dataset add-write test

74694 item/s ayafileio VS 14672 item/s

how about use it on FileSystemStorageClient?

Metadata

Metadata

Assignees

No one assigned

    Labels

    t-toolingIssues with this label are in the ownership of the tooling team.

    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