Tuesday, July 31, 2018

Episode 80: Concurrency


We are sponsored by audible! http://www.audibletrial.com/programmingthrowdown

We are on Patreon! https://www.patreon.com/programmingthrowdown

T-Shirts! http://www.cafepress.com/programmingthrowdown/13590693


We are on discord! https://discord.gg/r4V2zpC


Book of the Show

Tool of the Show

Concurrency (29:15)

  • Why?
    • Getting more work done
    • Handling asynchronous requests
  • How?
    • Threads vs Processes
    • Message Passing
    • Shared Memory
    • Threadpool
  • Locking/Mutex/Semaphore
    • Coordinating Threads
    • Preventing Threads from modifying the same structure
  • Pitfalls
    • Race conditions
    • Deadlock
  • Advice
    • Don’t do concurrency yourself
      • Gnu parallel
      • Async libraries
      • Basic Linear Algebra System
    • Have a way to actually measure results


  1. This comment has been removed by the author.

  2. Nice Article! you can visit SoftwareSuggest( A Software Discovery and Recommendation Platform) to get the best best billing software recommendations.

  3. Best Corporate Video Production Company in Bangalore and top Explainer Video Company in Bangalore , 3d, 2d Animation Video Makers in Chennai
    Thanks for sharing the blog, check here my blog on corporate videos

  4. This app allows gardeners and landscapers to create quick work reports for every customer, thus, providing a detailed list of completed gardening services. You can precisely record the time you spend on each task. This can then be used for improved project planning, time management, and optimal calculation of services for invoicing software for CEA Growers.Do you work on landscaping or gardening tasks? Would you like to record completed work as soon as you finish?

  5. Splendid Article & Thanks a ton for sharing ! Billing software which is organizes and automates the billing and invoicing process.


  6. Thanks for sharing this.,
    Leanpitch provides crash course ,everyone can use it wisely.
    NLP training
    conflict management
    Servant Leadership

  7. You are doing a tremendous job. It is very enlightening and achieves what it desires. I will make sure that I read all of your blogs in future. It will definitively enhance my knowledge.
    Do check
    Paypal Login
    gemini login

  8. Thanks for sharing, Really this article is very useful and informative for everyone. https://infotainmentlab.com/


  9. article has a complete data with nice info.good work keep it up and collect much more data.


  10. How to make an effective Corporate Video production for your company?
    Establish The General Purpose of Your Video.
    Appeal to Consumers' Emotions.
    Keep Your Script Short and Sweet.
    Make an Intuitive Combination of Audio and Visual Elements.
    Have an Intriguing Introduction and Conclusion.
    Distribute Your Video Appropriately.