Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6680677
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:30:11+00:00 2026-05-26T04:30:11+00:00

I am using a modified version of the TaskCloud example to try and read/write

  • 0

I am using a modified version of the TaskCloud example to try and read/write my own data.

While testing on a a deployed version, I’ve noticed that the round-trip response time is slow.

From my Android device, I have a 100ms ping response to appspot.com.
I have changed the AppEngine application to do nothing (The Google Dashboard shows insignificant Average Latency.

The problem is that the time it takes for HttpClient client .execute(post) is about 3 seconds.
(This is the time when an instance is already loaded)

Any suggestions would be greatly appreciated.

EDIT: I’ve watched the video of Google I/O showing the CloudTasks Android-AppEngine app, and you can see that refreshing the list (a single call to AppEngine) takes about 3 seconds as well. The guy is saying something about performance which I didn’t fully get (debuggers are running at both ends?)

The video: http://www.youtube.com/watch?v=M7SxNNC429U&feature=related
Time location: 0:46:45

I’ll keep investigating…
Thanks for your help so far.

EDIT 2: Back to this issue…

I’ve used shark packet sniffer to find out what is happening. Some of the time is spent negotiating a SSL connection for each server call. Using http (and ACSID) is faster than https (and SACSID).

new DefaultHttpClient() and new HttpPost() are used for each server call.

EDIT 3:

Looking at the sniffer logs again, there is an almost 2 seconds delay before the actual POST.

I have also found out that the issue exists with Android 2.2 (all versions) but is resolved with Android 2.3

EDIT 4: It’s been resolved. Please see my answer below.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:30:12+00:00Added an answer on May 26, 2026 at 4:30 am

    After using the Shark sniffer, I was able to understand the exact issue and I’ve found the answer in this question.

    I have used Liudvikas Bukys’s comment and solved the problem using the suggested line:

    post.getParams().setBooleanParameter(CoreProtocolPNames.USE_EXPECT_CONTINUE, false);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a highly modified version of the jqueryFileTree plugin, that is able
I'm using the DataLoadOptions to retrieve the User that modified a Customer's details, DataLoadOptions
I am using a modified version of light house from this page. I want
I'm using a modified version on juno ( http://github.com/breily/juno/ ) in Google App Engine.
I using a vendor modified version Linux which is based on a 2.6.14.* (more
I am using a modified version of the code here . The difference is
I am using a modified version php-sdk version 3.0.0 sample code at github.com/facebook within
I'm using a slightly modified version of Twain Dot Net in my scanning application.
I'm using a slightly modified version of Valum's upload [ github link ], I've
I am getting an exception when I try to start a modified version of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.