filmov
tv
How we test concurrent algorithms in Kotlin Coroutines by Nikita Koval

Показать описание
Writing a good and robust concurrent test may be as challenging as implementing the algorithm, if not more so. In Kotlin Coroutines, we maintain a dozen non-trivial concurrent data structures, such as queues, semaphores, and channels. We need to test them properly. Straightforward stress tests likely do not catch all bugs and flack. Such testing quality is below the bar. We need a way to write concurrent tests in a handy, declarative way, keeping in mind "what to test," not "how."
At JetBrains, we've developed Lincheck, a unique framework that makes writing concurrent tests a piece of cake. Users just need to list all the data structure operations, and Lincheck verifies whether these operations are thread-safe or not. In this talk, I will share how we use Linchek in Kotlin Coroutines, how to apply it to your setting, and briefly cover the framework internals.
Talk by: Nikita Koval
#coroutines #KotlinConf
How we test concurrent algorithms in Kotlin Coroutines by Nikita Koval
Jonsson & Sagonas; Testing and Verifying Concurrent Algorithms Using Stateless Model Checking
Race Conditions and How to Prevent Them - A Look at Dekker's Algorithm
A Scalable Concurrent Algorithm for Dynamic Connectivity
LF Live Webinar: Mastering Concurrent Algorithms with TLA+
5.6 Parallel Algorithms 1
Graph based Algorithms For Transition Coverage
Creating Generators in Python: Boost Your Code's Efficiency Today! #techeducation #pythontutori...
BOPTEST4: Introducing Autocontrol and Terion
Inside Thrust: Building Parallel Algorithms with Bulk
how the PROS solve leetcode and technical interview problems!
This is the Most Asked FAANG Interview Question! - Two Sum - Leetcode 1
TLA+ for Writing Ideas then converted that into programming #unique #orginal #shorts #computer
From Algorithm to Generic, Parallel Code - Dietmar Kuhl - CppCon 2019
algorithm & flowchart problem #shorts #c programming
PWLSF-07/2015 - Devon O'Dell on Nonblocking Algorithms & Scalable Multicore Programming
Google I/O 2013 - Advanced Go Concurrency Patterns
This is How You Can Scale The Outbox Pattern
Garbage Collection Algorithms in Java: Concurrent Updates with Optimistic Locking - Part III
Optimal Parallel Algorithms in the Binary-Forking Model
2. Why we are getting ConcurrentModificationException exception #javainterviewquestions #failfast
I Coded Sorting Algorithms
Accelerate API Testing with Kusho AI’s Parallel Computation #Testing , #ParallelProcessing, #KushoAI...
Parallel C++: Lock-Free and Wait-Free Algorithms
Комментарии