Understand differences between Concurrency vs Multi-threading vs Asynchronous
Single Threaded – If we have couple of tasks to be worked on and the current system provides just a single thread, then tasks are assigned to the thread one by one.
Multi-Threaded – In this environment, we used to have multiple threads which can take up these tasks and start working on that.
Asynchronous Programming Model – In contrary to Synchronous programming model, here a thread once start executing a task it can hold it in mid, save the current state and start executing another task.
If our system is capable of having multiple threads then all the threads can work in asynchronous model as well
Concurrency means processing multiple requests at a time. There are two scenarios where multiple requests were getting processed, Multi-threaded programming and asynchronous model.
Last updated