PZPrajwal Zoreinunder-the-hood.hashnode.dev10I Thought My malloc Was Thread-Safe — I was wrong2d ago · 3 min read · I recently built a custom memory allocator in C. What started as a learning exercise turned into something deeper when I tried to make it thread-safe. At one point everything looked right: locks in plJoin discussion
SRSaurabh Ravteinsaurabh-ravte.hashnode.dev00How Node.js Handles Multiple Requests with a Single Thread6d ago · 4 min read · ** One thread — really?** Most web servers spawn a new thread (or process) for every incoming request. Node.js doesn't. It runs your JavaScript on a single thread one at a time, no parallel execution.Join discussion
MKMohit Kumarinimohit1o1.hashnode.dev11How Node.js Handles Multiple Requests with a Single ThreadApr 22 · 3 min read · The Core Confusion Node.js is single-threaded. But in real applications: thousands of users send requests at the same time APIs respond quickly system does not block So the question is: How does TAnirudh commented
SSSai Surya Velagainandroidunderload.hashnode.dev10Why Naive Parallelism Often Slows Down Android SystemsApr 13 · 6 min read · At some point, every engineer hits this instinct: “This is slow — let’s parallelize it.” On paper, it’s perfectly logical. If tasks are independent, running them concurrently should reduce total exeJoin discussion
VUVishal Uttam Maneinvishal-uttam-mane-sys-program.hashnode.dev00Concurrency vs Parallelism in Systems Programming: Building Efficient and Scalable SystemsMar 26 · 4 min read · Introduction In modern systems programming, performance is not just about faster processors; it is about how effectively software utilizes available resources. Concurrency and parallelism are two fundJoin discussion
BMBikash Mainaliinbikash8848.hashnode.dev00The Basics: What is a CPU Core?Mar 23 · 7 min read · A CPU core is a physical processing unit inside your CPU chip. Think of it as a worker in a factory. A single-core CPU has one worker; a quad-core CPU has four. Each core can independently execute insJoin discussion
BMBikash Mainaliinbikash8848.hashnode.dev00How to Use Locks in Multi-Threaded Java ProgramMar 22 · 3 min read · 1. Exclusive Lock(ReentrantLock): Only one thread can acquire the lock at a time. package org.example.concurrency; import java.util.ArrayList; import java.util.List; import java.util.concurrent.locksJoin discussion
MMMainak Mukherjeeinmainakkaniam.hashnode.dev00Understanding Concurrency in Backend SystemsMar 14 · 9 min read · Every backend system you build must handle multiple tasks simultaneously. A server that processes only one request at a time would immediately fail in a real-world environment where thousands of usersJoin discussion
NKNandini Karnakotaincorejavabynandini.hashnode.dev10Complete Guide to Multithreading in JavaMar 7 · 6 min read · Multithreading is one of the most powerful features of Java that allows a program to perform multiple tasks concurrently, improving CPU utilization and application performance. Modern applications sucJoin discussion
SShashaankarinsystemsnsentience.hashnode.dev00Concepts around Concurrency and Parallel ProgrammingFeb 25 · 6 min read · Concurrency vs Parallelism Many engineers use these words interchangeably. They are not the same. Concurrency Concurrency is the ability to run multiple tasks at the same time i.e., load multiple taskJoin discussion