Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #25211

Re: How to safely maintain a status file

Date 2012-07-12 14:31 +0200
From Laszlo Nagy <gandalf@shopzeus.com>
Subject Re: How to safely maintain a status file
References <CAOV1wRVtm27yWez1HZuN8=ia-TyM2aXp9QCUbSZ5aZExP_ZChA@mail.gmail.com> <sanjv7lo0vb3rlhip4ov1gpgp4gs51bvfr@invalid.netcom.com> <4FF9F454.40207@shopzeus.com> <mailman.1929.1341784379.4697.python-list@python.org> <jtfelb$q0g$1@dont-email.me>
Newsgroups comp.lang.python
Message-ID <mailman.2035.1342096316.4697.python-list@python.org> (permalink)

Show all headers | View raw


>     Renaming files is the wrong way to synchronize a
> crawler.  Use a database that has ACID properties, such as
> SQLite.  Far fewer I/O operations are required for small updates.
> It's not the 1980s any more.
I agree with this approach. However, the OP specifically asked about 
"how to update status file".

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: How to safely maintain a status file Christian Heimes <lists@cheimes.de> - 2012-07-08 23:52 +0200
  Re: How to safely maintain a status file John Nagle <nagle@animats.com> - 2012-07-09 13:24 -0700
    Re: How to safely maintain a status file Christian Heimes <lists@cheimes.de> - 2012-07-10 01:41 +0200
    Re: How to safely maintain a status file alex23 <wuwei23@gmail.com> - 2012-07-09 19:04 -0700
    Re: How to safely maintain a status file Laszlo Nagy <gandalf@shopzeus.com> - 2012-07-12 14:31 +0200

csiph-web