jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek" <aklim...@day.com>
Subject Re: Multiple connections to database repository
Date Tue, 24 Jun 2008 18:34:55 GMT
You could also look at clustering Jackrabbit:

http://wiki.apache.org/jackrabbit/Clustering

Regards,
Alex

On Tue, Jun 24, 2008 at 2:28 PM, Brian Thompson <elephantium@gmail.com> wrote:
> The database is always kept up to date, but Jackrabbit maintains a cache.
> In your example, the 5 "on-demand" applications would read outdated data
> from the cache, AFAIK.
>
> The standard for handling that type of situation is to set up the 5
> on-demand apps to connect to the read-write app - that way, only the one app
> runs the repository.
>
> -Brian
>
>
>
> On Tue, Jun 24, 2008 at 1:08 PM, Jared Graber <jared.graber@iaccap.com>
> wrote:
>
>> Based on an old thread (May 2006), I found that you cannot have 2
>> different applications accessing the same database repository and expect
>> them to see each changes made by each other.
>>
>>
>>
>> What if only 1 application was writing to the repository?
>>
>>
>>
>> Example:
>>
>> 1 application that is reading and writing to the repository.
>>
>> 5 applications that on demand will make their own connection to the
>> repository in order to export the data, and then logout.
>>
>>
>>
>> Is the database always kept up to date (which I think would make this
>> possible) or does jackrabbit keep data in memory for a while before
>> storing it in the database?
>>
>>
>>
>> Thanks,
>>
>>
>>
>> Jared
>>
>>
>



-- 
Alexander Klimetschek
alexander.klimetschek@day.com

Mime
View raw message