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

  • SEARCH
  • Home
  • 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 6856333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T01:52:20+00:00 2026-05-27T01:52:20+00:00

I just completed an Android application that uses web services to connect to a

  • 0

I just completed an Android application that uses web services to connect to a remote database. I was working on localhost.

Now, I plan to host my web services on a server. Let’s say I have my Android application installed on any number of different client smartphones. Each smartphone user calls the web service at the same time.

Now how does the server handle these requests? Does it execute one thread per request? I want to know about the server processing in detail. Considering, all phones use GPRS, will there be any sort of delay in such a situation?

BTW, my web services are all SOAP based and the server I plan to use later will be an SQL Server. I have used .NET framework for creating web services.

  • 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-27T01:52:21+00:00Added an answer on May 27, 2026 at 1:52 am

    Its for the general concept, not a Android specific

    Usually, each of the users sends an HTTP request for the page. The server receives the requests and delegates them to different workers (processes or threads).

    Depending on the URL given, the server reads a file and sends it back to the user. If the file is a dynamic file such as a PHP file, the file is executed before it’s sent back to the user.

    Once the requested file has been sent back, the server usually closes the connection after a few seconds.

    Look at How Web Servers Work

    EDIT:

    For HTTP uses TCP which is a connection-based protocol. That is, clients establish a TCP connection while they’re communicating with the server.

    Multiple clients are allowed to connect to the same destination port on the same destination machine at the same time. The server just opens up multiple simultaneous connections.

    Apache (and most other HTTP servers) have a multi-processing module (MPM). This is responsible for allocating Apache threads/processes to handle connections. These processes or threads can then run in parallel on their own connection, without blocking each other. Apache’s MPM also tends to keep open “spare” threads or processes even when no connections are open, which helps speed up subsequent requests.

    Note:

    One of the most common issues with multi-threading is “race conditions”– where you two requests are doing the same thing (“racing” to do the same thing), if it is a single resource, one of them is going to win. If they both insert a record into the database, they can’t both get the same id– one of them will win. So you need to be careful when writing code to realize other requests are going on at the same time and may modify your database, write files or change globals.

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

Sidebar

Related Questions

i just completed a web based chat application based on ajax/php. But the problem
I have an android application that begins by downloading a large database to the
In my just-completed project, I was working getting distributed transactions working. We implemented this
Not that level of failure indeed. I just completed the 4 part tutorial from
I am responsible for a Delphi/Win32 project management application. I have just completed a
I am working on an Android application which is supposed to play videos over
We currently have an application that starts its own background services to manage syncing
I'm working on an Android widget that will show the current network state (i.e
I have an application I am writing for Android that basically does a screen
I am going to implement an application that is gathering data from Android device.

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.