Hi Robert,

I was worrying whether concurrent storage of identical data could lead to an exception on one of the instances, e.g. because of primary key violation. But it seems that org.apache.jackrabbit.core.data.db.DbDataStore.addRecord(InputStream) caters for that case, simply by ignoring any exception while setting the ID...

Do you per chance know of anybody using such a setup in production?

Thanks + regards,
Jörg

On 08.08.2012 17:54, Seidel. Robert wrote:
Hi Jörg,

the interface of the datastore ensures that. You can imagine the datastore as a 
very huge hash table.

Regards, Robert

-----Ursprüngliche Nachricht-----
Von: Jörg von Frantzius [mailto:[email protected]]
Gesendet: Mittwoch, 8. August 2012 17:00
An: [email protected]
Betreff: Shared DbDataStore?

Hi,

does per chance anybody have experiences with a shared DbDataStore 
<http://wiki.apache.org/jackrabbit/DataStore#Database_Data_Store>, i.e.
having multiple repositories with redundant data that write their binaries into 
the same DB schema? Our client needs redundant Jackrabbit instances for 
purposes of load-balancing and high-availability (rolling updates), but still 
would like to see binary data only stored once in the DB.

To our knowledge, this does work e.g. with a shared FileDataStore even on NFS.

Thanks for sharing any experiences,
Jörg

--
*Dipl. inf. Jörg von Frantzius, System Architect*

Email mailto:[email protected]
Phone +49 30 283921-318
Fax +49 30 283921-29

Aperto AG - In der Pianofabrik
Chausseestraße 5, D-10115 Berlin-Mitte
http://www.aperto.de
http://www.facebook.com/aperto
https://www.xing.com/companies/apertoag

HRB 77049, AG Berlin Charlottenburg
Vorstand: Dirk Buddensiek (Vorsitzender), Kai Großmann, Stephan Haagen
Aufsichtsrat: Bernd Hardes (Vorsitzender)


--
*Dipl. inf. Jörg von Frantzius, System Architect*

Email mailto:[email protected]
Phone +49 30 283921-318
Fax +49 30 283921-29

Aperto AG - In der Pianofabrik
Chausseestraße 5, D-10115 Berlin-Mitte
http://www.aperto.de
http://www.facebook.com/aperto
https://www.xing.com/companies/apertoag

HRB 77049, AG Berlin Charlottenburg
Vorstand: Dirk Buddensiek (Vorsitzender), Kai Großmann, Stephan Haagen
Aufsichtsrat: Bernd Hardes (Vorsitzender)

Reply via email to