Re: [slightlyoff/ServiceWorker] consider allowing multiple worker thread instances for a single registration (#756)

Compared to the folks on the list that are working on this, I think I would have a hard time pouring water out of a bucket with instructions on the bottom.  So feel free to take this with a giant grain of salt... but what if there were a new kind of Worker ( a FetchWorker ) that could be provided as an argument to onfetch.  Like self.on('fetch', new FetchWorker('fetch.js' )).  That way you could parallelize the hell out of that FetchWorker without making everyone manage state in SWs with IndexedDB... which (speaking on behalf of the most obtuse 5% of SW users) sounds about as much fun as being a rattlesnake in a room full of rocking chairs.  It would also cleave nicely with the "Progressive Enhancement" philosophy of ServiceWorkers.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/756#issuecomment-237850490

Received on Friday, 5 August 2016 14:52:43 UTC