5 ms·
Has anyone used web workers at the edge ... like with cloudflare workers?
by whereareyouwow 7y ago
Has anyone used web workers at the edge ... like with cloudflare workers?
- floatboth 7y agoDespite the similar naming, "Web Workers" is a specific browser API that has nothing to do with "the edge" or any server-side thing.
- whereareyouwow 7y agoPoint is well taken. I have not tried cloudflare workers yet. It seemed like at least the architecture was the same. But I guess you would not have access to the full browser API. It seems like you can still play around with request / response side of things though.
- kentonv 7y agoCloudflare Workers is so-named because it uses the same API as Service Workers, which are one kind of Web Worker. That said, Cloudflare Workers currently implements only a subset of the APIs that are normally available in the browser, though missing APIs are being added all the time. So, your understanding is basically correct. (I'm the tech lead for Cloudflare Workers.)