it’s hard to say without further troubleshooting. first guess would be - review performance optimization like redis and high-performance backend (notify_push) - especially the the first one is supposed to highly reduce DB load.
check out more advanced examples like the following if this work better than yours…