Jyotiprakash Mishrablog.jyotiprakash.org·Nov 22, 2024Multithreading in Java: A Comprehensive Guide to Concurrency and ParallelismWhat is Multithreading? In modern computing, performance is not just about executing one task faster but about doing more simultaneously. Multithreading allows a program to execute multiple threads concurrently, effectively enabling multitasking with...Discussmultithreading
Jyotiprakash Mishrablog.jyotiprakash.org·Oct 7, 2024A Primer on Cache Coherence ProtocolsIn modern multi-core processors, multiple cores operate in parallel, each with its own cache to store frequently accessed data. These caches are designed to reduce the time it takes for a processor to retrieve data from memory, speeding up overall pe...Discuss·341 readsweak consistency
Pranav Podutwarpranavdevelops.hashnode.dev·Oct 6, 2024Mastering Distributed Locks: Consistency using Fencing TokensContinuing from learnings from previous blog on tackling the thundering herd problem, which discussed the viral incident where 13 million people attempted to book Coldplay tickets, it’s clear that such high-demand events shows the need for distribute...Discuss·83 readsdistributed system
Chetan Dattachetan77.hashnode.dev·Jul 7, 202426 Java - Multithreading 3 (Custom Locks)Monitor Lock Locking do not depends on Object like synchronized method. synchronized method puts the monitor lock on the object synchronized { ... ..Critical Section.. ... } Example (Synchronized) public class SharedResource { boolean isAva...Discuss·103 readsJavaReentrantLock