---
title: "#concurrency articles | Hashnode"
description: "Explore 796 articles tagged #concurrency on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/concurrency"
---

Tag

# #concurrency

796 posts · 51 followers

[Kartikey Sharma](https://hashnode.com/@kartikey5960) · [5h ago](https://hashnode.com/posts/concurrency-parallelism-and-threads/6afcadc4bd404e9f5a4691a6)

### [Concurrency, Parallelism and Threads](https://kartikeyostep.hashnode.dev/concurrency-parallelism-and-threads?utm_source=hashnode&utm_medium=feed)

So far, we have built a foundation around process creation and management (Process and Process API) and how the OS safely switches between them (Limited Direct Execution). A fundamental problem which

13 min read · [kartikeyostep.hashnode.dev](https://kartikeyostep.hashnode.dev/concurrency-parallelism-and-threads?utm_source=hashnode&utm_medium=feed)

[Min SiThu](https://hashnode.com/@itsmeminsithu) · [5m ago](https://hashnode.com/posts/threads-vs-processes-how-your-computer-does-two-things-at-once/6afcfcdddc23fa53a3c70c42)

### [Threads vs Processes: How Your Computer Does Two Things at Once](https://itsmeminsithu.hashnode.dev/threads-vs-processes-how-your-computer-does-two-things-at-once?utm_source=hashnode&utm_medium=feed)

To put it simply, a process is a running program with its own private memory, and a thread is a worker inside that program who shares the memory with the other workers beside it. Your browser is a pro

7 min read · [itsmeminsithu.hashnode.dev](https://itsmeminsithu.hashnode.dev/threads-vs-processes-how-your-computer-does-two-things-at-once?utm_source=hashnode&utm_medium=feed)

[Shitanshu Jha](https://hashnode.com/@shitanshu) · [22h ago](https://hashnode.com/posts/taking-shopease-to-1-000-concurrent-users-high-concurrency-load-testing-with-k6/6afbbafddfc144651698ca02)

### [Taking ShopEase to 1,000 Concurrent Users: High-Concurrency Load Testing with k6](https://shitanshu.hashnode.dev/taking-shopease-to-1-000-concurrent-users-high-concurrency-load-testing-with-k6?utm_source=hashnode&utm_medium=feed)

Testing ShopEase with 1,000 concurrent VUs and 15,946+ requests using k6.

4 min read · [shitanshu.hashnode.dev](https://shitanshu.hashnode.dev/taking-shopease-to-1-000-concurrent-users-high-concurrency-load-testing-with-k6?utm_source=hashnode&utm_medium=feed)

[ZyVOP](https://hashnode.com/@zyvop) · [1d ago](https://hashnode.com/posts/database-deadlocks-explained-why-they-happen-and-how-to-prevent-them-ndkxl/6afabae84521f5b4267bc2b9)

### [Database Deadlocks Explained: Why They Happen and How to Prevent Them](https://blog.zyvop.com/database-deadlocks-explained-why-they-happen-and-how-to-prevent-them-ndkxl?utm_source=hashnode&utm_medium=feed)

Understand why database deadlocks happen, how PostgreSQL, MySQL and SQLite handle them, and how to prevent them with practical fixes.

13 min read · [blog.zyvop.com](https://blog.zyvop.com/database-deadlocks-explained-why-they-happen-and-how-to-prevent-them-ndkxl?utm_source=hashnode&utm_medium=feed)

[Asfaq Leeon](https://hashnode.com/@leeonscoding) · [2d ago](https://hashnode.com/posts/postgresql-transactions-concurrency-a-practitioner-s-cheat-sheet/6afa5a050830de9cd6a6a27b)

### [PostgreSQL Transactions & Concurrency: A Practitioner's Cheat Sheet](https://leeonscoding.hashnode.dev/postgresql-transactions-concurrency-a-practitioner-s-cheat-sheet?utm_source=hashnode&utm_medium=feed)

For people who already write SQL daily. No hand-holding, just the mechanics, the traps, and the queries I actually use. One tiny schema throughout: customers own accounts, accounts move money via tran

12 min read · [leeonscoding.hashnode.dev](https://leeonscoding.hashnode.dev/postgresql-transactions-concurrency-a-practitioner-s-cheat-sheet?utm_source=hashnode&utm_medium=feed)

[Gautam Patel](https://hashnode.com/@iamgautam03) · [3d ago](https://hashnode.com/posts/compare-and-swap-cas-understanding-atomic-operations-in-concurrent-programming/6af867731bb7cbd2ecbde62d)

### [Compare-and-Swap (CAS): Understanding Atomic Operations in Concurrent Programming](https://iamgautam.hashnode.dev/compare-and-swap-cas-understanding-atomic-operations-in-concurrent-programming?utm_source=hashnode&utm_medium=feed)

Understand how Compare-and-Swap (CAS) works, prevents race conditions, and enables atomic updates in concurrent programming.

9 min read · [iamgautam.hashnode.dev](https://iamgautam.hashnode.dev/compare-and-swap-cas-understanding-atomic-operations-in-concurrent-programming?utm_source=hashnode&utm_medium=feed)

[Min SiThu](https://hashnode.com/@itsmeminsithu) · [4d ago](https://hashnode.com/posts/what-is-a-deadlock-when-two-programs-wait-forever/6af7b5d4930b7c9bcaef055c)

### [What Is a Deadlock? When Two Programs Wait Forever](https://itsmeminsithu.hashnode.dev/what-is-a-deadlock-when-two-programs-wait-forever?utm_source=hashnode&utm_medium=feed)

Two pieces of code, each holding what the other one needs — and neither one blinks first

7 min read · [itsmeminsithu.hashnode.dev](https://itsmeminsithu.hashnode.dev/what-is-a-deadlock-when-two-programs-wait-forever?utm_source=hashnode&utm_medium=feed)

[Mayank Mahajan](https://hashnode.com/@Mayank9056) · [4d ago](https://hashnode.com/posts/the-dining-philosophers-problem-when-5-philosophers-can-t-eat-together/6af6e2581b600c9e7f7f0a0c)

### [The Dining Philosophers Problem: When 5 Philosophers Can't Eat Together](https://mayankdev.hashnode.dev/the-dining-philosophers-problem-when-5-philosophers-can-t-eat-together?utm_source=hashnode&utm_medium=feed)

Five forks, five thinkers, and one silent deadlock: why semaphores alone can't save you, and the 3 fixes every OS student should know.

6 min read · [mayankdev.hashnode.dev](https://mayankdev.hashnode.dev/the-dining-philosophers-problem-when-5-philosophers-can-t-eat-together?utm_source=hashnode&utm_medium=feed)

[Viswaretas Kotra](https://hashnode.com/@viswa-kotra) · [4d ago](https://hashnode.com/posts/benchmark-the-whole-verifier-call-including-its-thread-pool/6af7379df563cfd4a3950819)

### [Benchmark the whole verifier call, including its thread pool](https://nodus-compute.hashnode.dev/benchmark-the-whole-verifier-call-including-its-thread-pool?utm_source=hashnode&utm_medium=feed)

Nine retained CPU observations show why timing boundaries and workload size matter when comparing verifier thread limits. Public data and code.

4 min read · [nodus-compute.hashnode.dev](https://nodus-compute.hashnode.dev/benchmark-the-whole-verifier-call-including-its-thread-pool?utm_source=hashnode&utm_medium=feed)

[Min SiThu](https://hashnode.com/@itsmeminsithu) · [4d ago](https://hashnode.com/posts/what-is-a-race-condition-when-two-programs-step-on-each-other-s-toes/6af66a02b6a5245dad28cb8c)

### [What Is a Race Condition? When Two Programs Step on Each Other's Toes](https://itsmeminsithu.hashnode.dev/what-is-a-race-condition-when-two-programs-step-on-each-other-s-toes?utm_source=hashnode&utm_medium=feed)

Two pieces of code read the same number, both add one, both write it back — and one of the additions quietly vanishes

6 min read · [itsmeminsithu.hashnode.dev](https://itsmeminsithu.hashnode.dev/what-is-a-race-condition-when-two-programs-step-on-each-other-s-toes?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/what-is-a-race-condition-when-two-programs-step-on-each-other-s-toes/6af66a02b6a5245dad28cb8c)
