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
Azanul Haquejohndoe297.hashnode.dev·Apr 14, 2024Cooking concurrently with PythonConcurrency refers to the ability of a program to manage multiple tasks seemingly at the same time. While a single CPU core can only execute one instruction at a time, concurrency allows programs to juggle multiple tasks by rapidly switching between ...DiscussPython
Ryan Leerlee.dev·Apr 14, 2024Practical Use Cases for Effect-TS: Polling AI APIsIntro If you're new to Effect-TS, this is the start of a mini series where we'll explore practical use cases for it. Looking back at fp-ts, Effect-TS is a significant improvement because it enables true functional programming in a concurrent environm...Discuss·89 readseffect-ts
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
Harshith Sai Vblog.harshithsai.tech·Apr 4, 2024Thread Group in JAVATasks are a logical unit of work, we use threads so that these tasks can run asynchronously. We know that there are two policies for executing a particular task using threads- execute them sequentially in a single thread and execute each task in its ...DiscussJava
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·27 reads#30DaysofFastAPI
Nuibb Hasannuibb.hashnode.dev·Apr 1, 2024Why Actor in Swift Don't Support InheritanceIn the world of concurrent programming, Swift's actors provide a powerful abstraction for ensuring thread-safety and avoiding common concurrency pitfalls like data races. However, one design decision that might surprise some developers is the lack of...Discuss·1 likedata-race
Bezyl Mophat Otienomophat.hashnode.dev·Mar 24, 2024Title: Understanding Semaphores in C#: A Guide to Concurrent ProgrammingConcurrency is an essential aspect of modern software development, allowing applications to perform multiple tasks concurrently to improve performance and responsiveness. However, concurrent access to shared resources can lead to race conditions and ...DiscussC#
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
Jaydeep Ravatsuperjavacoder.site·Mar 23, 2024Unleashing the Power of Concurrency: Java Multithreading ExplainedThe digital world thrives on responsiveness. We expect applications to react instantly, whether we're downloading a file, streaming a video, or simply waiting for a web page to load. However, single-threaded programs can often feel sluggish, especial...Discuss·1 likeJava LearningJava