Companies Home Search Profile

C# Concurrent Collections

Focused View

Simon Robinson

2:42:23

0 View
  • 1. Course Overview.mp4
    01:58
  • 01. Version Check.mp4
    00:15
  • 02. Overview.mp4
    01:52
  • 03. Introducing the Code.mp4
    03:14
  • 04. Adding Concurrency.mp4
    03:53
  • 05. Fixing the Code with ConcurrentQueueT.mp4
    02:02
  • 06. Inconsistent Results.mp4
    01:46
  • 07. Explaining the Thread Timing Inconsistency.mp4
    03:07
  • 08. Why Did QueueT.Enqueue() Fail.mp4
    03:57
  • 09. Atomic Operations.mp4
    01:55
  • 10. Summary.mp4
    00:59
  • 01. Overview.mp4
    01:11
  • 02. Introducing the SellShirts Demo.mp4
    01:26
  • 03. Storing Shirts in an ImmutableArray.mp4
    02:31
  • 04. The Stock Controller and the Dictionary.mp4
    02:42
  • 05. Generating Random Numbers.mp4
    02:01
  • 06. The Main() Method.mp4
    01:17
  • 07. Simulating Serving Customers.mp4
    03:56
  • 08. Adding Concurrency and ConcurrentDictionary.mp4
    03:01
  • 09. The Indexer vs. TryGetValue().mp4
    03:02
  • 10. Fixing the Code to Allow for Failure.mp4
    02:55
  • 11. Remove() vs. TryRemove().mp4
    02:51
  • 12. Concurrent Collection State Can Be Uncertain.mp4
    02:41
  • 13. Summary.mp4
    00:59
  • 01. Overview.mp4
    00:48
  • 02. Introducing the BuyAndSell Demo.mp4
    02:03
  • 03. Storing the Stock in a Dictionary.mp4
    01:45
  • 04. Updating a Standard Dictionary.mp4
    01:49
  • 05. Summing Values with LINQ and Checking for Errors.mp4
    01:46
  • 06. Modelling Serving a Customer.mp4
    02:02
  • 07. Adding Concurrency.mp4
    01:51
  • 08. Race Conditions and Data Corruption.mp4
    03:59
  • 09. Updating Atomically with TryUpdate().mp4
    03:12
  • 10. Introducing AddOrUpdate().mp4
    01:38
  • 11. Interlocked.Add().mp4
    01:08
  • 12. Protecting against Race Conditions.mp4
    02:05
  • 13. Lambdas to Conditionally Update the Dictionary.mp4
    02:44
  • 14. Solving the Update Problem with a Closure.mp4
    02:55
  • 15. GetOrAdd() to Read the Dictionary.mp4
    02:10
  • 16. Summary.mp4
    00:47
  • 1. Overview.mp4
    02:11
  • 2. Adding the Logging Tasks.mp4
    02:56
  • 3. Calculating Commissions.mp4
    03:00
  • 4. Enqueueing to the Concurrent Queue.mp4
    01:38
  • 5. Consuming the Queue - The Problem of Polling.mp4
    04:12
  • 6. ConcurrentStackT.mp4
    01:58
  • 7. ConcurrentBagT.mp4
    02:33
  • 8. The IProducerConsumerCollectionT Interface.mp4
    03:41
  • 9. Summary.mp4
    01:04
  • 1. Overview.mp4
    01:50
  • 2. Understanding BlockingCollectionT.mp4
    01:52
  • 3. How BlockingCollectionT Avoids Polling.mp4
    02:40
  • 4. The Consuming Enumerable.mp4
    02:29
  • 5. Enumerating Directly Wont Work.mp4
    01:05
  • 6. Summary.mp4
    00:56
  • 01. Overview.mp4
    00:46
  • 02. Concurrent Collections and Performance.mp4
    01:05
  • 03. The Dictionary Benchmark Demo.mp4
    04:16
  • 04. Benchmarking with Multiple Threads.mp4
    01:47
  • 05. Running the Benchmark.mp4
    02:36
  • 06. Use Shared State Sparingly.mp4
    01:49
  • 07. Using ConcurrentDictionary Correctly.mp4
    02:28
  • 08. The Problem with Count.mp4
    02:35
  • 09. Aggregate State.mp4
    01:48
  • 10. Good Practices for State.mp4
    02:14
  • 11. Summary.mp4
    01:06
  • 1. Overview.mp4
    00:43
  • 2. Enumerating a Standard Dictionary.mp4
    02:59
  • 3. Enumerating a Concurrent Dictionary.mp4
    03:43
  • 4. Forcing a Snapshot Enumeration.mp4
    02:22
  • 5. Snapshot Pros and Cons.mp4
    01:46
  • 6. Module Summary.mp4
    00:51
  • 7. Course Summary.mp4
    01:24
  • 8. T-shirt Models - Thank You!.mp4
    02:22
  • 9. Your Challenge!.mp4
    01:25
  • Description


    Learn to use concurrent collections effectively to store data in a multithreaded environment, keeping the code efficient and avoiding data corruption and race conditions.

    What You'll Learn?


      Making applications concurrent can be a vital part of ensuring good responsiveness and high performance, but standard collections are not designed for concurrent environments.

      In this course, C# Concurrent Collections, you’ll learn how to use concurrent collections to bring the power of manipulating data in collections to multithreaded scenarios by thinking about problems in a concurrent way.

      First, you’ll discover how to avoid race conditions and data corruption, and how to use lambdas and closures to complete concurrent collection operations in a thread-safe way.
      Next, you’ll explore producer-consumer collections, such as stacks and queues. Then, you'll learn how to safely consume all items from a queue when you don’t know if other threads might be adding other items.
      Finally, you’ll delve into good coding practices to keep your concurrent collection code efficient.

      By the end of this course, you’ll understand how to safely store data in collections and have multiple threads access that data concurrently, while avoiding the thread synchronization bugs that can otherwise plague concurrent code.

    More details


    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category

    C#

    Simon Robinson
    Simon Robinson
    Instructor's Courses
    Simon Robinson first cut his developer teeth in the early 1980s writing a scheduling system in BBC Basic(!) for his local college. Since then, his programming career has spanned industries ranging from academic research to telecoms to finance, and many computer languages such as C++, C# and Python, as well as writing front-end and back-end code for Windows and Web. He believes knowledge is to be shared, and has written or co-written more than a dozen books for professional programmers, including the influential first edition of Professional C# Programming, the first comprehensive book on C#. You can follow his blog at http://TechieSimon.com
    Pluralsight, LLC is an American privately held online education company that offers a variety of video training courses for software developers, IT administrators, and creative professionals through its website. Founded in 2004 by Aaron Skonnard, Keith Brown, Fritz Onion, and Bill Williams, the company has its headquarters in Farmington, Utah. As of July 2018, it uses more than 1,400 subject-matter experts as authors, and offers more than 7,000 courses in its catalog. Since first moving its courses online in 2007, the company has expanded, developing a full enterprise platform, and adding skills assessment modules.
    • language english
    • Training sessions 75
    • duration 2:42:23
    • level advanced
    • English subtitles has
    • Release Date 2025/01/16