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 ExtJS application which is invoked with some query string parameters. I
i have a file which contains a lot of update query and some other
I have some simple query: SELECT * FROM table You all know the result:
I have some codes read the query results from sqlite: while (sqlite3_step(statement) == SQLITE_ROW)
I have some funny deadlock caused by a stupid simple SQL UPDATE query, on
i have some apache logs and i want to be able to query the
I'm trying to rewrite some query strings I have in my URL like this
I have some data, yes, data. This data came from a MySQL query and
I was wondering, if I have some code such as: $result = $db->query($sql); //
i have a query that returns some users related to a specific user (Bob).

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.