ireland moot 2013 admin workshop afternoon session
DESCRIPTION
his workshop is aimed at Moodle admins who already have done some Moodle admin before and want to understand the changes that Moodle 2 brings to the Admin, and how also how to help optimise their Moodle site. Moodle 2 Admin workshop 2 (afternoon session) This session will focus on performance related aspects of Moodle 2 including: The hosting application layer (Web server, Database) The different server options for hosting Moodle Performance testing Typical areas which affect performance Performance tweakingTRANSCRIPT
![Page 1: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/1.jpg)
Jonathan MooreCTO and Vice President RL-UK
![Page 2: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/2.jpg)
Koen RoggernansIT Manager Sint-Ritacollege
![Page 3: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/3.jpg)
RL Background and Context
● Over 3000 hosted Moodle sites● Over 12 million registered Moodle
accounts● Over 2,000,000 Moodle courses● Hosting Moodle sites since 2004● Virtualized Infrastructure
![Page 4: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/4.jpg)
Sint-Ritacollege Background and Context
● 1,500 pupils● Age 12 – 18● Dedicated server● Early adopter
![Page 5: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/5.jpg)
Getting to Know You
● How many host your own Moodle site?
● What OS are you running?● What web server are you running?● What database are you running?
![Page 6: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/6.jpg)
Format
● Platform / Architecture Overview● Best practices / info sharing● Hands-on
![Page 7: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/7.jpg)
Hosting Application Layer
● Web Server● Database Server● Moodledata (dataroot)● Sessions
![Page 8: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/8.jpg)
Server Options
● Dedicated / Virtual / Shared● OS selection● Database selection
![Page 9: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/9.jpg)
Platform Selection
● Linux most used for scalability● Windows significantly lower performance
for PHP apps● Mac OSX forking performance issue
– Apache and MySQL concurrency issue
![Page 10: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/10.jpg)
Know What's Happening on Your Server
● Monitoring: Cacti
– SNMP monitoring
– Round robin log storage
● Alerts and Notifications: Nagios
– SNMP alert system Pingdom
– Have your servers page or text you!
![Page 11: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/11.jpg)
Performance Testing
● jMeter● Apache ab utility
![Page 12: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/12.jpg)
Hands-on
● Download jMeter● Show ab
![Page 13: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/13.jpg)
Performance Tips
● PHP Accelerator – APC● MySQL –
– Buffers and Query Caching– Use InnoDB– Use Percona build
● Sessions● Moodle source code location
![Page 14: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/14.jpg)
More Tips
● Batch cron.php runs for multiple Moodles
● Check state of indexes and bigints● Perform database maintenance
![Page 15: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/15.jpg)
Performance Tweaking
● Memory Budget● Concurrency● 5 Things Making Your Site Slow● Testing
![Page 16: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/16.jpg)
Hands-on
Working with jMeter for performance testing
![Page 17: Ireland Moot 2013 Admin Workshop Afternoon Session](https://reader038.vdocuments.site/reader038/viewer/2022100523/554ddafdb4c905d10e8b50b5/html5/thumbnails/17.jpg)
Questions?