Hi Omar,
I am hopeful that #[2063] will greatly reduce locking issues.
I will try my "worst case" Data with my API with new BaseX release. I will post any changes I see.
Good to hear! Please note, however, that static and dynamic compilation (#2063) has not been finalized yet, but it will be part of BaseX.
Cheers, Christian