[whatwg] Asynchronous database API feedback

Philipp Kempgen philipp.kempgen at amooma.de
Tue Dec 11 12:10:24 PST 2007


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



More information about the whatwg mailing list