[BangPypers] Deploying with mod_wsgi and file locking

Amit Sethi amit.pureenergy at gmail.com
Mon Jun 10 18:45:40 CEST 2013


Hi All , I am writing a pyramid app and deploying it mod_wsgi . The file
regularly writes  into a file in the  file system . This process of writing
xml is in a middleware . Now the question is do I need to apply a file
locking mechanism to make sure that multiple requests do not try to write
to the same file . If yes what is the best way to implement a file locking
mechanism in python.


-- 
A-M-I-T S|S


More information about the BangPypers mailing list