---
title: "Arun kumar Velu (@arunkumarvelu) | Hashnode"
description: "#web_engineer, #frontend. Read the latest articles by Arun kumar Velu on Hashnode."
url: "https://hashnode.com/@arunkumarvelu"
---

@arunkumarvelu

# Arun kumar Velu

@arunkumarvelu · Chennai, India · Joined December 2025

#web\_engineer, #frontend

## Comments

[I haven’t benchmarked WebAssembly inside a Web Worker for this post, so I wouldn’t claim a performance improvement yet. It would be interesting to measure worker startup, Wasm loading/initialization, and computation separately, then compare them with JavaScript on the main thread and JavaScript in a worker. My expectation is that startup costs matter more for short, one-off tasks, while reusing an initialized worker may make more sense for repeated heavy calculations—but I’d want measurements for the specific workload before drawing a conclusion.](https://hashnode.com/posts/web-workers-vs-shared-workers-vs-service-workers-a-practical-guide-to-choosing-the-right-one/6ac6389bb529833a337e24dc/comment/6ac78ab96036317a6ec56049#reply-6ac78e2fb04c802520c596fe)

Reply · Article · Oct 8 · [Web Workers vs Shared Workers vs Service Workers: A Practical Guide to Choosing the Right One](https://hashnode.com/posts/web-workers-vs-shared-workers-vs-service-workers-a-practical-guide-to-choosing-the-right-one/6ac6389bb529833a337e24dc)

[a cancellation message cannot interrupt a synchronous JavaScript loop already running in that worker. The worker must divide expensive work into chunks and yield between them, giving its event loop a chance to receive the cancellation message. setTimeout() is one way to schedule the next chunk; repeatedly awaiting Promise.resolve() is not an equivalent yield to incoming message events because microtasks run before the next task.](https://hashnode.com/posts/web-workers-vs-shared-workers-vs-service-workers-a-practical-guide-to-choosing-the-right-one/6ac6389bb529833a337e24dc/comment/6ac7741bfb17a98938662ab5#reply-6ac78cc52f2b39f099cb38b7)

Reply · Article · Oct 8 · [Web Workers vs Shared Workers vs Service Workers: A Practical Guide to Choosing the Right One](https://hashnode.com/posts/web-workers-vs-shared-workers-vs-service-workers-a-practical-guide-to-choosing-the-right-one/6ac6389bb529833a337e24dc)
