SlideShare a Scribd company logo
www.glcnetworks.com
Running moodle
for high
concurrent users
GLC Webinar,
2 Dec 2021
Achmad Mardiansyah
achmad@glcnetworks.com
GLC Networks, Indonesia
1
www.glcnetworks.com
Agenda
● Introduction
● Review prerequisite knowledge
● Moodle deployment
● Moodle tips
● Live practice
● Q & A
2
www.glcnetworks.com
introduction
3
www.glcnetworks.com
What is GLC?
● Garda Lintas Cakrawala (www.glcnetworks.com)
● Based in Bandung, Indonesia
● Areas: Training, IT Consulting
● Certified partner for: Mikrotik, Ubiquity, Linux foundation
● Product: GLC radius manager
● Regular event
4
www.glcnetworks.com
Trainer Introduction
● Name: Achmad Mardiansyah
● Base: bandung, Indonesia
● Linux user since 1999, mikrotik user since 2007, UBNT
2011
● Mikrotik Certified Trainer
(MTCNA/RE/WE/UME/INE/TCE/IPv6)
● Mikrotik/Linux Certified Consultant
● Website contributor: achmadjournal.com, mikrotik.tips,
asysadmin.tips
● More info:
http://au.linkedin.com/in/achmadmardiansyah
5
www.glcnetworks.com
Past experience
6
● 2021 (Congo DRC, Malaysia): network support,
radius/billing integration
● 2020 (Congo DRC, Malaysia): IOT integration,
network automation
● 2019, Congo (DRC): build a wireless ISP from
ground-up
● 2018, Malaysia: network revamp, develop billing
solution and integration, setup dynamic routing
● 2017, Libya (north africa): remote wireless migration
for a new Wireless ISP
● 2016, United Kingdom: workshop for wireless ISP,
migrating a bridged to routed network
www.glcnetworks.com
About GLC webinar?
● First webinar: january 1, 2010 (title:
tahun baru bersama solaris - new year
with solaris OS)
● As a sharing event with various topics:
linux, networking, wireless, database,
programming, etc
● Regular schedule
● Irregular schedule: as needed
● Checking schedule:
http://www.glcnetworks.com/schedule
● You are invited to be a presenter
○ No need to be an expert
○ This is a forum for sharing: knowledge,
experiences, information
7
www.glcnetworks.com
Please introduce yourself
● Your name
● Your company/university?
● Your networking experience?
● Your mikrotik experience?
● Your expectation from this course?
8
www.glcnetworks.com
Prerequisite
● This presentation is not for beginner
● We assume you already understand:
○ Computer networking
○ Linux server administration
○ PHP programming
○ Database administration/developer
9
www.glcnetworks.com
Review prerequisite knowledge
10
www.glcnetworks.com
7 OSI layer & protocol
11
● OSI layer Is a conceptual model from ISO
(International Standard Organization) for project
OSI (Open System Interconnection)
● When you send a message with a courier, you
need to add more info to get your message arrived
at the destination (This process is called
encapsulation)
● What is protocol
○ Is a set of rules for communication
○ Available on each layer
● Communication consist of series encapsulation
○ SDU: service data unit (before PDU)
○ PDU: protocol data unit (after header is added)
www.glcnetworks.com
Layered model (TCP/IP vs ISO) and encapsulation
12
/ datagram
www.glcnetworks.com
Web protocol
13
www.glcnetworks.com
What is web application?
14
www.glcnetworks.com
What is HTTP?
15
www.glcnetworks.com
Web app protocol + components
16
www.glcnetworks.com
Web application flow
17
www.glcnetworks.com
18
www.glcnetworks.com
Components are from different website
19
www.glcnetworks.com
Http messages
20
www.glcnetworks.com
Static vs dynamic website
21
www.glcnetworks.com
What is web server / application server?
(static vs dynamic content)
22
www.glcnetworks.com
Software to build web + application server
● Apache
● Nginx
● Lighttpd
● Cherooke
Bundled components:
● LWDA (Linux <webserver>
<database> <app engine>)
● LAMP (Linux Apache Mysql
PHP)
● LNMP (Linux
23
www.glcnetworks.com
Moodle
24
www.glcnetworks.com
What is Moodle
● Web-based application
● Language: PHP
● Database: Mysql, postgresql
● Developed since early 2000
● Free and Opensource
● Lots of plugins
● Used by many education institutions
● Easy installation
● Easy maintenance / upgrade
25
www.glcnetworks.com
Moodle tips
26
www.glcnetworks.com
Moodle tips: source code
● Better use installation via GIT
● Easier to rollback
● Easier to upgrade (git pull)
● Easier to switch version (git branch)
27
www.glcnetworks.com
Moodle tips: use tiered architecture
● Use tiered layer for moodle
28
www.glcnetworks.com
Moodle tips: use threaded software
● Use thread based software → save resources (RAM)
○ Apache MPM-event / MPM-worker
○ nginx
●
29
www.glcnetworks.com
Moodle tips: storage
● Use faster harddisk (SSD is minimum)
● Separate database and application disks
● Make sure space is available (moodle data can take lots of space)
● Use external source to save space (e.g. youtube)
30
www.glcnetworks.com
Moodle tips: networking
● Make sure to have enough bandwidth for moodle
● Usually happen in rush hour (e.g. submission deadline… :-p)
●
31
www.glcnetworks.com
Moodle tips: cache
● Cache plays important rule to speedup moodle
● Some recommended cache:
○ Memcache
○ Redis
●
32
www.glcnetworks.com
Moodle tips: use cloud
● You can just focus on content
● The limit is your credit card
33
www.glcnetworks.com
Example moodle performance
● This was recorded in a mass quiz in 2017
34
www.glcnetworks.com
Moodle monitoring
35
www.glcnetworks.com
Webserver maintenance
● Monitoring:
○ Resources: CPU, RAM, IO (storage/networking)
○ Log analysis
○ Regular monitoring
● Maintenance:
○ Broken disk/components
○ Replacement
○ Use RAID?
36
www.glcnetworks.com
Moodle security
37
www.glcnetworks.com
Moodle security
● PHP security
○ Disable functions
○ openbasedir
● Linux security
○ Permission / ownership
○ Access control
● Database security
○ Access control
● Networking
○ IP blocking
38
www.glcnetworks.com
LIVE practice
39
www.glcnetworks.com
preparation
● SSH client
● SSH parameters
○ SSH address
○ SSH port
○ SSH username
○ SSH password
40
www.glcnetworks.com
Q & A
41
www.glcnetworks.com
Interested? Just come to our training...
● Topics are arranged in systematic and logical way
● You will learn from experienced teacher
● Not only learn the materials, but also sharing experiences, best-practices, and
networking
42
www.glcnetworks.com
End of slides
● Thank you for your attention
● Please submit your feedback: http://bit.ly/glcfeedback
● Like our facebook page: https://www.facebook.com/glcnetworks
● Slide: http://www.slideshare.net/r41nbuw
● Recording (youtube): https://goo.gl/28ABHU
● Stay tune with our schedule
● Any questions?
43

More Related Content

PDF
IPsec on Mikrotik
PDF
OpeVPN on Mikrotik
PDF
Mikrotik firewall mangle
PDF
Voice Services, From Circuit Switch to VoIP
PDF
IPv6 with Mikrotik
PDF
Using Mikrotik Switch Features to Improve Your Network
PDF
Mikrotik firewall filter
PDF
Using mikrotik with radius
IPsec on Mikrotik
OpeVPN on Mikrotik
Mikrotik firewall mangle
Voice Services, From Circuit Switch to VoIP
IPv6 with Mikrotik
Using Mikrotik Switch Features to Improve Your Network
Mikrotik firewall filter
Using mikrotik with radius

What's hot (20)

PDF
MUM Melbourne : Build Enterprise Wireless with CAPsMAN
PDF
Mikrotik firewall raw table
PDF
WBS Compliance Challenges for Agile ERP Projects
PDF
Zabbix for Monitoring
PDF
Layer 7 Firewall on Mikrotik
PDF
Choosing Mikrotik Platform x86 vs chr
PDF
Mikrotik fasttrack
PDF
MPLS on Router OS V7 - Part 1
PDF
Mikrotik Bridge Deep Dive
PDF
Network analysis Using Wireshark Lesson 11: TCP and UDP Analysis
PDF
Tunnel vs VPN on Mikrotik
PPTX
PCI BUS
PDF
Network Monitoring with The Dude and Whatsapp
PPT
Layer 2 switching fundamentals(networking)
PDF
Mikrotik Fastpath vs Fasttrack
PDF
Asa packet-flow-00
PPTX
Snmp protocol
PDF
VLAN vs VXLAN
PDF
ISP Load Balancing with Mikrotik ECMP
PDF
MikroTik & RouterOS
MUM Melbourne : Build Enterprise Wireless with CAPsMAN
Mikrotik firewall raw table
WBS Compliance Challenges for Agile ERP Projects
Zabbix for Monitoring
Layer 7 Firewall on Mikrotik
Choosing Mikrotik Platform x86 vs chr
Mikrotik fasttrack
MPLS on Router OS V7 - Part 1
Mikrotik Bridge Deep Dive
Network analysis Using Wireshark Lesson 11: TCP and UDP Analysis
Tunnel vs VPN on Mikrotik
PCI BUS
Network Monitoring with The Dude and Whatsapp
Layer 2 switching fundamentals(networking)
Mikrotik Fastpath vs Fasttrack
Asa packet-flow-00
Snmp protocol
VLAN vs VXLAN
ISP Load Balancing with Mikrotik ECMP
MikroTik & RouterOS
Ad

Similar to Running Moodle for High Concurrent Users (20)

PDF
Using Control-Webpanel for Hosting Service - Part 1
PDF
Building Web Server with Linux
PDF
Dynamic Website with Python
PDF
Building API with PHP
PDF
Up and Running SSH Service - Part 1
PDF
BGP Services IP Transit vs IP Peering
PDF
Socket Programming with Python
PPT
Introduction of networking basic details
PDF
Introduction to Web Development
PDF
Running BGP with Mikrotik
ODP
Moodle Development Best Pracitces
PDF
Manage Your Router with Dynamic Public IP
PPT
Large-scale projects development (scaling LAMP)
PDF
Building a Web Server with NGINX
PPT
Advanced Computer Networks Lecture 1.ppt
PPT
Chapter - 1 Introduction to networking (3).ppt
PDF
Java Network Programming Fourth Edition Elliotte Rusty Harold
PPTX
Untangling the web week1
PDF
Build Your Own ISP
PPTX
Chapter 3-Processes2.pptx
Using Control-Webpanel for Hosting Service - Part 1
Building Web Server with Linux
Dynamic Website with Python
Building API with PHP
Up and Running SSH Service - Part 1
BGP Services IP Transit vs IP Peering
Socket Programming with Python
Introduction of networking basic details
Introduction to Web Development
Running BGP with Mikrotik
Moodle Development Best Pracitces
Manage Your Router with Dynamic Public IP
Large-scale projects development (scaling LAMP)
Building a Web Server with NGINX
Advanced Computer Networks Lecture 1.ppt
Chapter - 1 Introduction to networking (3).ppt
Java Network Programming Fourth Edition Elliotte Rusty Harold
Untangling the web week1
Build Your Own ISP
Chapter 3-Processes2.pptx
Ad

More from GLC Networks (20)

PDF
Firewall mangle PBR: steering outbound path similar to inbound
PDF
Internal BGP tuning: Mesh peering to avoid loop
PDF
BGP tuning: Peer with loopback
PDF
BGP security tuning: pull-up route
PDF
BGP troubleshooting: route origin
PDF
Steering traffic in OSPF: Interface cost
PDF
Tuning OSPF: Bidirectional Forwarding Detection (BFD)
PDF
Tuning OSPF: Prefix Aggregate
PDF
Tuning OSPF: area hierarchy, LSA, and area type
PDF
Stable OSPF: choosing network type.pdf
PDF
Controlling Access Between Devices in the same Layer 2 Segment
PDF
GIT as Mikrotik Configuration Management
PDF
RouterOS Migration From v6 to v7
PDF
Best Current Practice (BCP) 38 Ingress Filtering for Security
PDF
EOIP Deep Dive
PDF
Policy Based Routing with Indirect BGP - Part 2
PDF
Policy Based Routing with Indirect BGP - Part 1
PDF
Internet Protocol Deep-Dive
PDF
Mikrotik IP Settings For Performance and Security
PPTX
Automatic Backup via FTP - Part 2
Firewall mangle PBR: steering outbound path similar to inbound
Internal BGP tuning: Mesh peering to avoid loop
BGP tuning: Peer with loopback
BGP security tuning: pull-up route
BGP troubleshooting: route origin
Steering traffic in OSPF: Interface cost
Tuning OSPF: Bidirectional Forwarding Detection (BFD)
Tuning OSPF: Prefix Aggregate
Tuning OSPF: area hierarchy, LSA, and area type
Stable OSPF: choosing network type.pdf
Controlling Access Between Devices in the same Layer 2 Segment
GIT as Mikrotik Configuration Management
RouterOS Migration From v6 to v7
Best Current Practice (BCP) 38 Ingress Filtering for Security
EOIP Deep Dive
Policy Based Routing with Indirect BGP - Part 2
Policy Based Routing with Indirect BGP - Part 1
Internet Protocol Deep-Dive
Mikrotik IP Settings For Performance and Security
Automatic Backup via FTP - Part 2

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Cloud computing and distributed systems.
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Empathic Computing: Creating Shared Understanding
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Electronic commerce courselecture one. Pdf
PDF
Encapsulation theory and applications.pdf
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
KodekX | Application Modernization Development
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Spectral efficient network and resource selection model in 5G networks
Dropbox Q2 2025 Financial Results & Investor Presentation
Cloud computing and distributed systems.
Diabetes mellitus diagnosis method based random forest with bat algorithm
Unlocking AI with Model Context Protocol (MCP)
Encapsulation_ Review paper, used for researhc scholars
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Advanced methodologies resolving dimensionality complications for autism neur...
Empathic Computing: Creating Shared Understanding
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Electronic commerce courselecture one. Pdf
Encapsulation theory and applications.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
KodekX | Application Modernization Development
Machine learning based COVID-19 study performance prediction
Understanding_Digital_Forensics_Presentation.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Building Integrated photovoltaic BIPV_UPV.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Profit Center Accounting in SAP S/4HANA, S4F28 Col11

Running Moodle for High Concurrent Users