There is an application server (WildFly), it is synchronized by transaction number, i.e. That one transaction was not processed simultaneously in two flows.
There is a need to make a cluster with a second server, respectively, the question arises - how to make synchronization between servers? Those. for example, several requests came at the same time to different servers for a single transaction.
What are the most popular ready-made solutions? You can make your decision, but do not want to reinvent the wheel. DB / Lok file / Terracota not to offer.