Giter VIP home page Giter VIP logo

Comments (6)

dom96 avatar dom96 commented on May 28, 2024 1

It would be nice to start off with http2 in Nim instead of rooting for an upgrade later.

I agree. This is mostly a "for fun" project for me. I have more experience with HTTP/1.1 and want to see how much performance I can wring out of it.

If you want to see HTTP/2 support in Nim then please implement it :)

from httpbeast.

dom96 avatar dom96 commented on May 28, 2024

Wouldn't that be realistically faster http by fetching assets in parallel?

Likely, but most of the web is still HTTP/1.1 (and I believe the TechEmpower benchmarks are using HTTP/1.1 as well)

Not aware of any projects that are implementing it.

from httpbeast.

aravindhsampath avatar aravindhsampath commented on May 28, 2024

Sure that most of the web is still HTTP/1.1. If you're building this with the intention of scoring higher in a benchmark, that is perfectly valid reason to stick with HTTP/1.1.
However, HTTP/2 is interesting because it is the future, and most of the web servers and browsers already support it for its performance. I run my personal website on nginx with http/2 enabled. and my browser fetches assets in parallel.
It might even help your cause because of header compression. Don't know if there are other hidden costs.
More information: https://http2.akamai.com
https://http2.akamai.com/demo

Http/2 support matrix: https://github.com/http2/http2-spec/wiki/Implementations

"Starting with Go 1.6, the http package has transparent support for the HTTP/2 protocol when using HTTPS. " - Not that everything Golang does is for the best.
It would be nice to start off with http2 in Nim instead of rooting for an upgrade later.

from httpbeast.

egoholic avatar egoholic commented on May 28, 2024

It's 2022, any changes?
Screenshot 2022-11-03 at 23 30 22

from httpbeast.

dom96 avatar dom96 commented on May 28, 2024

Nope. No plans for HTTP/2 from me at least.

from httpbeast.

egoholic avatar egoholic commented on May 28, 2024

@dom96 I'm more interested in development a new http server (I would be a good task to understand protocol better) with http2 support. Do you see any significant design flaws in current httpbeast design? What would you do different if you would start working oh http server from the scratch?

from httpbeast.

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.