I run a Magento webstore with middling traffic levels, running on NGINX with PHP-FPM. The server environment is very powerful with plenty of overhead, so hardware is not a factor.
We are getting timeouts and errors when running memory intensive operations in the backend, such as exports and some custom indexes.
Ignoring writing more efficient code and increasing pool sizes across the whole site, we want to explore ways to allocate more resources to the backend without having to reduce possible concurrent connections sizes across the site.
It has been suggested that we split the admin of the site to a separate server/IP, with different configs. This would solve our problem, but also be very expensive, and seems like a big leap to solve a non-critical problem.
Is is possible to associate a different PHP FPM config to something like www.example.com/admin, giving users from different URLS different capabilities?