[Twisted-Python] Web server persistance

Ted Patrick ted at powersdk.com
Mon Oct 6 15:20:59 EDT 2003

I have a project using Twisted as an http server. 

What is the best way to persistent server data across server start/stop? 

While the server is running, a user will add virtual directories via a .rpy
application as follows:

root.putChild(name, path)

Ideally modifications to the server configuration would persist across
server start/stop. I would also like a generic format to store data related
to a particular leaf of an application as follows:

//url  http://mytwisted/dog/cat/document.txt
//data pertaining to this url could be added at
root.dog.cat.document.txt = 33

This data would also be persistent.

Thanks in advance.

Theodore E. Patrick
PowerSDK - Code for a distributed world

More information about the Twisted-Python mailing list