W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2014

RE: Indexed DB Transactions vs. Microtasks

From: Domenic Denicola <domenic@domenicdenicola.com>
Date: Thu, 19 Jun 2014 05:48:43 +0000
To: Adam Klein <adamk@chromium.org>
CC: Jonas Sicking <jonas@sicking.cc>, Joshua Bell <jsbell@google.com>, "public-webapps@w3.org" <public-webapps@w3.org>, Yehuda Katz <wycats@gmail.com>, Rafael Weinstein <rafaelw@google.com>
Message-ID: <67893dc1e01b471ea5aceef6a777ada0@BN1PR05MB325.namprd05.prod.outlook.com>
From: adamk@google.com [mailto:adamk@google.com] On Behalf Of Adam Klein

> This seems orthogonal to bucketing. The IDB transaction deactivation step isn't a sort of work that we'd want to bucket (as I argued in my previous message, treating this IDB work as a task leads down some bad roads)

Hmm, it seems pretty related to me. In particular if we say that the IDB microtask bucket always runs after all other microtask buckets, doesn't that achieve the goals? It's essentially a generalization of your (1), by putting them into a larger conceptual framework.

More explicitly, it achieves (1) since the last bucket in the microtask list is essentially "nanotasks". But if we later decided something else needed to run after IDB (your "picotasks"), then we could demote IDB to second-to-last bucket without having to overhaul the overall model.
Received on Thursday, 19 June 2014 05:49:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:25 UTC