Hi
This topic was mentioned few times before, but it is key aspect of my application, so I will try anyway.

Question
What is recommended approach for application, where exists multiple document producers which shall store/modify documents in one, share collection.

Background
Assumptions
If I am wrong here, please, correct me.
Current approach
  1. Multiple preprocessing processes are concurrently sending documents into single basex-storage queue in RabbitMQ
  2. There is single one-process worker, consuming documents from queue basex-storage which does all the work with adding documents for given collection.

Wishes
Managing single write process adds quite complexity to whole solution.
It would be nice, if I can write to single collection by multiple processes at once and could expect success.

Any comments are welcome

Best regards

Jan