atomas's avatar

Low specs VPS - how low can you go?

Hi. I run a small database website built on Laravel 11, using php 8.3 and mysql. Database is around 250MB and is well indexed.

Currently I'm running it from 2 CPU / 8GB / NVME VPS with Almalinux 9. It runs well but there are other, poorly optimized sites running on the same server, so I want to get another VPS just for this one website.

Normally website has around 1000 visitors per day, 40 realtime visitors peak (though most of the time about 10 realtime). 99% just browse through pages, and there are few Excel / PDF exports per day.

What do you think - would this kind of site work well on 1 CPU, 4GB, NVME, or I should not deal with 1 CPU VPS at all? Currently I barely see this site using CPU at all.

0 likes
4 replies
Glukinho's avatar

I think it's fine even with 4 Gb RAM. Actually, small apps do well with even 1 Gb RAM + 1 Gb swap.

Jsanwo64's avatar

Go with: 1 vCPU / 4GB RAM.

Why: 4GB eliminates memory anxiety; 1 vCPU is fine IF you offload exports to a background queue.

Warning: If heavy exports run live in the browser controller, the site will stutter for other users.

Snapey's avatar

I would go with 1 cpu and see how it goes. If its a half decent provider you should be able to add a cpu in a few minutes if response times are suffering.

atomas's avatar

Thanks you all. Will try 1CPU, and will see how it goes :)

Please or to participate in this conversation.