[go-nuts] Japronto vs Go net/http

2017-03-08 Thread Tamás Gulácsi
Japrono is mostly written in C.
It provides only HTTP/1.1, with not-too-widespread pipelining support.
No HTTP/2, so not future proof.

As the readme says, fasthttp is only 18% slower than japronto. And we know that 
fasthttp is fast because of different design goals: it sacrifices ease of use 
and proper RFC compatibility for speed.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Japronto vs Go net/http

2017-03-08 Thread Wojciech S. Czarnecki
Dnia 2017-03-07, o godz. 23:34:54
Gopher  napisał(a):

> Hi.Does anyone know why the Japronto is faster?
["" from japronto github pitch.]

Because "The server is written in hand tweaked C trying to take advantage of
modern CPUs." What translates to 'it will run fast if it will'.

> Is it possible to do something about it?

Yes. Once it (japronto) will come out of "early preview with alpha quality
implementation" state and it start to implement standards you will be
pleased to see it to be gradually less and less 'faster than'.

> I noticed that the response header is larger than japronto header. 
> Response header net/http additionally includes the current date.

As said: standards.

-- 
Wojciech S. Czarnecki
   ^oo^ OHIR-RIPE

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Japronto vs Go net/http

2017-03-07 Thread Gopher
Hi.Does anyone know why the Japronto is faster? Is it possible to do 
something about it? I noticed that the response header is larger than 
japronto header. Response header net/http additionally includes the current 
date.

https://github.com/squeaky-pl/japronto


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.