Async Vs Threads: Which one is for you?
July 21, 2018
(Updated on July 14, 2023)
Recently, I got into a discussion over a coffee about distributed systems in Test Automation and then started to discuss parallelism, concurrency which lead down to the path of Threads, MultiThreaded solutions to Asynchronous and Synchronous ways of tests or calls in programming.
Let’s look at them in brief!
Concurrency Vs Parallelism:
Concurrency: Two or more tasks can start, run and complete in overlapping time periods.
Parallelism: Two or more tasks started and executed at the same time.
Synchronous: You wait for it to finish before moving on to another task
Asynchronous: You can move on to another task before it finishes.
Asynchrony:
👍LIKE
❤️LOVE
👏CLAP
🎉PARTY
More articles
If you enjoyed this article, you'll find these insightful too!
