Hi Michael,
thanks for your response.
At least it shows me, that obviously this seems to be no common idea - mostly known as a bad idea.
I do not want to sync anything on a database level, but on a logical level. It is not important, that entries have the same index.
In theory it would not even be important, that two nodes would ran the same database type.
Let's boil it down to a simple example of two nodes. Each node being an authentication system increasing the counter in the database entry on successful or failed authentication (for what it's worth - HOTP).
The authentication object exists on both nodes. The authentication request hits the first node.
The first node would have to check, if this object is locked.
If not, the first node would have to lock the object on the other nodes.
Then it performes the authentication an modifies the counters in the database object.
Then it transmits the changes to the other nodes and
...tells them to release the lock.
Sounds straight to me. (Maybe I am a bit naive.
The locking mechanism would also happen on the application level. But I was wondering if there are existing mechanism, tools or concepts to get started with.
Kind regards
Cornelius