System Error Message
Forum Replies Created
-
Forum: Reviews
In reply to: [AddToAny Share Buttons] adds more than 1s to load time when not neededI highlighted here https://imgur.com/a/JW420De . 5 facebook requests, 3 of which are hanging up the fully loaded time by 1s. Im trying to achieve sub 1s load times and so far i havent found any other plugin that uses this on the site.
Forum: Fixing WordPress
In reply to: Optimising wordpress to score full and be superfast@bcworkz Thanks i forgot about themes. my own website doesnt have these problems, only have to remove cookies from static resources and there is even a guide for that. I realised a couple differences between my personal website that i use shared hosting for and one we make where i work.
I have no ecommerce, elementor and my theme is SEO optimised.However in regards to the https redirect i can simply test the https link of my website and get full scores and 0.6s of load time using a shared host so im on my way to get full scores and an extremely fast loading website. So its not like you cant have both.
Fragments however seems like the biggest problem to solve via code so perhaps so i will need to learn how to make my own fragments plugin and not only cache it with redis/disk but also deliver it at the start of the request as an asynchronous request since the wait time is at least 1.5s before any data is received, for a website to load sub 1s 1.5 seconds of saving is huge.
Forum: Fixing WordPress
In reply to: Optimising wordpress to score full and be superfastHowever from what i did investigate, these are things that can be solved. For instance rather than including both jquery (1 version specific and 1 generic), can keep one like what the optimisation plugins do but rather host it on the site instead of using google/cloudflare and add a second in load time.
From what i searched about cookies on static resources, the advice is to use a subdomain instead and use a link/symlink to it.
However i would prefer a way to sort it via coding. One of the methods used to solve woocommerce ajax request in the past was to en-queue it using code as a separate plugin. So im wondering if its possible to do this in code for other things and if yes how?
You can get good grades and performance, i’ve seen some sites score 100% everywhere and still get half a second of load time. Some things i’ve tried for my own personal site is if i can use a design looks that works with instant click feature on litespeed cache, not only does the website load faster for users across the site but can score high at the same time.
Forum: Fixing WordPress
In reply to: Hardware needed to host multiple wordpress sites@diondesigns thanks, i’ve been going over server stats. It seems a single visit uses 1.5Mb/s burst from one website currently on the dedicated host, this sadly means a peak concurrency of 100 users which is a far cry from my planned 400 concurrent users per 100Mb/s. CPU usage is poor since it does use quite a bit and it also uses a HDD resulting in a 2s load time. Part of the problem i have is because the dedicated server offering with the provider is poor. I should write a little here so other admins can take note on configuring their server.
in regards to server setup, KVM can be very helpful here. Heres a benchmark when i ran windows server on KVM with opensuse as host using a single WD black HDD
So for hardware specs i’ve decided to go with the latest ryzen 8 core, a motherboard with 2 nvme slots, 32GB of fast DDR4 ram, 2x512GB SSDs in raid 0, Intel server quad port NIC.
For software config the host will run opensuse with mail server, redis and nginx proxy cache, on KVM1 centOS with apache, ISPConfig , on KVM2 debian and mariaDB. I think this is the best setup i could go with as KVM’s disk caching can use ram and significantly speed things up, have the host handle catching and interfaces, letting KVM have high speed IO between VMs and in the future upgrade ram, CPU and add a router as the provider offers 100Mb/s intefaces only, so allows to cheaply combine 10x100Mb/s interfaces into 1Gb/s via a single port, though the router with SFP+ is inexpensive, alongside 2nd hand SFP+ server cards.
On an optimised server, i think the bottleneck is network. The new ryzen CPUs offer a lot better performance than the xeons offered at datacenters here and have a lot more cache which is pretty helpful for hosting websites and easy upgradeabability of CPU but at 1U of size, going to need to find a closed loop liquid cooling that would fit or at least be PCIe slot mountabble. Im not a fan of litespeed despite the resource usage, since it gets difficult to add OPCache and configure things.
Over here the offerings are really poor. Very few international hosting services actually have servers in my country and the local ones do not advertise themselves here and every offering i’ve seen here is poor, so colocation is the best since i then have full control over the config of the server which dedicated here does not give, and VPS here only gets 1Mb/s. Just to pass from my country to the hub next door incurs a big penalty in network performance for locals here since most ISPs here throttle international traffic.
Forum: Fixing WordPress
In reply to: Hardware needed to host multiple wordpress sites@jnashhawkins my personal wordpress site which is on a shared host achieves a 0.6s load time with a total size of 800KB for the front page after caching and bloating the cache. This is with just using W3 total cache for objects, database, fragments, and using litespeed to cache the files, and on cloudflare i use a blanket rule to cache everything but standard cache for wp-admin. I also use a plugin so the only external domain requests is cloudflare. I also use quite a few plugins on it too and instant click from litespeed which does break tiny looks on some pages but i can live with it.
Cloudflare is a CDN, there is a way to cache files on it for free but i havent figured out how to cache specific files on it with a lifetime of forever (like fonts) otherwise i could get around the bloat from caching js and css optimised by litespeed.
Sadly many nice CDN services arent even available in my region, closest being singapore and many ISPs here are slow for international traffic. For example i could load a MMO really fast on 1 ISP, but other ISPs i have to go through many long failed attempts before finally getting in. So because most of the audience is here the only solution is to host it here and not next door to singapore, this removes many good options like inexpensive high speed VPS with decent interface bandwidths and more. Not many hosts provide redis either.
Forum: Fixing WordPress
In reply to: Hardware needed to host multiple wordpress sitesI always keep wordpress to the latest version and use PHP 7.3. No themes used only page builders.
Given a worse case of 400KB of data transfer per visitor after caching, 200Mb/s would fit 400-500 visitors a second. During one launch on a website of a heavy plugins, the peak CPU usage was 6 full cores until the wifi provided on site started to have problems but there was 4G on the area and many visitors used mobiles for approximately 100-200 a second peak.
From here i can estimate how much cpu is needed, but im also asking of experience of others in terms of CPU usage based on visitors not websites hosted as no CPU is used when there are no visitors, only ram and storage for files.
Some plugins like wordfence run scans once a week, so that will use CPU obviously. It would help to know how much CPU is used for others for visitors as well.
The other reason is because CPU cache amount does make a difference, and AMD ryzen tends to have more cache than intel so it would be helpful to know how well does a heavy php wordpress run on different CPUs. There isnt an exact estimate as things can change during the life of a website, but knowing an approximate of how much is needed is helpful as well.
@jnashhawkins
I have given thought to this. The problem is that in the region that we need hosting for, the best there is is pretty bleak in offerings despite good support. Datacenter isnt very far though, less than an hours drive, and the challenge here is to fit the right cooling into 1U, and what extensions might be needed such as PCIe slot based low profile SSD cards or to go with integrated motherboard m.2, and also using a proper server card. The problem about my region is that bandwidth offerings suck. VPS get 1Mb/s here dedicated, and looking through costs and hardware, its cheaper to do colocation. Budget wise there isnt enough to host redundant servers or rent cloud boxes as in my region there area no suitable or decent offerings that are hosted here and not in singapore.- This reply was modified 4 years, 11 months ago by System Error Message.