Haproxy is a very advanced layer7 opensource loadbalancer software. If you want to decrease priority of some urls in your setup, you can define ACL rules to detect traffic type and route to different backends which can have different servers or maximum connection parameter like below:

In this example, we define an acl named url_slow to select specific urls which begins with specific words. Haproxy has different selectors, we used path_begin here. You can define multiple acl like this.

After acl setup, you can select different backends for specific acl. We used slow-backend here for acl url_slow. With this setup, our application servers app1 and app2 used in both backends but limited with different maxconn parameters 1 and 100. With this setup when you have high traffic on the paths which takes much time to complete, it won’t be fill your main application servers app1 and app2