---
title: "Discussion on \"Web Workers in JavaScripts.\" | Hashnode"
description: "Discussion on \"Web Workers in JavaScripts.\". How can we achieve concurrency in Javascript?"
url: "https://hashnode.com/posts/web-workers-in-javascripts/60ae62255c02001765cf2e60"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Web Workers in JavaScripts.](https://adarsh-thakur.hashnode.dev/web-workers-in-javascripts?utm_source=hashnode&utm_medium=feed)

How can we achieve concurrency in Javascript?

May 26, 2021 · 5 min read · adarsh-thakur.hashnode.dev  
Read the article

-   [#2articles1week](https://hashnode.com/tag/2articles1week)
-   [#hashnode](https://hashnode.com/tag/hashnode)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Adarsh Thakur](https://hashnode.com/@adarsh-thakur)

@adarsh-thakur · India

  
[View profile](https://hashnode.com/@adarsh-thakur)

Web Developer 🤓 🇮🇳

I am Developer from 🇮🇳. Professional | Tutor | Helper

## Responses 3

Markdown supported · ⌘↵ to post

[Saurabh Mhatre](https://hashnode.com/@saurabhmhtr)

[May 27, 2021](https://hashnode.com/posts/web-workers-in-javascripts/60ae62255c02001765cf2e60/comment/60af391b5c02001765cf3b22)

Useful article. Can you also give example of any practical or popular projects where web workers are used to improve performance?

[Adarsh Thakur](https://hashnode.com/@adarsh-thakur)

[May 27, 2021](https://hashnode.com/posts/web-workers-in-javascripts/60ae62255c02001765cf2e60/comment/60af391b5c02001765cf3b22#reply-60af59479b1e2e1dccbcab86)

Thanks, Saurabh. Glad, you liked the article.

The implementation may vary based on the requirement there, the one that I have used to improve application performance is with the help of [CacheStorage API](https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage). In that is cache some of my application files such as(`main.css etc`), this way we can improve the application performance a lot.

There are other uses like to do background syncing(dedicated or shared worker), and using Push API to send and receive push notifications (ServiceWorker).

[Okiki Ojo](https://hashnode.com/@okikio)

[Oct 15, 2021](https://hashnode.com/posts/web-workers-in-javascripts/60ae62255c02001765cf2e60/comment/60af391b5c02001765cf3b22#reply-616a0d8353401f641ba18d4f)

[Astro](https://astro.build/) uses `SharedWorkers` through [`@okikio/sharedworker`](https://blog.okikio.dev/sharedworker) for it's [repl](https://astro.build/play), so, does [bundle.js.org](https://bundle.js.org/).

[Harshada Shirole](https://hashnode.com/@harshadashirole)

[May 26, 2021](https://hashnode.com/posts/web-workers-in-javascripts/60ae62255c02001765cf2e60/comment/60ae66705c02001765cf2ee3)

Totally new concept 🎉 Keep it up buddy.waiting for more new concepts like this.

[Adarsh Thakur](https://hashnode.com/@adarsh-thakur)

[May 26, 2021](https://hashnode.com/posts/web-workers-in-javascripts/60ae62255c02001765cf2e60/comment/60ae66705c02001765cf2ee3#reply-60ae69342ef63a174032d177)

Thanks. Glad You liked it...
