W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2007

[whatwg] Asynchronous database API feedback

From: Philipp Kempgen <philipp.kempgen@amooma.de>
Date: Tue, 11 Dec 2007 21:10:24 +0100
Message-ID: <475EEEB0.8010109@amooma.de>
Aaron Boodman wrote:

> Or does
> globalStorage not guarantee that data is written when the setter
> returns?

I guess that depends on the database backend, i.e. if it's
ACID compliant, if it guarantees that the operation is
commited, if it makes sure the data is flushed to the storage
device or even makes sure that the buffers in the kernel and
inside the disk are flushed.

Javascript authors should probably be prepared for cases
where what they wrote to the storage somehow disappeared.
(Users might simply delete their storage.)

Philipp Kempgen
Received on Tuesday, 11 December 2007 12:10:24 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:59 UTC