W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2012

Re: Two years on and still no sensible web storage solutions exist

From: Florian Bösch <pyalot@gmail.com>
Date: Mon, 12 Nov 2012 13:43:58 +0100
Message-ID: <CAOK8ODj9mCwtPaH=Q45s8CW2tAqaRwguFq4ZE+KJyhZGKrENag@mail.gmail.com>
To: Todd Blanchard <toddvblanchard@gmail.com>
Cc: Charles McCathie Nevile <chaals@yandex-team.ru>, Andrew Wilson <atwilson@google.com>, Webapps WG <public-webapps@w3.org>
On Mon, Nov 12, 2012 at 1:36 PM, Todd Blanchard <toddvblanchard@gmail.com>wrote:

> Wondering what is wrong with the blob type in SQLite?
>
A couple of things
1) Array buffers can't be passed to websql
2) websql is subject to the hard quota (5mb) and I'm talking about
gigabytes of data
3) traditionally blobs in RDBMSes are slow

Of course you could use base64 encoding, unfortunately atob btoa do not
support array buffers, and the methods are also not standardized, and there
don't exist native methods for base64 encoding/decoding to array buffers.
Base64 encoding in JS of hundreds of megabytes or a couple gigabytes is
unfortunately not quite a feasible prospect, especially not on weaker
machines.
Received on Monday, 12 November 2012 12:44:25 GMT

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