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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:04:07+00:00 2026-05-28T01:04:07+00:00

I’m trying to decide what would be the most efficient way to communicate between

  • 0

I’m trying to decide what would be the most efficient way to communicate between client device (mobile) and server.

Currently I have a generic web service that uses reflection to pass requests in specific directions. I have found area where I can re-use code, but it would result in sending more parameters in the request.

Would it be more efficient to:

a) Send the parameters and re-use code .

or

b) Send the minimum number of parameters to the server and create separate methods for each different request.

This is my first time creating a mobile application and thought it would be nice to know the most efficient means of comms, under these circumstances.

Any reply is greatly appreciated.

  • 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-28T01:04:08+00:00Added an answer on May 28, 2026 at 1:04 am

    The exact answer depends mostly on bandwidth and latency. Though the two are related they are not identical.

    Consider the extremes: if your link is capable of gigabyte-per-second bandwidth but every packet takes 40 minutes, you would obviously do best to minimize dialogs and send more data than you need to in every packet, just to reduce the number of round-trips it takes.

    If you’ve got a 110 baud serial link but latency is 0.001 seconds, then sending as little data as possible and performing dialogs to ask for and receive only the information requested makes the most sense.

    The decision is almost never this obvious: mostly we have reasonable bandwidth and reasonable-enough latency, so the decision is harder to make. In my experience, mobile applications feel like they have pretty poor latency (my phone just now returned ping times between 4000 and 200 milliseconds to three different sites; 300 ms was average) which is one reason why “mobile webpages” that break a page into more than one page are so horrible to read — you can spend more time waiting for content to arrive than actually reading on some sites.

    But once the transfers get going, they feel quick enough — downloading megabytes for images doesn’t seem so bad, at least not for something I hold in my hand and runs on batteries for nearly a week without re-charging.

    Without knowing the exact numbers you’re talking about, I’d recommend erring towards fewer packets sending more data — avoid round-trip pauses wherever you can. If all else fails, measure — find the average latency, calculate the packet sizes you’re thinking about, and do the math on how long it would take to carry out the “conversations” with the different parameters.

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am trying to loop through a bunch of documents I have to put
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I would like to count the length of a string with PHP. The string
this is what i have right now Drawing an RSS feed into the php,
I have a French site that I want to parse, but am running into
I want use html5's new tag to play a wav file (currently only supported

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.