Question

I have a grok-based webapp that persists data using ZODB. Can I query the object db offline i.e. from a python script that would be run on the webserver hosting the grok/paste webapp instance?

And would there be any issues in doing so while the web server is interacting with the database simultaneously?

Was it helpful?

Solution

You can open the ZODB with python and inspect the data, yes. To do so while you also run the web site, you'll need to use a concurrency layer like ZEO or RelStorage; plain FileStorage does not support concurrent access otherwise.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top