Personal Development Blog...
Coding for fun since 1996, Learn by doing and sharing.
View All Posts.
I moved my domain to UpCloud (on the other side of the world) from Vultr (Sydney) and could not be happier with the performance.
How to buy a new domain and SSL cert from NameCheap, a Server from Digital Ocean and configure it.
I moved my domain to UpCloud (on the other side of the world) from Vultr (Sydney) and could not be happier with the performance.
I moved my domain to UpCloud (on the other side of the world) from Vultr (Sydney) and could not be happier with the performance.
I moved my domain to UpCloud (on the other side of the world) from Vultr (Sydney) and could not be happier with the performance.
I moved my domain to UpCloud (on the other side of the world) from Vultr (Sydney) and could not be happier with the performance.
I moved my domain to UpCloud (on the other side of the world) from Vultr (Sydney) and could not be happier with the performance.
I ran the MySQL benchmark preparation command again (no problem this time).
sysbench --test=oltp --oltp-table-size=1000000 --db-driver=mysql --mysql-db=test --mysql-user=root --mysql-password=###################### prepare sysbench 0.4.12: multi-threaded system evaluation benchmark Creating table 'sbtest'... Creating 1000000 records in table 'sbtest'...
Creating table 'sbtest'...
Creating 1000000 records in table 'sbtest'...
Now I can benchmark MySQL on my main server.
Doing OLTP test.
Threads started!
Time limit exceeded, exiting...
Done.
mysql restart [ ok ] Restarting mysql (via systemctl): mysql.service.
[ ok ] Restarting mysql (via systemctl): mysql.service.
I ran the same benchmark again.
Doing OLTP test.
Threads started!
Time limit exceeded, exiting...
Done.
Read more in viewable query stats (columns) here.
You can assign 512MB, 1GB, 2GB or more memory to a server on Vultr, Read my guide here on upgrading resources for Vultr VM’s here.
Only upgrade your server’s memory when server processes demand it, there is no need to pay for extra idle memory. Read my older guides on upgrading Digital Ocean and AWS servers.
I use the htop utility to monitor memory and processes. The memory usage will depend on how you have configured your server to use connection pools in code, MySQL or services. Also what memory demands do you get in pean bandwidth times?
Set the following to use more ram over the swap disk.
What operating system do you have?
No LSB modules are available.
View NGINX Status, how much memory does it use?
One of the biggest impacts (after server latency) for your server is not the disk performance but the number of hosts/websites on the server who are also using the disk and server resources.
I have 80 other web servers on my server (based on a reverse lookup).
I may move to a dedicated box when I can afford it.
Above all else ensure that security is number 1 priority and make performance second priority.
Scan your site with Zap, Qualys and Kali Linux. Performance means nothing if you are hacked.
You can use Siege to test the maximum concurrent users accessing your site before the server starts to drop connections.
FYI: If you use Cloudflare (you should) this may not work as it will block connections.
** Preparing 15 concurrent users for battle.
The server is now under siege...
Lifting the server siege... done.
Keep upping the connections (from 10 above) to a limit where connections start dropping.
I tried 25 then 50 concurrent users hitting a server on Digital Ocean and it did not fail.
Measure or benchmark your server (and compare over time).
Create your own server on Vultr here.
Create your own server on Digital Ocean here.
Create your own server on UpCloud here.
And remember you can install the Runcloud server management dashboard here.
I hope this guide helps someone.
What would you like to see more posts about?
Poll Options are limited because JavaScript is disabled in your browser.
Create your own server on UpCloud here ($25 free credit).
Create your own server on Vultr here.
Create your own server on Digital Ocean here ($10 free credit).
Remember you can install the Runcloud server management dashboard here if you need DevOps help.
Terms And Conditions Of UseAll content provided on this "www.fearby.com" blog is for informational purposes only. Views are his own and not his employers. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. Never make changes to a live site without backing it up first.
I moved my domain to UpCloud (on the other side of the world) from Vultr (Sydney) and could not be happier with the performance.
Telstra promised Fibre to the house (FTTP) when I had FTTN and this is what happened..
What is the difference between 2D, 3D, 360 Video, AR, AR2D, AR3D, MR, VR and HR?
Why I will never buy a new Apple Laptop until they fix the hardware cooling issues.
Telstra promised Fibre to the house (FTTP) when I had FTTN and this is what happened..
Why I will never buy a new Apple Laptop until they fix the hardware cooling issues.
Telstra promised Fibre to the house (FTTP) when I had FTTN and this is what happened..
