I am currently running a web API using Laravel with PHP-FPM, which sends a large number of requests to external APIs. Many of these external APIs are slow, sometimes taking several seconds to respond. Despite optimizing my www.conf
settings, enabling Opcache, and using JIT compilation, I’m still experiencing poor performance, particularly during request spikes.
Given these challenges, are there any further optimizations I can implement to improve performance, especially during request spikes? Would it be more effective to transition to a long-running application framework, such as Go, or another technology, to handle these issues?