Open udhos opened 8 years ago
Estimation (of effort) requires investigation.
Or would gRPC be a better choice? (Don't know) http://www.grpc.io/
gRPC is based on HTTP2.
QUIC could reduce network latency:
Key features of QUIC over existing TCP+TLS+HTTP2 include
You can already try out QUIC:
import "github.com/lucas-clemente/quic-go/h2quic"
...
go server.Start("")
return h2quic.ListenAndServeQUIC(addr, tlsCert, tlsKey, nil)
You need server.Start atm as that's the one that registers the proper handlers on http.DefaultServeMux. Maybe a gwu.RegisterMux(*http.ServeMux)
could help composition, but this should work, too.
Since network latency is a real obstacle for gowut responsiveness, how about adding support for QUIC protocol?
https://github.com/lucas-clemente/quic-go
Would it be very hard to include feature?