W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: Persistent Storage vs. Database

From: Kyle Huey <me@kylehuey.com>
Date: Thu, 7 Mar 2013 22:36:40 -0800
Message-ID: <CAP045ArTK3eCsFCU2KZff7M51RqCQqafKbLz3aYPOf4o8AL-DA@mail.gmail.com>
To: Andrew Fedoniouk <news@terrainformatica.com>
Cc: public-webapps <public-webapps@w3.org>
On Thu, Mar 7, 2013 at 10:20 PM, Andrew Fedoniouk <news@terrainformatica.com
> wrote:

> Physical commit (write) of objects to storage happens on either
> a) GC cycle or b) on explicit storage.commit() call or on c) VM shutdown.

Persisting data off a GC cycle (via finalizers or something else) is a
pretty well known antipattern.[0]

At least it is easier than http://www.w3.org/TR/IndexedDB/ :)

Easier doesn't necessarily mean better.  LocalStorage is certainly easier
to use than any async storage system ;-)

 - Kyle

[0] e.g.
Received on Friday, 8 March 2013 06:37:48 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:52 UTC