Professional Documents
Culture Documents
ITU Innovators
IT Kartellet
Talk
Coffee & Networking
ITU Innovators
● Student Entrepreneurial Organization
Driven by volunteers
● Vision
Connecting students with startup companies,
advisors, incubators, events, networking, ...
● Events
Arranging and attending talks, workshops,
competitions, meetings, ...
IT Kartellet
● IT-consultancy
● Software development
● Hosting
● Moodle/Drupal experience
● ASP.NET (MVC)
Various
measurements Diagram
Server-side R script
Case example
File storage and cache
File storage and cache
● Moodle requires
shared cache
Data properties
● Shared vs. Local
● Volatile vs. Non-Volatile
Local Strings, plugin data, config,
database meta
Volatile
Htmlpurifier, question data,
Shared
course contacts
Non-Volatile
NFS
Web server 1
HDD
- File store
Moodle
- Language strings
- Plugins data
- Config
- Htmlpurifier
Web server 2
- Question data
- Course contacts
- Database meta
Moodle
- Temporary files
- Update logs
Local volatile cache
HDD Moodle
- File store Web server 2
- Htmlpurifier
- Question data APC
- Course contacts Moodle - Language
- Temporary files strings
- Update logs - Plugins data
APC - Config
- Language - Database meta
strings
- Plugins data
- Config
- Database meta
Shared volatile cache
NFS
Moodle RAM
- Language
HDD strings
- File store Web server 2 - Plugins data
- Temporary files - Config
- Update logs - Database meta
Moodle - Htmlpurifier
- Question data
- Course contacts
Case example
Database
Database load
● Sessions
● User access rights
● Courses
● File meta data
● ...
Single instance
● Easy to set up
● ACID
● Single point of failure
● All load on a single server
● Vertical scaling
Cluster setup
● Redundancy (X-axis)
● Specialisation (sharding)
○ Y-axis
○ Z-axis
Scaling Open Source
● Open source code - not build with scaling in mind - will
only scale “prettily” if redesigned, but we can do it!
○ A lot can be achieved by configuration
● A different approach to contributing to open source!
○ We were imagining to be able to walk right in and
point out where moodle developers were wrong
○ However, we ended up not changing a single line of
moodle code
Questions?
Coffee & Networking