© 2022 Hashnode
#multithreading
Hey Kotliners👋,In this blog, we are gonna do the experiment with the very 🔥hot StateFlow as the title of this blog suggests, we have to build a utility which can help us combining multiple StateFlow…
This blog will demo running Flask with Gunicorn and how to enable multiple workers. First, let's start with this simple Flask app called app.py: which just has two endpoints: /healthcheck endpoint w…
Scraping websites for data is a typical use case for developers. Whether it's a side project or you're building a startup, there are many reasons to scrape the web. For example, if you want to start a…
Overview Multithreading is an important concept in Computer Architecture and Programming. It is one of the most common processing techniques used to increase the amount of processes that the computer …
Thread debugging has the reputation of being one of the most arduous tasks for developers. I beg to differ. Asynchronous debugging is so much worse. It’s supposed to solve the problems of threading an…
What and Why of unit tests? Let’s not waste time on what is a unit test and what are their benefits. I think you all know it but want to learn how to write those tests! In case you want to know more …
We all know that threading changed the way of task execution entirely. Since every masterpiece has its consequences, threading is not counted as an exception. In this article, we'll discover the dependent threads and the way that threads ma…
Have you ever wondered how to know how much CPU and memory resources is your app taking during a week? Or how to collect and visualize this data to get some useful insights? In this guide, I will show…
Hey Kotliners👋, in this blog, we'll learn to use the concept of Semaphore with Kotlin coroutines to limit parallelism. You might have learned about the semaphores let's understand it one more time. W…
What is @Volatile? Volatile keyword is used to modify the value of a variable by different threads. It is also used to make classes thread safe. It means that multiple threads can use a method and ins…