W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

Re: [WebSQL] Any future plans, or has IndexedDB replaced WebSQL?

From: Shawn Wilsher <sdwilsh@mozilla.com>
Date: Wed, 06 Apr 2011 09:49:40 -0700
Message-ID: <4D9C99A4.4010005@mozilla.com>
To: Joran Greef <joran@ronomon.com>
CC: Mikeal Rogers <mikeal.rogers@gmail.com>, public-webapps@w3.org
On 4/4/2011 10:18 AM, Joran Greef wrote:
> How would you create an index on an existing object store in IndexedDB containing more than 50,000 objects on an iPad, without incurring any object deserialization/serialization overhead, without being an order of magnitude slower than SQLite, and without bringing the iPad to its knees? If you can do it with even one IndexedDB implementation out there then kudos and hats off to you. :)
You keep bringing this point up, but only a naive implementation of 
IndexedDB would bring a device to it's knees (or a poorly implemented 
thread scheduler, which I don't expect the iPad to have).  The API is 
asynchronous, which means it doesn't need to (nor should it) happen on 
any thread that the UI is being drawn on.

You still have a point about it possibly taking longer, but even then, 
that will be implementation dependent.

Cheers,

Shawn



Received on Wednesday, 6 April 2011 16:49:59 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:44 GMT