If you're on a beefy machine with recent linux, maybe MTU of loopback 
interface is set to 65k, setting it to default 1500 would help i think...

ifconfig lo mtu 1500 up 

https://www.cyberciti.biz/faq/centos-rhel-redhat-fedora-debian-linux-mtu-size/



W dniu środa, 16 listopada 2016 06:01:50 UTC+1 użytkownik Tom napisał:
>
> Hi guys,
>
> I've been working on a HTTP reverse proxy that has an auth/authorization 
> function. It all works well, however I have noticed significant additional 
> latency - and I cannot work out why. From what I can tell, me hitting my 
> service from chrome on localhost should work just fine - I have a very 
> beefy machine! (8core 3.4Ghz Amd64)
>
> Anyone have any insights into httputil.ReverseProxy, or have any ideas 
> where to begin?
>
> The method is here: 
> https://github.com/twitchyliquid64/pushtart/blob/master/src/pushtart/webproxy/handler.go#L61
>
> Cheers,
> Tom
>

-- 
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.

Reply via email to