Rohith Krohithkattamuri.hashnode.dev·Jul 8, 2024Concurrency (with Java) - pt 1A chunked up commentary about my understanding of concurrency. Oftentimes, the term parallelism colloquially gets mixed up with concurrency. Lets debunk the terms individually. Parallelism is multiple computations being performed at the same time (pa...DiscussJava
Kaustav Chakrabortynotes.iamkaustav.com·Jun 15, 2024Parallel Function Execution in Go Using ConcurrencyIntroduction As part of my exploration of Golang, I came across a popular feature: first-class support for concurrency. I believe we all understand the benefit or importance of concurrency. In the HTTP way, when an endpoint needs to fetch data from m...Discuss·58 readsGolang TutorialsGo Language
Basel Rabiabaselrabia.hashnode.dev·Jun 3, 2024Go Concurrency: Building BlocksIn Go, concurrency is a fundamental concept that allows multiple processes to be executed simultaneously, making efficient use of CPU time and resources. Go provides several key building blocks for implementing concurrency, which are designed to be s...DiscussGo Language
Nachiappan KumarappanforDev Chroniclesdev-chronicle.hashnode.dev·Apr 18, 2024Threads (And Tasks) run pseudo parallellyOnly one thread runs at any moment Processors of the past (or what is called as a core) are capable of executing only one instruction at a time. Consequently, only a single thread could be actively running at any given moment. This is due to the arch...Discuss·157 readsThreads - Tasks - Async/Awaitpseudo-parallel
Brett Rowberrybrettrowberry.com·Apr 17, 2024Concurrency and ParallelismI've been reading the 20th Anniversary Edition of the Pragmatic Programmer by Dave Thomas and Andy Hunt. Chapter 6 is on concurrency. Their definitions of concurrency and parallelism weren't new information, but I wouldn't have been able to state the...Discuss·32 readsparallelism
Arthur Rioarthurrio.com·Apr 8, 2024Interview Question: Best Size for a Thread Pool?Introduction This week I did an interview process where I needed to answer the question: Determine a threadpool size to handle 5000 requests where each request takes 10 milliseconds. This is a common problem in a production environment; every day we ...Discussinterview questions
Amodamodmathapati.hashnode.dev·Apr 8, 2024Maximizing Performance with Node.js ThreadsWe all hav heard that Node.js is known for its single-threaded, asynchronous programming model but is this true? Lets dive into that deeper! Traditionally, Node.js has been single-threaded, meaning it operates on a single process. While this design i...DiscussNode.js
Joel K Nyongesajnyongesa.hashnode.dev·Apr 2, 2024Concurrency & async/await in FastAPIThis is part of my #30DaysOfFastAPI challenge. I will be using FastAPI's official documentation, foud here. Feel free to join in 😉. Introduction to FastAPI Before we dive in, what is FastAPI? Well, FastAPI is a modern, fast, web framework for buildi...Discuss#30DaysofFastAPI
Luis Rodero-Merinolrodero.hashnode.dev·Mar 24, 2024The dining philosophers problem with Scala 3 and Cats EffectThe dining philosophers problem is a classical concurrency problem. This post shows an example of how you can use Scala 3 and the Cats Effect (CE) libraryto implement a solution of that problem. 💡 All code samples can be compiled using scala-cli. T...DiscussScala
Himanshu Chauhanhimanshuchauhan.hashnode.dev·Mar 11, 2024Day 25: Concurrency and Parallelism (Threading, Multiprocessing) with practicalThis is the twenty-fifth blog in my Python learning journey, and it's the second one discussing Concurrency and Parallelism in Python. In the previous blog, we covered the theoretical aspects of these topics, and now we'll dive into their code implem...DiscussPython Python