W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2009

Web Storage Mutex

From: Joran Greef <joran@sexbyfood.com>
Date: Fri, 11 Dec 2009 08:36:11 +0200
Message-Id: <9F996AB3-8708-48EF-9917-9F8832266CEA@sexbyfood.com>
To: public-webapps@w3.org
"The use of the storage mutex to avoid race conditions is currently considered by certain implementors to be too high a performance burden, to the point where allowing data corruption is considered preferable. Alternatives that do not require a user-agent-wide per-origin script lock are eagerly sought after."

It's not a question of mutex versus data corruption, but of implementation:

Database storage is served by SQLite. LocalStorage would be better served by Tokyo Cabinet: http://1978th.net/tokyocabinet/. I doubt the current localStorage implementation is better than the current Tokyo Cabinet implementation.

Joran Greef
Received on Friday, 11 December 2009 09:14:08 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:35 GMT