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...Discussparallelism
Arthur RioProarthurrio.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·28 reads#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
Luis Rodero-Merinolrodero.hashnode.dev·Mar 10, 2024Using Cats Effect's MapRef(all code samples can be run using scala-cli) If you use Cats Effect (CE) it is likely you have found that you need a Map instance that has to be fiber-safe as several fibers can access it concurrently. MapRef is a type offered by CE std package that...DiscussMapRef
Vedant Mhatrevmhatre.com·Mar 9, 2024Concurrency in Operating Systems: Part OnePrinciples of Concurrency In the domain of concurrent computing, interleaving and overlapping are fundamental concepts facilitating the simultaneous execution of multiple processes. These principles enable systems, from uniprocessor to multiprocessor...Discuss·31 readsOS: Deep Diveoperating system
Stephan Yustephanyu.hashnode.dev·Mar 7, 2024#25: What are GenServers in Elixir?In a previous post, I did a deep dive into Elixir processes (see post #24) which are the lowest-level concurrency primitives in Elixir, but it’s pretty rare to use them directly. Instead, you will use libraries that let you build processes without wo...DiscussElixir
Mustafif KhanforMufiZ-Lang Blogmufiz.hashnode.dev·Mar 3, 2024SIMD in Mufi-LangWhile working on the v0.6.0 Mars Release for MufiZ, I decided to try something way beyond what I'm used to doing and decided to try and figure out how to implement SIMD into Mufi. The Problems So, let's start with the problems. Firstly, our Value str...Discussavx