Post Reply 
Gmail Technical Rant
Feb. 20, 2009, 06:59 PM
Post: #6
RE: Gmail Technical Rant
(Feb. 20, 2009 06:25 AM)sidki3003 Wrote:  Maybe "chunked" to save on opening new connections?

Maybe, but perhaps they didn't think it through. While the server response comes in delayed chunks, the client-side AJAX isn't waiting between each round. It pumps another request almost immediately after the previous one completes. The AJAX should just be just polling requests with setTimeout() intervals, but apparently here they've chosen to burden their server-side resources with delay intervals.

The Transfer-Encoding: header is hop-by-hop, intermediate processes like proxies may un-encode or re-encode that as they see fit. Gmail may have a proxy-like server front end doing the chunking, and that might be where their delay is implemented.

The server should be sending a normal (complete) response, and let client browsers & proxies manage the re-usable connections in the usual efficient fashion. Hopefully they'll fix it some day.

Today I'm using a server data timeout of just a few seconds (having blocked the problematic Gmail URL). So far I haven't encountered any other sites that hold connections hostage with a server-side partial-response delay.

(Feb. 20, 2009 06:56 AM)whenever Wrote:  @Graycode, how is your proxy going? When will it be public?

Thanks for asking. The proxy works extremely well, but bringing it to the public took a hit as "The Economy" happened. A lot of preperation remains that requires funding to accomplish. If you could please fix "The Economy" I'd really appreciate that! Wink
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Gmail Technical Rant - Graycode - Feb. 20, 2009, 01:20 AM
RE: Gmail Technical Rant - sidki3003 - Feb. 20, 2009, 06:25 AM
RE: Gmail Technical Rant - Graycode - Feb. 20, 2009 06:59 PM
RE: Gmail Technical Rant - ProxRocks - Feb. 20, 2009, 07:53 PM
RE: Gmail Technical Rant - whenever - Feb. 20, 2009, 06:56 AM
RE: Gmail Technical Rant - ProxRocks - Feb. 20, 2009, 12:07 PM
RE: Gmail Technical Rant - sidki3003 - Feb. 20, 2009, 12:20 PM
RE: Gmail Technical Rant - sidki3003 - Feb. 23, 2009, 06:03 PM
RE: Gmail Technical Rant - Graycode - Feb. 23, 2009, 08:24 PM
RE: Gmail Technical Rant - sidki3003 - Feb. 24, 2009, 06:24 AM
RE: Gmail Technical Rant - Graycode - Feb. 24, 2009, 07:07 PM
RE: Gmail Technical Rant - sidki3003 - Feb. 24, 2009, 09:50 PM
RE: Gmail Technical Rant - sidki3003 - Feb. 25, 2009, 10:42 AM
RE: Gmail Technical Rant - Graycode - Feb. 25, 2009, 04:54 PM
RE: Gmail Technical Rant - sidki3003 - Feb. 25, 2009, 05:35 PM
RE: Gmail Technical Rant - Graycode - Feb. 25, 2009, 06:49 PM
RE: Gmail Technical Rant - whenever - Feb. 25, 2009, 01:35 PM
RE: Gmail Technical Rant - lnminente - Feb. 25, 2009, 04:05 PM
RE: Gmail Technical Rant - sidki3003 - Feb. 25, 2009, 04:26 PM
RE: Gmail Technical Rant - sidki3003 - Feb. 25, 2009, 04:32 PM
RE: Gmail Technical Rant - sidki3003 - Feb. 25, 2009, 07:24 PM
RE: Gmail Technical Rant - Graycode - Feb. 25, 2009, 09:09 PM
RE: Gmail Technical Rant - sidki3003 - Feb. 25, 2009, 09:28 PM

Forum Jump: