books
Free Books / Computers / Practical mod_perl /

previous page: 19.1. mod_perl and DBM
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 19.2.1. Deadlocks

19.2. Resource Locking




Description

This section is from the "Practical mod_perl" book, by Stas Bekman and Eric Cholet. Also available from Amazon: Practical mod_perl

Database locking is required if more than one process will try to modify the data. In an environment in which there are both reading and writing processes, the reading processes should use locking as well, since it's possible for another process to modify the resource at the same moment, in which case the reading process gets corrupted data.

We distinguish between shared-access and exclusive-access locks. Before doing an operation on the DBM file, an exclusive lock request is issued if a read/write access is required. Otherwise, a shared lock is issued.

 

Continue to:

  • prev: 19.1. mod_perl and DBM
  • Table of Contents
  • next: 19.2.1. Deadlocks

Books by Stas Bekman:















TOP
previous page: 19.1. mod_perl and DBM
  
page up: Practical mod_perl | by Stas Bekman and Eric Cholet
  
next page: 19.2.1. Deadlocks

Topics

  • Animals
  • Architecture
  • Arts
  • Business
  • Computers
  • Crafts
  • Fairy Tales
  • Finance
  • Flora and Plants
  • Cooking
  • Gardening
  • Health and Healing
  • History
  • Home Improvements
  • Languages
  • New Age
  • Novels
  • Real Estate
  • Reference
  • Religion
  • Science
  • Society
  • Sports
  • Travel
  • Outdoors


Search

My Books

Headaches Begone! A Systemic Approach To Healing Your Headaches
Don't Let Your Bike Seat Ruin Your Sex Life Book

Discover

  • Answers FAQ

[ Privacy Policy | Terms of Use | About Us | Search ]

© 2007-2021 StasoSphere.com