Stefano Bagnara wrote: > > > Joachim Draeger wrote: > > Am Dienstag, den 09.01.2007, 20:52 +0000 schrieb Steve Brewin: > >> I don't know about Robert's experiences. I have found that > you can get very > >> good performance with a custom persitence manager tuned to > the needs of the > >> application and an appropriatley indexed and tuned database. > >> > >> Put another way, this is not a 'magic' solution. Excellent > performance is > >> attainable, but doesn't come for free. > > > > That was my guess. So you need a custom persistence manager > and methods > > to break down, store, reassemble a MimeMessage, manage UIDs > and perform > > the requests from the IMAP server. > > If I understand it JCR specification discourage the creation > of ad-hoc > backends: the "persistence manager" (in JackRabbit) should > not parse the > content. I don't know what are the implication of this restriction. > (I'm not even sure I remember this issue correctly). > You are correct that the persistence manager should not parse content. It is responsible for storing things in the correct place according to the declared content model which consists of a hierarchy of nodes.
The content model is designed to fit the application and its down to the application to deconstruct things into the relevant nodes. The persistence manager maps the nodes as it wishes to a persistent store. When the persistent store is a database we tune: - the mapping into database tables - the indexes and so forth to faciltate efficient operation So both Joachim and yourself are correct. Cheers -- Steve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
