Giter VIP home page Giter VIP logo

Comments (8)

goodwink avatar goodwink commented on July 25, 2024 3

HTTP/2 support is a blocker for adoption for me also since I need support for push.

from fasthttp.

nkev avatar nkev commented on July 25, 2024 1

Are there any plans to support HTTP2 soon? Go 1.8 will support HTTP2 push in Feb 2017. We would love to see this in fasthttp. We could also use GRPC then too, which would be amazing.

from fasthttp.

ernado avatar ernado commented on July 25, 2024

Are there known net/http advantages comparing to fasthttp?

Yes:

net/http supports HTTP/2.0 starting from go1.6.

No it does not.

Why fasthttp doesn't support HTTP/2.0 and WebSockets?

There are plans for adding HTTP/2.0 and WebSockets support in the future. In the mean time, third parties may use RequestCtx.Hijack for implementing these goodies. See the first third-party websocket implementation on the top of fasthttp.

from fasthttp.

valyala avatar valyala commented on July 25, 2024

Fasthttp doesn't support HTTP/2.0 at the moment, but it is in TODO.

from fasthttp.

dapchen avatar dapchen commented on July 25, 2024

Is there any plan to support HTTP2 soon?

from fasthttp.

nkev avatar nkev commented on July 25, 2024

It's been on the "todo" list for almost a year now, so we've moved on back to the standard library.

from fasthttp.

dapchen avatar dapchen commented on July 25, 2024

Thanks @nkev for the information.
We love the performance that fasthttp brings. However, the lack of HTTP2 support prevents us from adopting it.

from fasthttp.

nkev avatar nkev commented on July 25, 2024

Yes, same. It's still the best choice for APIs though, but I think the lack of HTTP2 is a deal breaker for serving web pages, despite the speed.

from fasthttp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.