cipheroidharshal / android-query

Automatically exported from code.google.com/p/android-query
0 stars 0 forks source link

Making HTTP post faster #80

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, I noticed on android that my initial HTTP posts would take quite over a 
couple seconds to submit.

Possible solution: 
http://stackoverflow.com/questions/3046424/http-post-requests-using-httpclient-t
ake-2-seconds-why

Is there a way to currently add params to the client?

Thanks.

Cheers,
   Lalit

Original issue reported on code.google.com by tinyeeliu@gmail.com on 30 Aug 2012 at 4:05

GoogleCodeExporter commented 8 years ago
Patched in latest beta here:
http://code.google.com/p/android-query/downloads/list

Original comment by tinyeeliu@gmail.com on 30 Aug 2012 at 7:44

GoogleCodeExporter commented 8 years ago

Original comment by tinyeeliu@gmail.com on 30 Aug 2012 at 7:45

GoogleCodeExporter commented 8 years ago
perfect. Thanks.

Original comment by lalitkap...@gmail.com on 30 Aug 2012 at 8:09

GoogleCodeExporter commented 8 years ago
Please let me know if it's faster for you. How much faster?

Performance test:
https://docs.google.com/spreadsheet/pub?key=0Art0MGAWd2WzdE10YTFSUzVTd0dJSDFZWWR
WeC1QSkE&output=html

From my testing on local server for 1000 requests, it's only marginally
better.

Original comment by tinyeeliu@gmail.com on 31 Aug 2012 at 3:59