k-mer algorithms: Compare and Swap

  Рет қаралды 16,408

RobEdwards

RobEdwards

Күн бұрын

Dr. Rob Edwards from San Diego State University describes how the compare and swap algorithm works. This is widely used in counting k-mers since it provides a lock-free hashing method.

Пікірлер: 11
@leol5910
@leol5910 3 жыл бұрын
Nice explanation
@oladipotimothy6007
@oladipotimothy6007 Жыл бұрын
Nice approach
@pdaae
@pdaae 5 жыл бұрын
thanks!
@lucasqwert1
@lucasqwert1 8 ай бұрын
Why does every thread wait for the log? Thanks !
@stefansilverio245
@stefansilverio245 3 жыл бұрын
why do we return the "current_value" regardless of whether or not we reset the value at "location"? Wouldn't we want to return the value at "location" if we updated it?
@leakaufmann9500
@leakaufmann9500 Жыл бұрын
I think that the returned value is used to check that the CAS operation succeeded (current_value == old_value).
@chronewhite4197
@chronewhite4197 Жыл бұрын
I need more explanation, because I don't have much knowledge How is CAS atomic? There are multiple operations in the title itself - read, compare and set new value
@kkiranayb
@kkiranayb 4 жыл бұрын
Is data structures finished here ???? Sir
@shivangisingh2643
@shivangisingh2643 4 жыл бұрын
my whole attention was on how this amazing person is writing backwards/mirrored (whatever it is called). Good explanation though.
@kumarprakash8260
@kumarprakash8260 3 жыл бұрын
He's not🤣
@ericfricke4512
@ericfricke4512 3 жыл бұрын
He writes forwards facing us, and then it is mirrored in processing afterwards to compensate.
Compare and Swap in Java
24:21
Jakob Jenkov
Рет қаралды 15 М.
Test and Set Lock
19:01
Neso Academy
Рет қаралды 208 М.
How To Choose Ramen Date Night 🍜
00:58
Jojo Sim
Рет қаралды 57 МЛН
Why? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 27 МЛН
The World's Fastest Cleaners
00:35
MrBeast
Рет қаралды 158 МЛН
Stupid man 👨😂
00:20
Nadir Show
Рет қаралды 29 МЛН
Bloom Filters
11:06
RobEdwards
Рет қаралды 16 М.
Semaphores
22:51
Neso Academy
Рет қаралды 425 М.
4 4 2 Test and Set Synchronization Primitive
11:43
Prof. Dr. Ben H. Juurlink
Рет қаралды 3,4 М.
M3U6L4 Process Synchronization   Test and Set and the Mutex Lock
6:16
illumina paired end sequencing
8:48
RobEdwards
Рет қаралды 104 М.
What is difference between Semaphore and Mutex
7:00
HowTo
Рет қаралды 469 М.
Sorts 1 Introduction to sorts
8:29
RobEdwards
Рет қаралды 12 М.
Sanger sequencing
7:07
RobEdwards
Рет қаралды 10 М.
Sorts 8 Quick Sort
9:12
RobEdwards
Рет қаралды 193 М.
How To Choose Ramen Date Night 🍜
00:58
Jojo Sim
Рет қаралды 57 МЛН