Skip to content

File caching and serving #3

@RaasAhsan

Description

@RaasAhsan

We can implement sendfile via io_uring and splice: https://github.com/axboe/liburing/blob/cce606671f5b51ab460f8f21f9cd2c43a1104c4a/src/include/liburing.h#L249

We should benchmark that against a regular, blocking sendfile

An intermediate, in-memory pipe can be created via the pipe syscall https://man7.org/linux/man-pages/man2/pipe.2.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions