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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:06:39+00:00 2026-05-25T01:06:39+00:00

I have a mobile app on android that needs to send small amounts of

  • 0

I have a mobile app on android that needs to send small amounts of data (id, lat and long coords) every 30 seconds to be stored in a SQL Server database sitting on an amazon ec2 instance. As an example usage, say that this app has 500 current users all sending data every 30 seconds. For proof of concept I created a windows service in c# running on the database server which listens for connections on a specific tcp port; it threads, and writes the data to the database. Now this works for the 5 users I tested with but I know there are better ways and I especially do not want the insert statements to be done with a program running on the database server. So my question is, what is the correct way to handle repetitive data streams from a large user base that scales in a manageable way. I have read information regarding implementing webservices to do this but I am not sure if that is the correct solution.

Thank you for any information.

  • 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-25T01:06:40+00:00Added an answer on May 25, 2026 at 1:06 am

    Using a web service approach is definitely more scalable than using a Windows service. If your usage grows enough to justify it, it will be also be easier to deploy your web service in a new EC2 instance (or to multiple load-balanced instances) instead of using a windows service which shares resources with your DB instance. It is also much more manageable, especially under AWS, where you can scale your infrastructure with a few clicks.

    Also, under a web service (or a web application, if you prefer), it is easier to set up access control and to take other preventive security measures.

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

Sidebar

Related Questions

I have made small app for Android mobile. In one situation I am not
I have a simple Android App using simple js, jquery mobile and phonegap that
I have a mobile web site and a mobile app for Android that can
I have a mobile app that is using LinqToDatasets to update/insert into a SQL
I have a mobile app webservice client that connects to a WCF webservice(on my
I have a windows mobile app (mymobiler) that i am trying to install and
I have a jQuery Mobile web app which targets iOS and Android devices. A
I have a web app, that also has an iPhone and Android app using
I have an Android app that communicates with a server via asynchronous socket connection
I am creating an iPhone app that I feel needs to have a receipt

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.