Single Database with Multiple OpenMonero Clients
I noticed in [this comment ](https://github.com/moneroexamples/openmonero/issues/157#issuecomment-507171782) it was recommended against pointing multiple instances of OpenMonero to the same database. The possible problems seem to be (1) different machines could have search threads running for the same account, and (2) search threads "thinking" there are duplicates in data. 

I've been experimenting with a middleware to solve (1) so there's never duplicate search threads running across machines. What approaches could solve for (2) and are there any other possible pitfalls with a shared database setup?