Skip to content

📝 [Proposal]: Migrate prefork implementation #3241

@gaby

Description

@gaby

Feature Proposal Description

We currently rely no a custom implementation for the prefork feature. This implementation is very similar to what fasthttp already provides with a few small differences.

Instead of running our own implementation, we should use the one provided by fasthttp natively and reduce the boilerplate code in Fiber's repo.

Add support for prefork and tlsConfig / Custom Listener.

The fasthttp prefork can be found here: https://github.com/valyala/fasthttp/tree/master/prefork

Alignment with Express API

N/a

HTTP RFC Standards Compliance

N/a

API Stability

N/a

Feature Examples

N/a

Checklist:

  • I agree to follow Fiber's Code of Conduct.
  • I have searched for existing issues that describe my proposal before opening this one.
  • I understand that a proposal that does not meet these guidelines may be closed without explanation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions