Re: Persistent Storage vs. Database

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.
http://blogs.msdn.com/b/oldnewthing/archive/2010/08/09/10047586.aspx

Received on Friday, 8 March 2013 06:37:48 UTC