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 6121087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:44:38+00:00 2026-05-23T15:44:38+00:00

I have developed android apps, and have a web server application which serves REST

  • 0

I have developed android apps, and have a web server application which serves REST style JSON, to the apps.

My apps are strongly dependent on that web services but as traffic gets higher, users’ complaint started, as force close problems. I am not sure but maybe my server (AWS small instance) may not answer all requests correctly or in time.

I am planning to retry the web request when a problem on getting json response arise instead giving the error/net-connection alert.

I guess there are many developers who integrates apps with web services, so what is the good practice on handling network problems?

Or is the frequency of such network problems acceptable?

I take about 10-20 problem per day.
I have about 200.000+ web requests per day, for a AWS small instance (1.7 RAM), dedicated to server Tomcat. I analyze the logs there is no clue, no error log. Also the errors are spreaded.

  • 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-23T15:44:39+00:00Added an answer on May 23, 2026 at 3:44 pm

    You need to start with analyzing the problem, and determine the root cause or root causes of your issues. You always need to take into account that

    • a network connection might drop
    • a users switches from 3G / WiFi
    • the android devices “thinks” it’s connected while in fact it’s not

    Also, be very sceptical when using the Android ConnectivityManager / NetworkInfo. Only trust it when it states that it is not connected. If it is connected, check it yourself (as sometimes, user is on a hotspot and the only connectivity he has is with a login page).

    The application needs to handle all these scenarios properly. The way it’s presented to the user depends on the use-case (do you want the user to be informed of the error, do you silently ignore it and just retry, ….)

    In terms of retrying webservice connections, there are several ways to implement this :

    • exponential backoff
    • periodic rescheduling
    • event-driven triggering
    • retry-after moratorium intervals

    You need to start by putting sufficient logging both on the client (Android) and on the server (AWS) so that you can analyze the issues and draw the proper conclusions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So far we have developed apps in android that create database on runtime. We
I am working on a web service for which we have already developed apps
I have developed some apps for Android, and this questions stays always: How should
Hi there Im new to mobile application development. I had developed Android apps using
I have developed a VB.NET WCF service that recives and sends back data. When
We have developed a website that uses MVC, C#, and jQuery. In one of
We have developed a webservice that sits and runs in the context of a
I have developed about 300 Applications which I would like to provide with multi-language
I have developed a framework that is used by several teams in our organisation.
I have developed a simple application before testing it i want to check whether

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.