we have a website with CometChat integration for our users; since our apache server gets a lot of requests for the chat service, we'd like to set a different (lower) priority for these requests, while serving with an higher priority the other ones.
As far as we know, one way to do this could be using mod_qos, that would let us limit the number of requests in a period of time (eg reqs per second) for a specific path. This is not exactly what we'd like to do, but could be a partial solution.
My question is: is there a better solution to prioritize requests? If you suggest to use mod_qos, which would be a good configuration for mod_qos to achieve what I asked?