HTTP Load Balancing and connection reset by client

982 views
Skip to first unread message

Pavel Madr

unread,
May 30, 2017, 3:58:22 AM5/30/17
to gce-discussion
Hello,

is there some way how backend can be informed about connection reset made by a client?

With network load balancer I was able to catch connection reset and terminate a job running on my backend server.
With HTTP load balancer I'm receiving connection reset after balancer timeout only. It's too late for me.
I need to terminate backend job as soon as possible, because it can consume a lot of resources and time.

Best Regards,
Pavel Madr


Marilu (Cloud Platform Support)

unread,
May 30, 2017, 2:06:20 PM5/30/17
to gce-discussion
Hi Pavel,

A network load balancer is a non-proxied load balancer, which means this kind of load balancer will forward the packets to your instance. 

An HTTPs load balancer proxies the connection, as it uses a target proxy, so it appears that a connection reset will not be sent by the proxy to your instance, therefore the connection will close after the backend's timeout that you might have configured.

I hope this helps,

Marilu
Reply all
Reply to author
Forward
0 new messages