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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T15:48:56+00:00 2026-05-14T15:48:56+00:00

I have some query. First of all let’s have an iPhone application flow which

  • 0

I have some query. First of all let’s have an iPhone application flow which a normal application has. ( Content based application )

  • Application launches & checks for the network availability
  • If network is available – iPhone downloads the data using web services or APIs
  • We can store these response ( web service response / api response ) into a *.plist file.
  • When we need to update the data, again web service is called & again entire data is stored *.plist file.

  • Now, assume that – I have a table ‘eBooks’ on Server & It has more than 500 entries.

  • Calling a API/web service will give response of 500 records.
  • OK – first time it is ok to wait for all response ( we might use LIBXML2 for chunks )
  • But what if when we frequently download this using web service.

Here there are two disadvantages

  • Wifi unnecessary usage
  • iPhone CPU overhead
  • Server CPU overhead.

Are you getting me?

Assume that there is no change on server why iPhone need to call API again. Means there are no change in entries & entries are 500 as it is then why to download it again?

Let me clarify again – the problem.

Assume that

  • an application has a Server + database = Customers ( 500 records currently )
  • there are 5 iPhone which retrieves this data
  • all iPhones have downloaded 500 records offline
  • Now, server has added a new record 501
  • iPhone must download only 1 record not 501 at all.

How is that possible?

  • 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-14T15:48:57+00:00Added an answer on May 14, 2026 at 3:48 pm

    You could add a timestamp to each of the entries. This timestamp is updated every time a change, addition or deletion is made on the server side.

    When doing a query, you supply a field indicating the latest timestamp known to the client. For the first query, this would be something like Epoch. For subsequent queries it would be the last known update.

    The server would then have to filter the entries, so it only returns those entries that have changed since the provided timestamp.

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

Sidebar

Related Questions

I have an access query which creates some output, 3 columns named e.g. A
I am running oracle and have a query which pulls some results from the
I have some ASP.NET web services which all share a common helper class they
I have some funny deadlock caused by a stupid simple SQL UPDATE query, on
I am debugging some code and have encountered the following SQL query (simplified version):
I have a MySQL query like this: SELECT *, SUM(...some SQL removed for brevety)
I have a large query (not written by me, but I'm making some modifications).
I'm writing a query to summarize some data. I have a flag in the
I have several hosts from which i want to do the same query. So
First of all I'm sorry if you feel this question has been raised before,

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.