Hi @plettich,
okay, thank you for the information. We are just plan to monitor more aspects of our PostgreSQL database and the commit to rollback ratio is one of the metrics.
PrivacyIDEA is not running that smoothly with around 150 users in our case but I wouldn’t say it comes from the high rollback count. It’s pretty hard to diagnose where the delay is coming from exactly but probably many users requesting push tokens/authentications at the same time.
Push can cause a lot of performance problems depeding on how it is used.
E.g. if you are using push_wait or if you have high loads of pending authentication, the application (not smartphone app) will poll the privacyIDEA server.
So you probably need to look into your push configuration more deeply.