313 points · by edward · 6y ago · 143 comments
Given their size on both the web in terms of employees this unusual for Wikimedia. They typically fly under the radar. How many times has Wikipedia ever been down?
I recall AWS, Google, Microsoft having more outages -- mind they probably are considerably bigger but still they're doing something right.
edit: fixed a typo
*in the web sense - don’t want to offend any of the real real-time people :-)
You are right that technically it's SSR, but that's not what's relevant here.
Largely static? There are edits happening all the time.
> Wikipedia develops at a rate of over 1.9 edits per second, performed by editors from all over the world. Currently, the English Wikipedia includes 6,167,378 articles and it averages 598 new articles per day.
Doesn't seem to be much, to be honest.
If the actual servers go down all that means is that wikipedia is read only and the caching reverse proxies that also receive a push update during modifications would just serve the last version of pages. (except anybody with login cookies, valid or not, would get 500 responses)
This is a much easier service to reliably engineer than something like Twitter. For SRE purposes, Wikipedia is mostly static.
Even something as simple as HN probably have much much lower value of "usefulness if the service is served completely static from caches", due to upvotes and comments. If the front-page and comments stayed static both during breakfast and lunch, my WFH routine would sadly be impacted...
The opposite of static would be an e-commerce site where you can't take transactions if the backend is down and you really don't want to oversell your inventory, so you need the inventory management system to be up for the site to "work".
Also, the average wikipedia page probably isn't edited very often.
AWS/Google being down for even a minute or two is a big deal though.
(I knew this likely just a typo, but I genuinely didn't figure out what you meant.)
I do lots of PHP migration work (4 to 5, 5 to 7) and for much of it it just works.
Not much code change is necessary to the the upgraded features of the engine.
Disclaimer: am mediawiki dev. No opinion on if the codebase is "modern" because everyone defines that differently.
> This was done out of an abundance of caution, after we received one (1) user report of being logged in as someone else.
This _seems_ like a knee-jerk reaction to one data point.
There could be other causes for a user to report that, like a change to the cache key used for serving a users profile giving the _appearance_ that you're logged in as someone else, even though you're not really.
Forcing everyone to re-login could potentially make the system worse, in that you're now overloading parts of the system that has to handle those logins, plus causing all kinds of cache expiry...
I guess there's more to the story and someone who knows the system deeply knew this was the right choice but just reading the reports it seems knee-jerkish.
> Said report coincided with the deployment of a new MediaWiki release which caused other problems around User session objects;
One of the few stories VICE didn't botch entirely: https://youtu.be/_CvWJVtEkUE
There is actually a good article in the Varnish docs around hash collisions: https://varnish-cache.org/docs/4.1/phk/varnish_does_not_hash...
PS. Even though the article says "Varnish does not hash", I suggest everyone to keep reading until the end, when it turns out that they, in fact, do.
I appreciate it a lot, thanks WikiMedia
I was never able to reproduce the glitch.
I wrote this: https://www.mediawiki.org/wiki/Intranet and keep it up to date every now and then. It's probably time for me to look at 1.36. Anyway, the current Parsoid based thing works fine.
The beta go refers to in a version rewritten in PHP to drop the dependency on another service, parsoid, written in JavaScript/node.
That way, if someone is named "Billy" or "Alex", you won't be spending years mistakenly assuming they were a man while they could have been a woman.
This also has the beneficial side effect of covering trans individuals who use a birth name while having another gender identity.
Even more useful for usernames such as yours, "dionian". I do not know if it is your first name, last name or made-up username. So I have no clue what your gender is and I'd default to "they". If I knew, I could call you by the right pronouns.
It's just a slow shift away from assuming everyone on the internet is a man.
Putting (he/him) in does three things. It invites you to provide your own. It also stops someone from starting a side-argument about you assuming 'he/him' in your response instead of you/your or they/their. Which means that we can talk about what we want to talk about instead of gender politics, if you don't feel like it. Or we can if you need to.
Having everyone declare their gender is a little bit ridiculous, just to serve the desires of a ~1% group who are trying to gain more recognition. I am frankly surprised how people are willing to distort their behavior when they refuse to do so for other groups who are far more downtrampled in their rights in greater percentages. I suppose somehow transsexual people just became popular for some reason.
Frankly, it's a symbol and problem of the modern liberal/democratic mind (at least at the party-level) that these problems rise to the level of national and corporate attention -- and apparently we solved all our other material needs and have time to spend on this in comparison.
Not everyone is American, and not all issues are about American politics.
I find it interesting how much emphasis has been placed on an afterthought that I edited in. A lot of really emotional reactions like yours. I described it as a beneficial side effect and suddenly the whole conversation is about "evil trans people" and "bad liberals".
Having your pronouns available is beneficial to more than just trans people. It benefits everyone, avoids mistakes and makes conversations more accurate. It also breaks the myth that there are no women online and that there are no computer-savvy women. It also brings visibility to non-binary people who are otherwise invisible.
>Preferred gender pronouns or personal gender pronouns (often abbreviated as PGP) refer to the set of third-person pronouns that an individual prefers that others use in order to identify that person's gender (or lack thereof). In English, when declaring one's preferred pronouns, a person will often state the subject and object pronouns along with the possessive adjectives—for example, "she, her, hers", "he, him, his", or "they, them, theirs"—although sometimes, only the subject and object pronouns are stated ("he, him", "she, her", "they, them").
Here we have "he/him". Sometimes I see "he/him/his" or "she/her/hers", "they/them/theirs", etc.
I doubt people are mixing and matching among the different types. In other words, I've never seen someone prefer "he/them/hers".
Seems like we can standardize this to just one type (e.g. the subject pronoun). A simple "he", "she", or "they" will do the trick.
Yes, I bikeshedded it. Sue me.
It is my personal policy to not correct people who misgender me in most cases, especially if that is the only thing I would be saying (I will sometimes clarify if it is part of a larger comment, but I try to be gentle about it). I would rather put that info somewhere and let them have the chance to learn of it without me having to correct someone.
Different people have different reasons for noting their pronouns. Some do it because it is trendy. Some do it because they have genuinely been misidentified in online spaces. Some do it to show themselves as allies to certain groups.
Without him saying why he did it, no one here can genuinely tell you why he chose to do so.
If you care so very little about this issue, why bother replying to me to suggest I shouldn't? If you really don't care, then you shouldn't even be reading this crap. There is plenty of other stuff to read elsewhere that isn't on this subject.
It also happened a couple of days ago again. The cause is not known: https://translate.googleusercontent.com/translate_c?depth=1&...
There exist services where you can pay $5 per search to avoid this the history.
The other times just weren't noticed, posted, or upvoted on HN.
Eg a web application: you can substantially rewrite a web application, without invalidating logged in sessions.
The point here is that the logged in sessions were suspected of being unauthorized. The unauthorized sessions had to be turfed, and the clearest way of being sure that all unauthorized sessions are turfed is to delete all the sessions.
Of course, some those with unauthorized access will also try to log in to resume that unauthorized access, but presumably there is some trap laid for that.
Maybe for the accounts suspected of having been breached, there will be a mandatory password recovery procedure or whatever. Or they will monitor for suspicious logins from different IP addresses.
Not logging anyone out while updating a suite of REST-ful applications: ho hum.
If the site doesn't work without being logged in you could frustrate users and they might just use a different product instead of searching for their login after being logged in for a year or longer.