Apache Mod-Python - Re: svn commit: r290569 - /httpd/mod_python/trunk/lib/python/mod_python/SQLiteSession.

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > September 2005 > Re: svn commit: r290569 - /httpd/mod_python/trunk/lib/python/mod_python/SQLiteSession.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: svn commit: r290569 - /httpd/mod_python/trunk/lib/python/mod_python/SQLiteSession.
Jorey Bump

2005-09-23, 7:46 am

Nicolas Lehuen wrote:

> That being said, why SQLite ? Because it's simple to install and use (no
> administration required). You just give it a file name and you're ready
> to roll. Plus, I really wanted to experiment with SQLite .
>
> I must confess that the current implementation seems 30% slower than
> FileSession, but we are not cluttering the filesystem (due to FS
> clusters, FileSession files all use a lot of disk space) and cleaning up
> old sessions is very fast (I used a DELETE FROM sessions WHERE ... just
> like Jim described), contrary to FileSession, so there is a tradeoff.


Doesn't SQLite suffer from similar locking issues you'd encounter with a
pickle? Wouldn't the lack of concurrent write access cause problems on a
busy server?

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com