When a deadlock occurs, the performance of the system degrades i.e. throughput decreases. In order to increase the throughput, which of the following may help to the programmer?
(i)Lock the smallest sized objects possible
(ii)Reduce the time that transaction holds time
(iii)Reduce hotspots
(iv)Buy a faster system1
(i),(ii) and (iii)
2
(ii), (iii) and (iv)
3
(i),(ii) and (iv)
4
All of them