<div class="gmail_quote">On Wed, Sep 16, 2009 at 4:47 PM, Michael Nordman <span dir="ltr"><<a href="mailto:michaeln@google.com">michaeln@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">> <span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse">Is it? Can you provide some use cases? :-)</span><div><span style="font-size:13px"></span><font face="arial, sans-serif"><span style="border-collapse:collapse"><br>
</span></font></div></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse">Um...sure... an app sets up a shared worker whose function it is to sync up/down changes to the data the application manages... </span></font></div>
<div><font face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse">* pageA makes changes, other pageB sees it by virtue of an event and reflects change it it view of the world... worker sees the change to by virtue of the same event and pushes it up.</span></font></div>
<div><font face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse">* worker receive delta from server... and makes the change locally... pageA and B see that by virtue of the event.</span></font></div>
<div><font face="arial, sans-serif"><span style="border-collapse:collapse"><br></span></font></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse"><br>
</span></font></div><div><font face="arial, sans-serif"><span style="border-collapse:collapse">What is the use case for silo'd worker storage?</span></font></div></blockquote><div><br></div><div>I mentioned this earlier and also explained that a work-around is to do this via message passing rather than shared memory. As I explained in a couple emails, shared memory is just an "optimization". And, as Robert explained, it's not ever clear whether it's a performance optimization or not...it might just be a simpler way to program.</div>
<div><br></div><div>When I asked if you had any use cases, I was asking whether there were any use cases that could not be solved efficiently/reasonably elegantly by worker-only storage.</div></div>