<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Mar 26, 2017 at 1:44 PM, Anne van Kesteren <span dir="ltr"><<a href="mailto:annevk@annevk.nl" target="_blank">annevk@annevk.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sun, Mar 26, 2017 at 11:03 AM, Dão Gottwald <<a href="mailto:dgottwald@mozilla.com">dgottwald@mozilla.com</a>> wrote:<br>
> Kris, what lead you to wanting to use IndexedDB here? What are the tradeoffs<br>
> compared to mozstorage or plain JSON (see sessionstore)?<br>
<br>
</span>Not blocking on I/O seems pretty important, especially for UI. I'm<br>
surprised we don't make more use of it.<br></blockquote><div><br></div><div>Sqlite.jsm does all I/O off the main-thread. I'm not saying it should be used here, since every storage case must be evaluated by itself based on its requirements (all of osfile+jsonl+z4, sqlite.jsm or indexeddb may be valid choices depending on those).<br></div></div><br></div></div>