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

[Video] 'Late Stage Capitalism': Microsoft as an Elaborate Ponzi Scheme (Faking 'Demand' While Portraying the Fraud as an Act of Generosity and Demanding Bailouts)
Being able to express or explain the facts isn't easy because of the buzzwords
Microsoft ("a Dying Megacorporation that Does Not Create") and IBM: An Era of Dying Giants With Leadership Deficits and Corporate Bailouts (Subsidies From Taxpayers)
Microsoft seems to be resorting to lots of bribes and chasing of bailouts (i.e. money from taxpayers worldwide)
 
Microsoft-Connected Sites Trying to Shift Attention Away From Microsoft's Megabreach Only Days Before Important If Not Unprecedented Grilling by the US Government?
Why does the mainstream media not entertain the possibility a lot of these talking points are directed out of Redmond?
Links 18/05/2024: Deterioration of the Net, North Korean IT Workers in the US
Links for the day
Windows in Lebanon: Down to 12%?
latest from statCounter
Links 18/05/2024: Caledonia Emergency Powers, "UK Prosecutor's Office Went Too Far in the Assange Case"
Links for the day
US Patent and Trademark Office Sends Out a Warning to People Who Do Not Use Microsoft's Proprietary Formats
They're punishing people who wish to use open formats
Links 18/05/2024: Fury in Microsoft Over Studio Shutdowns, More Gaming Layoffs
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Friday, May 17, 2024
IRC logs for Friday, May 17, 2024
Links 18/05/2024: KOReader, Benben v0.5.0 Progress Update, and More
Links for the day
[Meme] UEFI 'Secure' Boot Boiling Frog
UEFI 'Secure' Boot: You can just ignore it. You can just turn it off. You can hack on it as a workaround. Just use Windows dammit!
The Market Wants to Delete Windows and Install GNU/Linux, UEFI 'Secure' Boot Must Go!
To be very clear, this has nothing to do with security and those who insist that it is have absolutely no credentials
In the United States Of America the Estimated Share of Google Search Grew After Microsoft's Chatbot Hype (Which Coincided With Mass Layoffs at Bing)
Microsoft's chatbot hype started in late 2022
Techrights Will Categorically Object to Any Attempts to Deny Its Right to Publish Informative, Factual Material
we'll continue to publish about 20 pages per day while challenging censorship attempts
Links 17/05/2024: Microsoft Masks Layoffs With Return-to-office (RTO) Mandates, More YouTube Censorship
Links for the day
YouTube Progresses to the Next Level
YouTube is a ticking time bomb
Journalists and Human Rights Groups Back Julian Assange Ahead of Monday's Likely Very Final Decision
From the past 24 hours...
[Meme] George Washington and the Bill of Rights
Centuries have passed since the days of George Washington, but the principles are still the same
Daniel Pocock: "I've Gone to Some Lengths to Demonstrate How Corporate Bad Actors Have Used Amateur-hour Codes of Conduct to Push Volunteers Into Modern Slavery"
"As David explains, the Codes of Conduct should work the other way around to regulate the poor behavior of corporations who have been far too close to the Debian Suicide Cluster."
Video of Richard Stallman's Talk From Four Weeks Ago
2-hour video of Richard Stallman speaking less than a month ago
statCounter Says Twitter/X Share in Russia Fell From 23% to 2.3% in 3 Years
it seems like YouTube gained a lot
Journalist Who Won Awards for His Coverage of the Julian Assange Ordeals Excluded and Denied Access to Final Hearing
One can speculate about the true reason/s
Richard Stallman's Talk, Scheduled for Two Days Ago, Was Not Canceled But Really Delayed
American in Paris
3 More Weeks for Daniel Pocock's Campaign to Win a Seat in European Parliament Elections
Friday 3 weeks from now is polling day
Microsoft Should Have Been Fined and Sanctioned Over UEFI 'Lockout' (Locking GNU/Linux Out of New PCs)
Why did that not happen?
Gemini Links 16/05/2024: Microsoft Masks Layoffs With Return-to-office (RTO) Mandates, Cash Issues
Links for the day
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Thursday, May 16, 2024
IRC logs for Thursday, May 16, 2024
Ex-Red Hat CEO Paul Cormier Did Not Retire, He Just Left IBM/Red Hat a Month Ago (Ahead of Layoff Speculations)
Rather than retire he took a similar position at another company
Linux.com Made Its First 'Article' in Over and Month, It Was 10 Words in Total, and It's Not About Linux
play some 'webapp' and maybe get some digital 'certificate' for a meme like 'clown computing'
[Meme] Never Appease the Occupiers
Freedom requires truth. Free speech emancipates.
Thorny Issues, Violent Response
They say protests (or strikes) that do not disrupt anything are simply not effective. The same can be said about reporting.
GNU/Linux in Malaysia: From 0.2 Percent to 6+ Percent
That's like 30-fold increase in relative share
Liberty in Liberia? Windows Falls Below 10% and Below iOS
This is clearly a problem for Microsoft
Techrights Congratulates Raspberry Pi (With Caution and Reservations)
Raspberry Pi will "make or break" based on the decisions made in its boardroom
OSI Makes a Killing for Bill Gates and Microsoft (Plagiarism and GPL Violations Whitewashed and Openwashed)
meme and more
The FSF Ought to Protest Against UEFI 'Secure Boot' (Like It Used To)
libreplanet-discuss stuff
People Who Defend Richard Stallman's Right to Deliver Talks About His Work Are Subjected to Online Abuse and Censorship
Stallman video removed
GNU/Linux Grows in Denmark, But Much of That is ChromeOS, Which Means No Freedom
Google never designs operating systems with freedom in mind
Links 16/05/2024: Vehicles Lasting Fewer Years, Habitat Fragmentation Concerns
Links for the day
GNU/Linux Reaches 6.5% in Canada (Including ChromeOS), Based on statCounter
Not many news sites are left to cover this, let alone advocate for GNU/Linux
Links 16/05/2024: Orangutans as Political Props, VMware Calls Proprietary 'Free'
Links for the day
The Only Thing the So-called 'Hey Hi Revolution' Gave Microsoft is More Debt
Microsoft bailouts
TechTarget (and Computer Weekly et al): We Target 'Audiences' to Sell Your Products (Using Fake Articles and Surveillance)
It is a deeply rogue industry that's killing legitimate journalism by drowning out the signal (real journalism) with sponsored fodder
FUD Alert: 2024 is Not 2011 and Ebury is Not "Linux"
We've seen Microsofers (actual Microsoft employees) putting in a lot of effort to shift the heat to Linux
Links 15/05/2024: XBox Trouble, Slovakia PM Shot 5 Times
Links for the day
Windows in Times of Conflict
In pictures
Over at Tux Machines...
GNU/Linux news for the past day
IRC Proceedings: Wednesday, May 15, 2024
IRC logs for Wednesday, May 15, 2024