This is mostly a client-side issue rather than server-side issue. Unless the database is being hampered, then it shouldn't happen. XF was designed from the ground up to be able to efficiently poll a server or servers without clogging up the data path(s). Something neither vBulletin nor Invision at the time could do, and really still can't do well nearly a decade later.