A solution to boost up spellcheck in large installations.

A solution to boost up spellcheck in large installations.

by Ludo (Marc Alier) -
Number of replies: 1
Hi moodlers!
In Moodle servers with a hig activity, if the students use the spell-check a lot, since each spell check involves the execution of the "aspell" command it can slow down the overall server performance. Each execution means the creation of a process, the loading into the memory of the desired language ffile, the parse of the text... and this is resource consumming. To solve this problem Jordi Martinez and I implemented a webservice that allows you to move the aspell to another server.
As a easter-egg this webservice logs the spellchecking sessions and has a lilte stats utility ...
I discontinued my work in moodle spellchek a year ago, so maybe somebody can take over the project.
You can find all the code and documentation here:
http://lafarga.upc.edu/projects/myspeller/
I hope you like it.sonrisa
Marc


Average of ratings: -
In reply to Ludo (Marc Alier)

Re: A solution to boost up spellcheck in large installations.

by Joan Codina Filba -
Hello Marc
I think that to have a spell checker in the server is fine, but much better if users enable a tool like SpellBound, in their browsers.
You may think that of course you can not force a client to have a particular software apart from a browser...
But many of the connections to Moodle are from the computer facilities in the university or school, and these computers could have the spell checker.
Also the spell check button could first check if there is a local speller and if there, then activate it, otherwhise forward the call to the server..