in reply to Append to a busy flat-file db without leaving customer in lurch

If you really want to stick to flat files, how about using a tied hash and leaving the file permanently open?
OTOH, if it's getting that busy (successful :-) ), go for a DB eg MySQL using the InnoDB engine; ensure ver is at least 4.1
Cheers
Chris
  • Comment on Re: Append to a busy flat-file db without leaving customer in lurch