My Moodle is very slow 2 weeks ago

My Moodle is very slow 2 weeks ago

by zizo zizo -
Number of replies: 8

Hi,

Please can your advice our great moodle team . I have site serving 13.000 student . Two weeks ago  it is very slow 2 weeks ago i didn't know the reason

please see this link for more details

https://gtmetrix.com/reports/alketabalmasry.com/x5kP0fDD

Your support for make it speed

Waiting

Thanks

Average of ratings: -
In reply to zizo zizo

Re: My Moodle is very slow 2 weeks ago

by Simon Rediss-Whitfield -

Hi zizo zizo, if possible I would recommend restarting the server and see if that makes a difference...

Average of ratings:Useful (1)
In reply to zizo zizo

Re: My Moodle is very slow 2 weeks ago

by Joe Hart -

I think it's because Spike server is too big, so when you menggunakannnya will beslow. Maybe Restart server is the solution, if still cannot, please contactmoodle

Average of ratings:Useful (1)
In reply to zizo zizo

Re: My Moodle is very slow 2 weeks ago

by Usman Asar -
Picture of Plugin developers Picture of Testers
It has nothing to do with your server performance, but the pipe.
2 weeks ago you may not have that many users online to fetch the bandwidth from the server, but now as you have, with loads of heavy elements on the frontpage (9+ MB is ridiculous high), if you are considering scoring as bad, then let me tell you one thing, scoring is not bad at all, I have seen plenty of popular sites with even less scoring and still working A-OK.

Now for optimizing the front page, you need to

1: optimize the images, as I assume you have just placed the raw images in slider, with each image nearing 2MB you are loading 8MB upfront, though there is a slight fault for the slider as well as it was supposed to be loading images as slider moves rather downloading all images first before moving slider.

2: use a CDN, use CloudFlare free package, they will cache the heavy elements (Images) on their nodes so rather they coming from your server, they will be served via CDN making it faster for users to fetch the data.

3: for that many users, I am assuming you must still be sitting on a 100Mb/s pipe, which I would recommend to upgrade to 1000MB/s to avoid he bottle neck in transferring data.
Average of ratings:Useful (1)
In reply to Usman Asar

Re: My Moodle is very slow 2 weeks ago

by zizo zizo -

Many thanks for all , 

Please Mr.Asar

How can i make these points :- 
2: use a CDN, use CloudFlare free package, they will cache the heavy elements (Images) on their nodes so rather they coming from your server, they will be served via CDN making it faster for users to fetch the data.

3: for that many users, I am assuming you must still be sitting on a 100Mb/s pipe, which I would recommend to upgrade to 1000MB/s to avoid he bottle neck in transferring data. 

Regards

In reply to zizo zizo

Re: My Moodle is very slow 2 weeks ago

by Usman Asar -
Picture of Plugin developers Picture of Testers

go to site (www.cloudflare.com) and open free account, also you can utilize this via your CPanel (depending on if you are hosting moodle with third party, and they have given CPanel as hosting administration panel), you'll find all cloudflare options there (like shown below)

if you dont have CPanel available, then still you can route traffic through CloudFlare, all you have to do is, create free account there, and add your website (rest follow their instructions), you will have to make changed in your domain's name servers to utilize the CDN.

Just be aware, that start with all basic options (means everything turned off) and gradually start turning on the things like Cache parameters for HTML, CSS and JavaScript. in about 2-3 days re-test your website once it has propagated most of the content on to its nodes and see if it makes the difference.

For second option, you have to ask your hosting provider, as you definitely wont be using a shared host for 13,000 users, it will be a VPS or Dedicated or Cloud.

Though, start with CloudFlare, see what difference it brings to your site, if you are having difficulty setting up properly, gimme a shout and i'll guide you through properly.

In reply to Usman Asar

Re: My Moodle is very slow 2 weeks ago

by Visvanath Ratnaweera -
Picture of Particularly helpful Moodlers Picture of Translators
Hi Usman

You said:
> It has nothing to do with your server performance, but the pipe.

How did you find that out?
In reply to Visvanath Ratnaweera

Re: My Moodle is very slow 2 weeks ago

by Usman Asar -
Picture of Plugin developers Picture of Testers

Hello Visvanath,

They are hosting on BlueHost, their DNS's so far fastest in shared hosting industry as far as I am aware of and have tested, stuffing 13k users will take equal share of bandwidth where they have given reference to the front page score showing nearly 10MB of loading scripts and images, also their prime location for accessing the site is Saudi Arabia and once can expect loading time increasing reaching destination, so have recommended dedicated bandwidth plus use of a CDN and optimization of frontpage. I had done load tests prior recommending and load tests came out fine, only making the rendering of client side scripts as major cause of these scores.


Average of ratings:Useful (2)