Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

iamine's avatar
Level 14

Which server is suitable for laravel app to handle 5k - 10k simultaneous visitors

Hey, I have a vps server that is hosting a laravel app, with Registration / Login / and some queries on dashboard

i want to upgrade, which server is suitable for handling 5k - 10k simultaneous visitors ?

0 likes
5 replies
bobbybouwmann's avatar

What kind of server do you have right now? Do you struggle with performance?

Also where do you host your server right now?

A server with 4GB and 2CPU's should be able to handle this just fine, at least it does that for most of my websites. If you're not sure you can always take a tier higher

iamine's avatar
Level 14

i have a server with 1CPU & 4GB ram it work's find until i reach 1500 simultaneous visitors it get down

i'm hosting my website on "OVH" company

i'm running my server on Ubuntu 16.04 using Nginx and MySQL

do you have any reference article on how to configure optimize the server ?

Snapey's avatar

The number of simultaneous visitors is a pretty poor measure. What counts is the requests per second and the level of database contention.

A simultaneous visitor (eg has an active session) could load a page per hour, or a page every 10 seconds.

bobbybouwmann's avatar

In some way you can calculate the amount you need

(number of CPU cores / Average Page Response Time in seconds) * 60 * User Click Frequency in seconds = Maximum simultaneous users

You can then calculate how much you need. However you need to gather some data first. It's really hard to tell you what server you need at this point. But upgrading one tier should never harm your server ;)

2 likes

Please or to participate in this conversation.