15. Solution
• Plan
How ?
– Goal to reach
• Do
Plan
– Setup your simulation environment
Act
Do
• Check
– Measure
Check
NTICE
• Act
– Find the right optimization
17. Plan
Solution
Act
Do
Check
Goal to reach
• Psychology of web performance
“How web page response time affect user psychology
and behavior”
(WebSiteOptimization, 2008)
NTICE
18. Plan
Solution
Act
Do
Check
Goal to reach
• Psychology of web performance
“lower perceived credibility”
(Fogg et al. 2001)
8 to 10 seconds
“lower perceived quality”
(Bouch et al. 2000)
“increase user frustration”
(King 2003)
Load times
NTICE
19. Plan
Solution
Act
Do
Check
Goal to reach
• Psychology of web performance
“perceived more interesting”
(Ramsay et al. 1998)
8 to 10 seconds
“perceived more attractive”
(Skadberg and Kimmel)
Load times
NTICE
27. Plan
Solution
Act
Do
Check
Find the right optimization
• Hardware configuration (CPU, RAM, disk, network, etc.)
• Operating System (Linux, Unix, Windows, etc.)
• Web server performance
– PHP performance (PHP accelerator, settings, etc.)
– Apache performance (settings, modules, etc.)
• Database performance (settings, engine, queries, etc.)
NTICE
28. Results
Our findings
1. Use real server instead of VM
2. Choose the right DB engine for each table
(InnoDB vs MyISAM)
3. Add the right PHP accelerator
4. Update your LAMP components (Apache, PHP,
MySQL)
NTICE
29. Results
Use real server instead of VM
Find the right optimization
• Hardware configuration (CPU, RAM, disk, network,
etc.)
• Operating System (Linux, Unix, Windows, etc.)
• Web server performance
– PHP performance (PHP accelerator, settings, etc.)
– Apache performance (settings, modules, etc.)
• Database performance (settings, engine, queries,
etc.)
NTICE
30. Results
Choose the right DB engine
Find the right optimization
• Hardware configuration (CPU, RAM, disk, network,
etc.)
• Operating System (Linux, Unix, Windows, etc.)
• Web server performance
– PHP performance (PHP accelerator, settings, etc.)
– Apache performance (settings, modules, etc.)
• Database performance (settings, engine, queries,
etc.)
NTICE
31. Results
Add the right PHP accelerator
Find the right optimization
• Hardware configuration (CPU, RAM, disk, network,
etc.)
• Operating System (Linux, Unix, Windows, etc.)
• Web server performance
– PHP performance (PHP accelerator, settings, etc.)
– Apache performance (settings, modules, etc.)
• Database performance (settings, engine, queries,
etc.)
NTICE
37. In summary
5 tips for optimizing your Chamilo
1.
2.
3.
4.
5.
Use a real server
Choose the right DB engine for each table
Update your LAMP components
Add the Zend Optimizer+ accelerator
Detect slow queries and optimize them
NTICE
38. Current situation
Measure this week with Chamilo 1.9.x
# of users
425
560
507
493
532
600
725
460
750
NTICE
Chamilo response time [ms]
483