אוק 13

KeyDB – The faster Redis Alternative

KeyDB now has support with multiple masters when replicating, and It’s a drop in replacement to REDIS.

When KeyDB connects with multiple masters it behaves differently than with traditional replication:

Multiple invocations of the replicaof command will result in adding additional masters, not replacing the current one
KeyDB will not drop its database when sync’ing with the master
KeyDB will merge any reads/writes from the master with its own internal database
KeyDB will default to last operation wins

This means that a replica with multiple masters will contain a superset of the data of all its masters. If two masters have a value with the same key it is undefined which key will be taken. If a master deletes a key that exists on another master the replica will no longer contain a copy of that key.

Source: KeyDB – The faster Redis Alternative

ספט 16

VOD & Moodle

Putting together a DIY VOD streaming solution for Moodle based on NGINX + Kaltura-streamer + WordPress + Moodle.

Plugins used in the solution:

https://github.com/nadavkav/moodle-repository_wpvod

https://github.com/nadavkav/moodle-mod_videofile

https://github.com/kaltura/nginx-vod-module

Source: A DIY VOD streaming for Moodle

ספט 16

catalyst/moodle-local_smartmedia: Moodle LMS Smartmedia local plugin

Smart media aims to enhance Moodle’s processing and delivery of multimedia while simplifying the process of managing multimedia for teachers and students.

The smart media plugins in Moodle aim to solve the following two user stories:

As a teacher I have a video that works on my local device and I want to make that video available to my students in a suitable format, by adding it to any rich text area in Moodle. Without the need for me to do any other operations on the video apart from uploading to Moodle.

As a student I want to be able to view any video on my chosen device; added to a rich text area in Moodle by a teacher. Regardless of the environment I’m accessing the video or my bandwidth limitations.

Smart media leverages cloud services provided through Amazon Web Services (AWS) in order to conduct video transcoding into required formats and provide additional analytics functionality for multimedia.

Source: catalyst/moodle-local_smartmedia: Moodle LMS Smartmedia local plugin

יונ 27

catalyst/moodle-tool_excimer: A Moodle tool to find bottlenecks in your code safely in production

​This is a Moodle admin plugin that provides developers with insights into not only what pages in your site are slow, but why. It uses the the Excimer sampling php profiler to so.

It is complementary to the profiler in core which uses Tideways. The key downside to Tideway is that it has a substantial performance hit and can’t be used in production to capture everything and only later decide what to keep or analyse.

Source: catalyst/moodle-tool_excimer: A Moodle tool to find bottlenecks in your code safely in production

אוק 20

CatalystAUInf/azure-moodle-autoscale

Autoscaling Moodle stack for Postgres and MySQL databases

This work is mostly based on Paulo Teixeira’s work. It adds several configurable features and switches to a web stack with caching. It also uses Azure resources for Redis, ObjectFS and Databases.

After deploying, these templates will provide you with a new Moodle site with caching for speed and scaling frontends to handle PHP load. The filesystem behind it is mirrored for high availability and optionally backed up through Azure. Filesystem permissions and options have also been tuned to make Moodle more secure than a default install.

Source: CatalystAUInf/azure-moodle-autoscale

יול 10

llagerlof/freezer: Freezer is a tool to help developers to discover which database’s records are inserted by other programs.

Freezer demo videoFreezer is a tool to help developers discover which database records are created by some application’s action and which tables received these new records because that action.

It makes much easier to spot these tables and its new records, understand how the third-party application interacts with the database and also how relationships are made.

Source: llagerlof/freezer: Freezer is a tool to help developers to discover which database’s records are inserted by other programs.