[whatwg] Asynchronous database API feedback

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