Database Reference
In-Depth Information
Figure 7.2. Explicit read locks
Therearetwogoodreasonsyoushouldavoidacquiringlockssystematically whenreading.
As previously mentioned, this will generate transactional state, and that uses memory. Se-
cond, the main trade-off here is write concurrency, because threads wishing to update any
 
Search WWH ::




Custom Search