Bonum Certa Men Certa

The Wiki Will Likely Return Shortly (Sans the PHP Back End That Caused Terrible Load Spikes)

posted by Roy Schestowitz on Oct 12, 2023

Goodbye to MediaWiki?

MediaWiki

TODAY was a very busy day. A very productive day, too! We did lots of site- and capsule-related work (the latter refers to Gemini, which not many people bother to check out because it's outside their "comfort zone", at least for now).

This evening we made a likely 'breakthrough' that will possibly enable the imminent return of the wiki in a static page/s 'mode'. Well, technically not a wiki at all. Not anymore. Many lessons can be learned from all this.

The first time I installed a wiki it was 2004 or 2005. I installed it in my own site. I then installed another... and another. Over the years I used and installed a lot of wiki software, not even the same software. Here in Techrights we've had a wiki for nearly 15 years.

Wikis are a huge technical debt and an overhead. Installing them may be easy, just like buying a puppy. The storage requirements vary depending on the implementation and performance depends on various factors. As noted here before, in late summer our wiki was being banged on constantly by bots, usually at a pace of about 300-400 page requests per minute. Each requests yields a "payload", resulting in RAM usage, CPU usage, and traffic that goes astray (bots like spiders and "Hey Hi" are useless). In our case, the page stores many versions of the same pages over and over again (almost 18,000 revisions of wiki pages in total). Instead of compressing or storing just changes (incremental) it just adds up - to the point where some wiki table exceeded 1 gigabyte in size. For a wiki with less than 2,000 pages in total, most of them rather short, this space usage is unacceptable. The cost-benefit analysis said we needed to salvage our data, evacuate it from the wiki, and go static permanently. We're planned this for a long time (years), but plans are easier than practice. SQL hacking and data processing (syntax for wikis is typically not the same as plain HTML) takes time and then there's meticulous testing. We don't want to produce lousy conversions because plenty of time (many years) was spent putting these pages together, refining them over time. They are valuable resources and they catalog blog posts that are otherwise scattered and exceedingly sporadic.

What are our conclusions?

  1. If you're going to install some wiki software, then carefully think ahead (a priori) of operational toll, including upgrades, maintenance, moderation and so on.
  2. Consider how long you plan for this to run, as underlying stacks will change and require plenty of manual intervention over the years.
  3. Check if the software is likely to even be around in a few years (security patches, compatibility fixes as per (2) above).
  4. Consider the cost (metaphorically and literally) of serving pages by regenerating them over and over again. Hosting isn't free. If you think it is free, someone likely tricked you into feeling that way.
  5. Check the database schema if the wiki software uses relational databases (some use plain files or Git). Because one day you might have to wrestle with it just to get your data out. Plan ahead.

I started my computing days in the 'DOS generation'. Things were a lot simpler back then. As things become more bloated they become more complex and thus expensive to maintain. Remember what Theo de Raadt said yesterday. It makes sense that they try to keep OpenBSD as simple as they can get away with. Complexity is an enemy of security or, put another way, complexity and security are mutually incompatible.

Moving from one wiki software to another (I did this several times in the past, with 4 wiki pieces of software thrown in the mix) is not solving the issue but leaping from one pile of technical debt to another. It's like loan "consolidation". Go static instead and leave the worries behind.

We're gratified that in ~15 years MediaWiki very seldom broke itself or needed intensive repair(ing). Some years ago I needed to restore things from a nightly database dump due to mass spamming attacks (manual rollbacks would take way too long), but that's about it. Techrights never suffered data losses.

Thank you for the fish, MediaWiki, but it's time to move on. â–ˆ

Other Recent Techrights' Posts

An Extended Statement on Julian Assange
Assange's release was not important enough to "make the cut" for News, only "tweets" and other Social Control Media nonsense.
Microsoft Falling to New Lows in Aruba
Being below 20% in America is the exception, not the norm
Sheriff of Cork & Debian Edward Brocklesby or Brockelsby Street confusion
Reprinted with permission from Daniel Pocock
Who Is This Backup FOR, the NSA?
As Admfubar put it, "backups for everyone..."
Microsoft's Siege of Libya Coming to an End
One might be tempted to guess the users deleted Windows and installed something else
New Talk by Dr. Richard Stallman Published Two Days Ago By CeSIUM - Centro de Estudantes de Engenharia Informática da Universidade do Minho (Portugal)
The FSF no longer mentions Richard Stallman's talks, but we will
Name the Threats and Threat Actors
Looking back to 2006, there was Novell and gregkh (partly salaried by Microsoft), so these are familiar territories
 
Julian Assange Has Landed
There will probably be some press interviews some time this month or next month
L is for Linux and Lao
Lao should really have something called LaOS
[Meme] Need More Sites Like Wikileaks, Not Less
On US government vs Wikileaks
We Know Who Stands to Gain From the Demise of the Press
the Assange release was a win for his family, but likely a dire loss for press freedom
[Meme] Think Twice Before Exposing or 'Embarrassing' Powerful People and Interests
The United States government has basically won the Assange case
The Open Source Initiative (OSI) is Openwashing, Ben Cotton (Fedora) Acknowledges It, Fails to See How Bribes Led to That
As if... it "just happened"
Links 25/06/2024: RAM Stress, COVID Graft
Links for the day
Gemini Links 25/06/2024: Hey Hi Punditry and Right to Repair
Links for the day
Links 25/06/2024: Julian Assange Freed From Prison, "AI" Bubble Imploding Some More
Links for the day
Three Points About Julian Assange Plea Deal
There is still a secret problem
[Meme] EFF Became a 'Bunch of Pussies' Working for GAFAM (and Sponsored by GAFAM)
It won't protect people, except very rich people's interests
IBM Does Not Care for the Blind (Wayland Harms Accessibility)
What a punch in the gut
Tux Machines Past 20: Still Thriving
Now 20 years and 2 weeks old
[Meme] Microsoft is Coming /Home
"LOL, REAL SORRY!!!"
Gemini Links 25/06/2024: Old Computer Challenge; An Opinionated GNU/Linux Guide
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Monday, June 24, 2024
IRC logs for Monday, June 24, 2024
IEEE Computer Society on Andrew Tanenbaum, Winner of ACM Award, Who Also Inspired Linux Development
10 years ago
FSF Looking to Raise Money by Adding 200 New Members by July 19
The FSF is in good shape, according to Alexandre Oliva
Not Only Does It Not Add Security... (UEFI as a 'Bug Door')
SecureCore?
Data From Monaco Should Alarm Microsoft
Just how many people are deleting Windows and installing something else this year?
Linux in Central Sahel (Burkina Faso, Mali and Niger)
Vast area, vast number of "Linux users" (if one counts Android as such)
[Meme] Gagging One's Own Staff as a Signal of Corporate Distress
Censorship at Microsoft
The "Other" SPLC
You know you're winning the debate when censorship is explored
Staying the Course
censorship isn't easy against sites that understand ways to resist it
The 'All-Seeing' Microsoft Eye
Microsofters are observing us closely
Links 24/06/2024: Long COVID and "How I Write Blogs"
Links for the day
Microsoft: By Default, Destroy Linux
Here is what the very "polite" Microsoft Boccassi had to say
Allegations That Microsoft is Covering Up Employee Dissatisfaction and Using a Survey to Catch 'Risk' to the Cult Mentality
This favours or gradually socially-engineers a company for sociopathy
'Linux Hint' Inactive for Nearly a Month (It Used to be Very Active)
Their Twitter account hasn't been active for a long time and it's not too clear what's going on
An Unexpected GNU/Linux Trend
Burkina Faso is changing and not just politically
Android (Linux) at New Highs in Burkina Faso, Now Measured at 72% (Windows Was Measured at 98% 15 Years Ago)
based on this month's estimates
With 0.76% for ChromeOS and 3.7% for GNU/Linux (4.5% Total) Burkina Faso Approaches 5% for 'Linux'
More if one counts Android as "Linux"
Gemini Links 24/06/2024: Being Dull and OpenSSH Autoban
Links for the day
EPO Issues in The Hague
a report dated 4 days ago about a meeting that took place 12 days ago
[Meme] Garbage in, Garbage Out (EPO Patent Quality)
"Get back to work"
When the Employer Makes You Too Sick to Go to Work (New EPO Document)
"registering when you are sick"
Perens on a Stick
Remember what Novell did and how few (barely anyone) sided with Novell
Andrew Tanenbaum Gets an Award for His Work on MINIX
ACM one week ago
Twitter's Fall to Irrelevancy in Europe
Musk bought a dud
[Meme] 'Useless' Kids of EPO Examiners
malnourished?
Granting Loads of Monopolies in Europe (to Foreign Corporations of Epic Size and Far Too Much Power Inside Europe) is Vastly More Important Than Raising European Kids Properly?
"Efficiency" first? Whose? Corporations or families? No wonder so many young families are hesitant to have any kids these days; that's particularly true in east Asia and also in north America, not just Europe
[Meme] Putin's Red Flags
Firefox ESR or Firefox USSR
The Corporate/Mainstream Media and Even Social Control Media is Distorting the Record About What Mozilla Actually Did (It Originally Surrendered to Vladimir Putin)
Mozilla being avoided for purely technical reasons (sites not being compatible with it) is one thing. Foolishly, Mozilla is giving people more political reasons to also shun Mozilla. This is suicide.
GNU/Linux Up Some More This Morning, Windows Down Sharply Even in Rich Countries
Microsoft is in trouble in the Muslim world
United Arab Emirates (UAE) Rising... Towards 5% for ChromeOS and GNU/Linux
the latest numbers show it growing from about 0.1% to around 2.4% for GNU/Linux, plus 2.01% for Chromebooks (ChromeOS), i.e. about 5% in total.
Techrights in the Coming Decade: The Free Speech (Online) Angle
Free speech is a fundamental tenet of a free society
Links 24/06/2024: New Research, New Attacks on Justices Sceptical of Patent Maximalists, European Commission for Copyright Maximalists
Links for the day
[Meme] 12 Years a Fedora Volunteer
IBM gives me a 'free' Fedora badge as recognition
IBM Slavery: Not a New Problem
When IBM got rid of Ben Cotton it showed the world how much it valued Fedora
Why They Want to Abolish Master/Slave Terminology (Because This is What They're Turned Free Software Into)
It used to be about community; GAFAM turned that into exploitation and worse
Roy and Rianne's Righteously Royalty-free RSS Reader (R.R.R.R.R.R.) Version 0.2 is Released
They say summer "officially" started some days ago
Torvalds' Number Two Quit Linux a Decade Ago and Has Since Then Earned an Honorary Doctorate
Revisiting Fuzix and Alan Cox
GNU/Linux Reaches All-Time High in Tunisia
Based on statCounter
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Sunday, June 23, 2024
IRC logs for Sunday, June 23, 2024
Edward Brocklesby (ejb) & Debian: Hacking expulsion cover-up in proximity to Oxford and GCHQ
Reprinted with permission from Daniel Pocock
You Know the Microsoft Products Really Suck When...
"Qualcomm and Microsoft go 'beyond the call of duty' to stop independent Copilot+ PC reviews"
IBM and "Regime Change"
Change of regime is not the same as freedom
Microsoft Windows in Nicaragua: From 98% to Less Than 25%
Operating System Market Share Nicaragua
Techrights in the Coming Decade: The Community Angle
Somebody needs to call them out on their BS
Techrights in the Coming Decade: The Software Angle
Gemini Protocol has just turned 5 - i.e. roughly the same age as our Git repositories
Techrights in the Coming Decade: The Patent Angle
Next month marks 10 years since we began covering EPO leaks
Wookey, Intrigeri, Cryptie & Debian pseudonyms beyond Edward Brocklesby
Reprinted with permission from Daniel Pocock