Comments (6)
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.
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.
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.
from httpbeast.
Nope. No plans for HTTP/2 from me at least.
from httpbeast.
@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)
- Unsanitized headers can break body in response HOT 2
- Inconsistent behavior on run() HOT 4
- Do some profiling HOT 5
- A way to kill HTTP beast? HOT 2
- hook to enable body to be streamed HOT 1
- Errors with hot code reloading HOT 1
- httpbeast-0.4.1/httpbeast.nim(373, 17) Error: undeclared identifier: 'addTimer' HOT 3
- Fix server crashing when receiving POST multipart-formdata request with a body that contains a value of "PUT", "POST", "GET" etc. #13
- Too many new line between response header and body. HOT 1
- Random segmentation fault when using orc and threads more than 1 HOT 5
- set[int32] used that depends on odd compiler behavior
- Using await in handlers appears to have a substantial performance penalty HOT 7
- bump the 0.4.2 version HOT 1
- Not as Fast as Java/Vertx - Configurable buffer sizss?
- Allow to change port for tests HOT 1
- SIGSEGV when running a basic jester 0.6.0 server in nim 2.0 on M1 Mac HOT 3
- Request: Make Github tag for version 0.4.2 HOT 3
- Regarding static directory
- Rumors HOT 1
- http 1.1 request smuggling HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from httpbeast.