Concurrency issues
- Data integrity: Threads accessing same object need to be synchronized, such as: banking account.
- Deadlock: One or more threads in system are permanently blocked
Example: Thread X waiting on Thread Y, which is waiting on Thread X.
- Starvation: A thread is not getting enough resources to accomplish its work called starvation.
Example: All requests from one user are being handled before other users requests.