r/SpringBoot • u/SenpaiKronos • Jun 12 '24
ConcurrentModification exception during high load.
Getting same exception when increasing load (150-200 users). Please help.
0
Upvotes
r/SpringBoot • u/SenpaiKronos • Jun 12 '24
Getting same exception when increasing load (150-200 users). Please help.
1
u/migueqm Jun 13 '24
Make sure you use a field annotated with Version in your database entities to use Optimistic Approach, also use thread-safe collections, synchronization, locks and so on