Answer the question
In order to leave comments, you need to log in
What are digital ocean stress tests for a wordpress website?
Hello.
I found several services for stress testing a website on WordPress.
Standard installation and several pages.
Default configured lamp
Surprised by the results.
A 512 MB virtual machine holds only 50 simultaneous visitors and 1-2 requests per second on the loadimpact.com service . I don't understand if it's too much or too little?
after that, the muscle falls and that's it.
What options can be used to make everything work fine. I want to get away from shared hosting (unprofitable already).
Is it correct to auto-restart the muscle?
Fine-tuning for Apache for a 512 MB virtual machine on an SSD?
What services of an adequate assessment can you know?
Still looked before the fall.
SBU Total number of simulated clients (VU or SBU) active. 41
Connections active 82 Number of open TCP connections to target system.
Requests 1045 (7 req/s) Current number of requests per second.
Answer the question
In order to leave comments, you need to log in
Hire an admin)
And according to the subject - if WordPress is not clogged with unsuccessful plugins (well, its database is less than 250 mb), then on this virtual machine you can keep 5-7 requests per second. If you work hard - then 10.
"The number of visitors to the site" is not an indicator of anything at all.
How often do you have 50 visitors on your site at one time?
Any shared has clearly more than 512MB of RAM.
The muscle falls, most likely from a lack of RAM. Need to tune in. For a start, you can take this as a sample (such a config on my experimental droplet in 512Mb):
[client]
port = 3306
socket = /var/run/mysqld/mysqld.sock
[mysqld_safe]
socket = /var/run/mysqld/mysqld.sock
nice = 0
[mysqld]
user = mysql
pid-file = /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking
local-infile=0
bind-address = 127.0.0.1
key_buffer = 16M
max_allowed_packet = 16M
thread_stack = 192K
thread_cache_size = 8
myisam-recover = BACKUP
query_cache_limit = 1M
query_cache_size = 16M
log_error = /var/log/mysql/error.log
expire_logs_days = 10
max_binlog_size = 100M
[mysqldump]
quick
quote-names
max_allowed_packet = 16M
[mysql]
[isamchk]
key_buffer = 16M
!includedir /etc/mysql/conf.d/
Buy in the same DO for each component of the system 1 instance.
1 mysql, 1 php-fpm, 1 nginx. drive it into the same newrelic at a free rate.
15 bucks and you'll be happy.
In the future, it will be easier to scale horizontally first.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question