AkhiMertail's avatar

How to get the best performance out of Laravel

So I'm going to be shifting my Laravel website to a shitty VPS, and since a large portion of the website features rely on 3D rendering, I'd like to maintain a REALLY small Laravel footprint with the ability that the website doesn't die on 3 requests.

I'm basically looking for low memory footprint for the application. What server should I use for it? NGINX or RoadRunner? What is octane? How do I use it? Are there any other methods to maintain a low footprint? Let me know.

0 likes
2 replies
Tray2's avatar

What do you mean by 3D rendering?

If you talk about canvas and javascript then all that is done on the client side.

The Laravel footprint is usually pretty small to begin with. If your queries are running fast with the proper indexes and you don't do anything in php that you can do in the database you should be good.

NginX is a very good lightweight webserver and with the right setting should run your site without any issues and if it's client side heavy application it shouldn't be a problem at all.

Adding octane isn't the first thing I would add to my application unless we are talking tens of thousands simultanious users.

Laravel Octane supercharges your application's performance by serving your application using high-powered application servers, including Swoole and RoadRunner. Octane boots your application once, keeps it in memory, and then feeds it requests at supersonic speeds.

AkhiMertail's avatar

So I'm going to be shifting my Laravel website to a shitty VPS, and since a large portion of the website features rely on 3D rendering, I'd like to maintain a REALLY small Laravel footprint with the ability that the website doesn't die on 3 requests.https://vidmate.onl/

I'm basically looking for low memory footprint for the application. What server should I use for it? NGINX or RoadRunner? What is octane https://mobdro.onl/ ? How do I use it? Are there any other methods to maintain a low footprint? Let me know. issue got solved!!

Please or to participate in this conversation.