Maybe you could look into Laravel Octane, might be some gold there in terms of performance!
What are memory requirements for hosting high API calls app?
I have Laravel backend app that will be used to get API responses. I want to host on server but dont know what specifications it should have. I dont want users of app to experience performance issues of this so i am ready to get bigger plan just in case app gets more attention. If you could approx. tell me how much RAM would i need from server in order not to notice performance drops in my app if i had lets say 1000-5000( just approx all i need ) concurent users using app. For example they all change something in db but not too complex like changing column from 0 -> 1.
EDIT: Is it better to have for ex. hosting laravel app and db on same server (4-8GB ram ,2vCPU) or get 2 servers of half resources and host laravel on one and db on other? I have option of 6 GB and 6 CPU cores @3.90GHz or get 2 x 4GB RAM and 4 CPU [email protected]. Price would be around 100EUR per year for both situations which im okay with.
Any suggestion is appreciated. Thanks !
@usanzadunje Worry about 1,000 concurrent users when you actually have 1,000 concurrent users. A thousand people, accessing your API at the very same time, is huge scale.
Please or to participate in this conversation.