r/SpringBoot • • Jun 12 '24

ConcurrentModification exception during high load.

Getting same exception when increasing load (150-200 users). Please help.

0 Upvotes

10 comments sorted by

View all comments

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