Atomic K-Mer

From CSE231 Wiki
Revision as of 15:18, 25 April 2018 by Cosgroved (talk | contribs) (Created page with "=Motivation= With many more buckets than processors there is reason to be optimistic. Dramatic performance improvements can be achieved by using atomics to ensure thread safe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Motivation

With many more buckets than processors there is reason to be optimistic. Dramatic performance improvements can be achieved by using atomics to ensure thread safety instead of locks.

Background

AtomicReferenceArray volatile

Code To Implement

class: OptimisticConcurrencyKMerCounter.java Java.png
methods: parse
package: kmer.extracredit
source folder: student/src/main/java

method: public KMerCount parse(List<byte[]> sequences, int k) Parallel.svg (parallel implementation required)

Testing Your Solution

Correctness

class: OpenEndedKMerTestSuite.java Junit.png
package: kmer.extracredit
source folder: testing/src/test/java

Performance

class: ExtraCreditKMerTiming.java Noun Project stopwatch icon 386232 cc.svg
package: kmer.extracredit
source folder: src/main/java