---
title: "Discussion on \"Everything you need to know about Parallelism, Threading, and Multi-threading in Python\" | Hashnode"
description: "Discussion on \"Everything you need to know about Parallelism, Threading, and Multi-threading in Python\". Introduction\nI guess everyone who opened this article has been coding for quite a while now. You should have already come across use-cases where you’d want to speed up specific operations in some parts of your code, right? Well, you're at the right p..."
url: "https://hashnode.com/posts/everything-you-need-to-know-about-parallelism-threading-and-multi-threading-in-python/62d023821c4e17e8e68fdeaa"
---

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

Discussion

# [Everything you need to know about Parallelism, Threading, and Multi-threading in Python](https://ayeshasahar.hashnode.dev/everything-you-need-to-know-about-parallelism-threading-and-multi-threading-in-python?utm_source=hashnode&utm_medium=feed)

Introduction I guess everyone who opened this article has been coding for quite a while now. You should have already come across use-cases where you’d want to speed up specific operations in some parts of your code, right? Well, you're at the right p...

Jul 14, 2022 · 8 min read · ayeshasahar.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#python3](https://hashnode.com/tag/python3)
-   [#operating-system](https://hashnode.com/tag/operating-system)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Ayesha Sahar](https://hashnode.com/@IAyeshaSahar)

@IAyeshaSahar · Pakistan

  
[View profile](https://hashnode.com/@IAyeshaSahar)

Developer | Designer | Tech Blogger

Interested in Python🐍 C++🤓 UI/UX 🌸 Web Development✨

## Responses 3

Markdown supported · ⌘↵ to post

[Akash Desarda](https://hashnode.com/@akashdesarda)

[Jul 22, 2022](https://hashnode.com/posts/everything-you-need-to-know-about-parallelism-threading-and-multi-threading-in-python/62d023821c4e17e8e68fdeaa/comment/62d9f66f59f0dc59d51f175c)

You should have included example for multiprocessing too. Also more practical example, easy to understand real world use case. Also I would suggest you to explore joblib, it much better option than the built-in implementation. It have a common api for peocess based & thread based parallelism.

[Ayesha Sahar](https://hashnode.com/@IAyeshaSahar)

[Jul 31, 2022](https://hashnode.com/posts/everything-you-need-to-know-about-parallelism-threading-and-multi-threading-in-python/62d023821c4e17e8e68fdeaa/comment/62d9f66f59f0dc59d51f175c#reply-62e66ffc053e6bd578426998)

I was planning on writing a separate article on multi-processing👀

Thanks for sharing! I'll check it out soon😊

[sadia umar](https://hashnode.com/@Sadia197)

[Jul 14, 2022](https://hashnode.com/posts/everything-you-need-to-know-about-parallelism-threading-and-multi-threading-in-python/62d023821c4e17e8e68fdeaa/comment/62d04755dec7a6eae9b58add)

Good write up👍

[Ayesha Sahar](https://hashnode.com/@IAyeshaSahar)

[Jul 15, 2022](https://hashnode.com/posts/everything-you-need-to-know-about-parallelism-threading-and-multi-threading-in-python/62d023821c4e17e8e68fdeaa/comment/62d04755dec7a6eae9b58add#reply-62d1633c2f551b044bc147b8)

Thanks!

[Pavel Morava](https://hashnode.com/@hanpari)

[Jul 14, 2022](https://hashnode.com/posts/everything-you-need-to-know-about-parallelism-threading-and-multi-threading-in-python/62d023821c4e17e8e68fdeaa/comment/62d02cbf6b0f8eeb0e066d12)

I wonder why you didn't mention asynchronous programming with the async keyword.

Right now, they are the preferred way when it comes to IO-bound operations.

Anyway, the implantation of GIL is not defined by Python per se, it is just a well-known design feature of CPython. The other Python implementations are often GIL-free.

[Ayesha Sahar](https://hashnode.com/@IAyeshaSahar)

[Jul 14, 2022](https://hashnode.com/posts/everything-you-need-to-know-about-parallelism-threading-and-multi-threading-in-python/62d023821c4e17e8e68fdeaa/comment/62d02cbf6b0f8eeb0e066d12#reply-62d02e4adec7a6eae9b58743)

Thanks for the clarification!

I just wanted to cover these concepts in this article. I'll cover that in a separate article :)
