Technical Blog by Tomasz Muras Technical Blog
  • Search
Navigation bar avatar
✕

    Moodle

    • How to configure OpenID Connect with github

      Posted on May 29, 2022

      The example below is based on Moodle but similar will apply to any open OpenID Connect (OIDC) Relying Party. Moodle URL used here as example is https://test.pycert.org. Replace it with your installation URL. [Read More]
      Tags:
      • sso
      • moodle
    • Using Pressure Stall Information (PSI) to find performance bottleneck

      Posted on October 17, 2020

      PSI stands for Pressure Stall Information and it’s an alternative to Linux load statistic that gives an insight into how and why your system is busy. [Read More]
      Tags:
      • moodle
    • Moodle's performance information and events

      Posted on May 23, 2020

      Moodle’s performance information (can be enabled in Site administration -> Development -> Debugging) is very useful for troubleshooting your site performance. Sometimes just one look there will tell you where the (performance) problem is. But sometimes not. [Read More]
      Tags:
      • moodle
    • Session locking in Moodle part 3

      Posted on May 17, 2020

      The problem with the session locks is that it may often cause the performance issues for the end users. Imagine that a teacher runs some complicated report. The report generation takes more than one minute. After just few seconds, the teacher gets bored and opens the course page in a… [Read More]
      Tags:
      • moodle
    • Session locking in Moodle part 2

      Posted on April 25, 2020

      In part 1 we have learned how the session locks work in PHP. Now let’s apply it in the Moodle context. [Read More]
      Tags:
      • moodle
    • Session locking in Moodle part 1

      Posted on April 22, 2020

      The “problem” of session locking is not specific to Moodle. In general, the way web applications work is that any authenticated user will have his session data stored somehow on the server. At the beginnig of the HTTP request, his session data is retrieved and at the end of the… [Read More]
      Tags:
      • moodle
    • Lines of code calculation in Moodle 2.6 - 3.4

      Posted on February 28, 2018

      The latest release - 3.4 has about 800k non-comment, non-blank lines of PHP code and about 90.7k non-comment, non-blank lines of JS code. [Read More]
      Tags:
      • moodle
    • URL-dependent load balancing with HAProxy

      Posted on December 15, 2017

      We have a typical web application that is deployed behind a load balancer with several web servers behind. The web servers are nearly identical - running the same OS, code, packages. But they do differ in one way - some have a quick access to the external asset’s repository. Other… [Read More]
      Tags:
      • linux
      • virtualization
      • moodle
    • Coding style convention for naming Moodle variables

      Posted on August 24, 2017

      There quite are few naming conventions for multiple-word variable names in use these days. The most popular are: [Read More]
      Tags:
      • moodle
    • Number of lines of code in Moodle 2.6

      Posted on November 23, 2013

      How many lines of code does Moodle have? The short answer is: core Moodle 2.6 has about 600k lines of code + 3rd party libraries. [Read More]
      Tags:
      • moodle
    • Moodle Global Search and Zend Lucene performance

      Posted on March 26, 2012

      I’ve been working for some time on rewriting Global Search feature for Moodle. This is basically a search functionality that would span different regions of Moodle. Ideally it should allow to search everywhere within Moodle: forums, physical documents attached as resources, etc. The implementation should work in PHP, so as… [Read More]
      Tags:
      • moodle
      • zend
      • php

      Tomasz Muras  •  2026

      Powered by Hugo, styled with Beautiful Jekyll