Re: Prevalent Repository
"Justin T. Sampson" <[email protected]>
| Newsgroups | gmane.comp.java.prevayler |
|---|---|
| Message-ID | <[email protected]> |
On Tue, May 19, 2009 at 12:19 PM, Diego Miranda <[email protected]>wrote: > Yes, our idea is to publish the code. We are doing some refactoring now and > adding some functionality like encrypting the snapshots and journals, > deterministics triggers, and listeners over the objects. I've added some simple Serializer decorators for compression and encryption on the master branch[1], to be included in the upcoming Prevayler 2.4 release. I remember the main challenge I ran into when I first tried to compress and encrypt journals was that compression and encryption mechanisms don't necessarily make it easy to read or write exactly to variable-length record boundaries (which is how transactions are written to the journal). So the approach I ended up with simply wraps the journal serializer in order to compress or encrypt each individual transaction, allowing Prevayler to continue to do its normal parsing of the journal file structure. [1] http://github.com/jsampson/prevayler/tree/master/core/src/main/java/org/prevayler/foundation/serialization What approach are you taking for encrypting journals? Cheers, Justin ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion _______________________________________________ "Databases in Memoriam" -- http://www.prevayler.org