Giter Club home page Giter Club logo

concurrency-in-depth's Introduction

Concurrency in Depth

This repository contains examples to help engineers understand concurrency and multi-threading concepts. These concepts can be difficult to grasp, even for experienced developers, so the examples in this repository are designed to help build intuition around multi-threaded code.

These videos are part of the "Concurrency In Depth" series by Arpit Bhayani which can be found on his YouTube channel Asli Engineering by Arpit Bhayani.

Introduction

As software systems become more complex, concurrency and multi-threading have become increasingly important. However, many engineers find it difficult to understand concurrent programs and to reason about their behavior. This repository aims to provide clear, concise examples that demonstrate key concepts in concurrency and multi-threading.

Concurrency refers to the ability of a system to run multiple tasks simultaneously, while multi-threading refers to the ability of a program to use multiple threads of execution to perform tasks in parallel. Concurrency and multi-threading are important concepts in software engineering because they allow for efficient use of system resources and can improve the responsiveness of applications.

Getting Started

To run the examples in this repository, you will need a basic understanding of concurrency and multi-threading concepts. If you are new to these concepts, we recommend reading some introductory material before diving into the examples.

To run the examples, navigate to the directory for the example you want to run and follow the instructions in the README.md file for that directory.

Topics

This repository covers the following topics:

Each example contains a README.md file that provides instructions for running the example and an explanation of the concepts demonstrated in the example.

Pipeline

  • Atomic Operations vs Locks - Bechmark and Trade-offs
  • Concurrency is not parallelism
  • Is python really multi-threaded?
  • Python GIL impact on multi-threading
  • Are fibres lightweight threads? How do they work?
  • What are Goroutines and how are they implemented?
  • Golang Concurrency Patterns

concurrency-in-depth's People

Contributors

arpitbbhayani avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.