Romman Sabbirrommansabbir.com·Jul 25, 2024Understanding ConcurrentHashMap in Kotlin/JavaIntroduction In multi-threaded programming, managing data consistency and thread safety is paramount. A common challenge is efficiently managing a shared resource without compromising on performance. In Java and Kotlin, the ConcurrentHashMap is a key...Discuss·38 readsKotlinconcurrenthashmap
Durlabh Sharmablog.durlabhsharma.com·Jul 18, 2024Understanding Virtual Threads in Java 21Wait, don’t we already have Threads in Java? To start with virtual threads, it's imperative to understand the existing Threads API in Java very briefly. Till Java 19, all the JVM Threads had a direct mapping with an underlying native OS thread which ...Discuss·49 readsJava
Chetan Dattachetan77.hashnode.dev·Jul 17, 202431 Java - Multithreading 8 (Shutdown | Scheduler | ThreadLocal | Virtual Thread)Executors Important Methods Shutdown Initiates orderly shutdown of the ExecutorService AFter calling shutdown, Executor will not accept new task submission. Already submitted tasks, will continue to execute AwaitTermination It's an optional fun...DiscussJavaPlatform Threads
Chetan Dattachetan77.hashnode.dev·Jul 15, 202430 Java - Multithreading 7 (Executors | Fork-Join Pool)Brief Executors provides Factory methods which we can use to create Thread Pool Executor. Threase are present in java.util.concurrent package. Fixed ThreadPoolExecutor newFixedThreadPool method creates a thread pool executor with a fixed no. of ...DiscussJavaWork-Stealing-pool
Animesh Kumaranimeshk.hashnode.dev·Jul 2, 2024How Node.js Manages Multiple Requests: Understanding the Event-Driven ModelNode.js is renowned for its efficiency in handling multiple requests despite being single-threaded. This unique capability makes it a popular choice for building scalable network applications. But how exactly does Node.js achieve this? Let’s dive in ...Discuss·10 likes·42 readsNode.js
mahdim--mdy--m.hashnode.dev·Jun 27, 2024Understanding Threads and Their Uses in Node.jsIn the bustling world of computer science, threads are like tiny, independent workers within a larger workshop, a process. Imagine a single process as a factory. This factory has various tasks to complete, from assembling parts to running quality che...DiscussThreads
bandejibandeblogs.hashnode.dev·Jun 22, 2024Operating System Part-2How OS creates a process? Initializes the program and the static data. Allocate stack for variables. Allocate memory space from heap. I/O tasks. OS handles the stuff to main(). What is the Architecture of Process? What is PCB? Process Control...Discussoperating system
Aaditya Kediyaliaadidev.hashnode.dev·Jun 10, 2024How Threads and Concurrency Work in Linux SystemsUnderstanding Threads and Concurrency in Linux Concurrency is a fundamental aspect of modern computing, enabling programs to handle multiple tasks simultaneously. In the context of Linux, understanding threads and concurrency is crucial for developin...DiscussThreads
FMZ Quantfmzquant.hashnode.dev·Jun 7, 2024Application of the "__Thread" function in JavaScript strategy designIn the initial design of FMZ strategy, if asynchronous concurrent operations are required, the exchange.Go() function can only be used to achieve concurrent execution of FMZ encapsulated interface, and it is not possible to concurrently execute some ...DiscussJavaScript
André Felipe Costa Bentobentodev.hashnode.dev·May 27, 2024Understanding Threads in JavaIntroduction Threads are a fundamental concept in Java programming, enabling concurrent execution of tasks. Understanding threads is crucial for creating efficient and responsive applications. This post will delve into the theoretical aspects of thre...Discuss·39 readsJava