ireland moot 2013 admin workshop afternoon session

17

Click here to load reader

Upload: remote-learner-uk

Post on 09-May-2015

109 views

Category:

Documents


4 download

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 tweaking

TRANSCRIPT

Page 1: Ireland Moot 2013 Admin Workshop Afternoon Session

Jonathan MooreCTO and Vice President RL-UK

Page 2: Ireland Moot 2013 Admin Workshop Afternoon Session

Koen RoggernansIT Manager Sint-Ritacollege

Page 3: Ireland Moot 2013 Admin Workshop Afternoon Session

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

Sint-Ritacollege Background and Context

● 1,500 pupils● Age 12 – 18● Dedicated server● Early adopter

Page 5: Ireland Moot 2013 Admin Workshop Afternoon Session

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

Format

● Platform / Architecture Overview● Best practices / info sharing● Hands-on

Page 7: Ireland Moot 2013 Admin Workshop Afternoon Session

Hosting Application Layer

● Web Server● Database Server● Moodledata (dataroot)● Sessions

Page 8: Ireland Moot 2013 Admin Workshop Afternoon Session

Server Options

● Dedicated / Virtual / Shared● OS selection● Database selection

Page 9: Ireland Moot 2013 Admin Workshop Afternoon Session

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

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

Performance Testing

● jMeter● Apache ab utility

Page 12: Ireland Moot 2013 Admin Workshop Afternoon Session

Hands-on

● Download jMeter● Show ab

Page 13: Ireland Moot 2013 Admin Workshop Afternoon Session

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

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

Performance Tweaking

● Memory Budget● Concurrency● 5 Things Making Your Site Slow● Testing

Page 16: Ireland Moot 2013 Admin Workshop Afternoon Session

Hands-on

Working with jMeter for performance testing

Page 17: Ireland Moot 2013 Admin Workshop Afternoon Session

Questions?