Skip to content

Userspace networking on a machine with an OS? #158

Description

@0xffffa

Hey first I want to start of by saying amazing libraries, it is always a pleasure to be able to encounter hard working people who constantly give back and add to the golang ecosystem I love and enjoy so much!

With that being said, I have a few questions and problems I have been running into in related to the project as my setup is slightly unique.

I am using TinyGo to compile a golang project which will be run on a regular machine with an os (rarely ever embedded or bare metal systems). The reason I'm doing this as I need to make many requests on systems with extreme memory constraints (64MB - 128MB sometimes maybe even less), and there is too much overhead in the current tinygo networking stack. My original plan was to use fasthttp however that is not supported by tinygo.

With that being said, how can I implement the os source routing into lneto, taking advantage of lneto's small memory footprint and processing speed while letting the os do all the egress backend work. Is this possible or is the library not suitable for this specific task. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions