OHDSI / Usagi

Usagi is an application to help create mappings between coding systems and the Vocabulary standard concepts.
http://ohdsi.github.io/Usagi/
92 stars 29 forks source link

Usagi support for multiple concurrent users #113

Open quinntd opened 3 years ago

quinntd commented 3 years ago

Hello @MaximMoinat , @schuemie , et al.,

We have installed Usagi in a shared directory on a multi-user Linux server and imported/indexed the ATHENA files to create the mainIndex and sleepyCat sub-directories.

My question: Can multiple users logged into this Linux server use this single instance of Usagi concurrently? Or does the way Usagi interacts with its underlying BerkeleyDB and Apache Lucene files prohibit such usage?

I am sure you immediately grasp my reason for asking: We want to have several experts work on concept mapping, and I would like to avoid having to maintain multiple instances of Usagi (or, more properly, multiple instances of ATHENA file indexes).

MaximMoinat commented 3 years ago

Good question, but I have never tested Usagi in this way. It can be easily tested though by launching Usagi multiple times on one machine of the same index. I might give that a go, but please also share your experience.

That said, we have chosen a different way of collaborating on a mapping. We build the index once and then share that same index to the users as one compressed file, including the Usagi jar. An updated index can be easily shared if the Athena vocabularies need an update.