I am wondering, whether the separation of concerns could be a solution for me. So I could build only the performace critical API parts in Python/FastAPI and all others with PHP/Laravel. But that means I have to learn Python and FastAPI. But this way I would solve the performance problem.
Starting point (Framework) for building an API based Web App
For a while now I'm checking how to start a new project that has to offer an API access to a special service (making specific calculations on given data). This is the critical part, because the api requests should be working almost in real time and the number of simultaneous API calls might be getting very high, up to 100k. I'm not sure, whether Laravel will be the right choice for this, but building all from scratch with pure PHP is not what I want. I would like to use Laravel, but I've seen many performance tests with a lot of frameworks including Laravel and Laravel allways was the slowest of all. So my question, if I will use Laravel to offer this API based service, which pathway should I take to do it right, while keeping the performance in mind?
Regards, Tom
Please or to participate in this conversation.