[Twisted-Python] lightweight persistence for twisted

Sergio Trejo serj_trejo at hotmail.com
Sun Aug 15 06:08:58 EDT 2004


Why not use divmod's atop. Just parse your flat files into simple objects 
that are persisted via atop's Store and PowerUps into a Sleepycat object 
database (assign each object containing your flat file a GID that is 
Indexed)?

Serg


>From: James Y Knight <foom at fuhm.net>
>Reply-To: Twisted general discussion <twisted-python at twistedmatrix.com>
>To: Twisted general discussion <twisted-python at twistedmatrix.com>
>Subject: Re: [Twisted-Python] lightweight persistence for twisted
>Date: Thu, 12 Aug 2004 13:14:22 -0400
>
>On Aug 12, 2004, at 10:51 AM, Eugene Coetzee wrote:
>>5) Would be nice if it could  be accesses through Twisted's generic 
>>enterprise SQL API
>
>Last I looked, twisted's reflector stuff needed a lot of work. I'd thus 
>recommend against xmlreflector.
>
>If you want SQL, you probably want SQLite. It is a C module, so it does 
>introduce a dependancy, but it is otherwise fully self-contained. If you 
>don't want SQL, you can get a lot simpler. With 5000 records, you can 
>probably just store them all in a python datastructure in memory and either 
>serialize it or write it to something like a ":" separated file.
>
>James
>
>
>_______________________________________________
>Twisted-Python mailing list
>Twisted-Python at twistedmatrix.com
>http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail





More information about the Twisted-Python mailing list