Best type of server for our web app?
Hi,
We're in the process of moving our new site over to Linode/Forge. Everything is set up and working nicely. The site built using CraftCMS. A PHP application, that serves mainly as an e-commerce marketplace.
Traffic is getting up to 0.5M sessions a month, 2M page views. When this happens the site has struggled a bit. This might be in part down to the older version of Craft that it's running on. (We're about to launch on the latest version). It's also 5+ years old so there's a lot of bad legacy code.
In the past when we've had issues, we've bumped up the CPU on the server and this has helped.
I'm just wondering what type of server we should be looking at. Dedicated CPU vs High Memory plans?
Anyone with any experience able to give some pointers? Happy to answer any questions that might help!
1 Reply
It's hard to know for sure which plan would be the best option for you, as no one else has access to the logs on your Linode to know more about what's causing the performance to slow down.
For starters, I'd check into the logs for the various services on your Linode that are responsible for serving your app. This includes the web server and any dependencies needed for the app. The logs will help to determine if the issue if there's an opportunity to tune some of the services, or if the resources available are inadequate. From here you will know better if you need to resize your Linode to get different resources or take steps to tune the various services running and serving your app.
Since it sounds like you're using one of our Shared plans, there's a chance there's a performance with how your Linode is interacting with the host it's on. That's the gist of what this Community Question site post is about:
How do I know if a Dedicated CPU plan will help?
On a more broad scale look at this, we have a guide that can help in determining which type of plan would work best for you: