Hello everyone, I am here with Jordan Sheridan of status coup. He's been reporting on the Flint water crisis now for years He released his documentary flushing Flint last year We brought him on to talk about it and he just broke a giant story for vice and it is not getting Any attention from the mainstream media, but this is really just it's incredible stuff what he found and he's here to talk about it So Jordan, thank you so much for coming on. Welcome back Hey, thanks for having me So I read both of the stories you just broke two articles basically and the way that I Read all this was it felt like a mafia movie like you see Genuine like organized crime you see payoffs, you know This is really it's not necessarily anything that's surprising, but the revelations nonetheless are still really shocking I mean to me it was clear that Rick Snyder was a criminal He was criminally negligent, you know at a minimum, but now it's clear that this goes really deeper than that Just to go over a couple of the facts here and we'll link to the articles down below So he tried to get the mayor of Flint, Michigan Karen Weaver to quote-unquote have Elijah Cummins back off which you know is interesting in and of itself He possibly lied under oath about, you know, the timeline of the Legionella outbreak He knew about the hazard that you know transitioning to the Flint water supply would pose to the residents here and In the background of all of these things are, you know The way that he used his fixer and the people around him to cover this up So can you talk through some of these really worst offenses because there there's so much the story is honestly Overwhelming because there's so many moving parts here Yeah, that's how I actually wanted it to be three stories, but vice wanted it to be one so My partner Jen and I we go to Flint routinely I've been going for years and we always kind of heard a lot of these rumblings, but it's a hard thing to put it together So last year we were there and we uncovered that the governor's right-hand the governor's right-hand man had allegedly made some Deals with the loudest residents To basically quiet them down, you know, it's like a protest movement people corporations or governments try and identify the leaders so the governor's right-hand man was basically going off and Trying to neutralize threats to the Snyder administration particularly threats that would threaten What really was like a PR campaign to sweep the water crisis under the rug when we figured that out we then figured out that Snyder himself was under criminal investigation by prosecutors that had been fired and Snyder's chief of staff had been privately subpoenaed his treasurer had been privately subpoenaed and his Right-hand man by all accounts was described to us kind of as his fixer or enforcer had also been subpoenaed So having those documents and then you know reading through the transcripts of the interviews with the special prosecutor It took us in a bunch of different directions And we got enough evidence that the governor was actually warned in 2013 So this is like seven years ago a year before The water switch that if Flint used the Flint River as a water source there was bacterial risks to public health There was carcinogens that could develop with your cancer-causing chemicals And then we learned that what he told Congress he said he learned about it the deadly water outbreak legionella Which is a bacterial Disease from water he said he learned about in January 2016 and held a press conference the next day Not so he actually first became aware of it in October 2014 Which happened to be a few weeks before his reelection for governor and his administration basically squashed it from coming out Which is really important because I mean it was six months after the water switch But still early enough that if the administration would have listened to another Bomb shell we found a key whistleblower that was screaming You know Flint needs to be moved back to Detroit's water system Which it had before if he would have listened if they would have done so lives definitely could have been saved if Governor Snyder isn't Prosecuted then I don't think there's going to be any hope or legitimacy for our justice system because you know part of the Question that I was concerned with when I had you on last time was whether or not there would be any justice in the form of him getting Prosecuted and there were investigations and whatnot, but with everything now that you've brought to light Do you honestly feel any different or encouraged about the prospect of you know? Prosecution for Snyder because it seems like there's no question that he committed a number of crimes now This is improvable legally speaking yet, so it has to be you know, he needs to be tried But what do you think is going to happen with all of this? What do you hope will happen? You know, I think with Flint and a lot of times people will see Flint in the headline on YouTube or Just Flint and it's not that they don't care But they don't they think it's just Flint and they don't realize that the Flint water crisis is not just about a city in Michigan and it's not just about water It's about America because it's corruption that it has led to these things and what happened in Flint is actually happening a lot of Other places it might be the water in other places. It might be education in other places It might be pensions it might be but basically the Flint water crisis was essentially a privatization scheme gone very wrong Republicans are privatizing Democrats are privatizing America is one big public-private partnership Which is essentially just fancy terminology for the United Corporations of America, which is corporations buying our government So really what I'm hoping this story accomplishes and I'm glad, you know, it's not an easy read. It's long But I think people need to realize that if there is no accountability in Flint and again We've proved I think within it without a shadow of a doubt to take a courtroom Phrase that the Republican governor had advanced warning before he allowed that water switch to go that bad things would happen When they learned after the fact that things were happening. They didn't do anything He lied to Congress his right-hand man I throw in allegedly because you know you have to as a journalist, but we found out the prosecutors were investigating and They the prosecutors were investigation and we were told that they were Investigating payoffs by the governor's right-hand man. So you'd have to be you'd have to really think does the governor not know What his right-hand man is doing is this guy just freelancing so I hope people understand that It's not the fact that it's not surprising you started out with this is not surprising is the problem Yeah, the fact that it's not surprising that our government whether it's Republican It's not like Democrats aren't involved with cover-ups the fact that These things would have been covered up, you know It's one thing if a government makes a bad decision it poisons people But then as soon as you even suspect it you take immediate action Obviously there could be fault with the initial decisions, but at least you're taking immediate action The cover-up in this case was almost as bad as the crime because it killed people, right? So the other element here is You know the after part I Mean if you think about Flint like let's say the Russia investigation there was a Robert Mueller in Flint There was a special prosecutor in Flint Well imaginative Robert Mueller was investigating for three years and then like a new attorney general came in and fired him and dropped all the charges If there were charges so that's what was happening here the previous attorney general and a special prosecutor had built up a case and Our reporting indicates they were building a case against Snyder himself and then a new Democrat attorney general came in and Dropped all the charges and it's been a year since they almost a year since they dropped all the charges There's been no other charges and the statute of limitations just passed for not all charges But specifically misconduct in office. Well, we obtained audio of the governor's right-hand man allegedly paying off a Sick flint couple to silence them. They've had it since September. So I'm not a lawyer But I mean I live and breathe this story I heard on the audio incriminating things because I know the story So I'm assuming the Attorney General's office also has incriminating things So I think this is a bipartisan thing the Republican Governor and his administration did this and now it's kind of like a Democratic Attorney General You know my reporting indicates you might get misdemeanor charges against Rick Snyder I don't think that's gonna fly in Flint and I also think nationally Don't mistake it if there is no accountability whatever that looks like whether it's Snyder or other top officials That just gives other public government officials nationally Nationally locally state level. Hey, if they can get away with it there, you know We won't think twice about what we're doing in your neck of the woods. Yeah, I mean the story details basically Alleged crime after alleged crime like you have literal bullet points explaining everything that happened And this was kind of something that struck me is that if there's no accountability here with the Conspiracy the cover-up then there's literally never going to be accountability if any other governor or public official does the same thing because this is so vast This is so outrageous that if you can get away with this then you can get away with with anything And I know that that's a cliche, but there's just there's so much here and the audio you refer to Was of Adam Murphy now you've had him on your show. This is an individual who protested during a town hall in January He was experiencing cognitive impairment and whatnot and they basically tried to pay him off So can you talk through that a little bit because you have the audio and explain what happened there? And how they kind of tried to silence him because I think this is just fascinating And I think this is where you kind of get into this mafia description. Yeah, it seems to me So, you know flight Rachel Maddow shows up people show up in five minutes You know in 2016 and then all the cameras leave because Trump was you know the big thing So once all the cameras left, that's when the real story story starts. So January 2017 There's a town hall. I wasn't at that one, but I've covered many Flint water town halls and a really sick guy Adam Murphy He was having seizures He was driving and having to call his wife because he was forgetting his route to get home You know water related Elmans he just went off at this town hall, which you know is understandable screaming at state officials, you know This this is all talk. You're not doing anything other other residents felt the same way So he was removed by police officer who told him, you know, maybe I could get you in contact With the state official that could help your family fast forward a couple weeks The governor's right-hand man is in his living room joined by an army colonel a State trooper and a representative from the health department So if you're a sick person and your wife is sick and by the way, they're newborn was born with lead in his blood Because she was pregnant during the water crisis You know, oh governor Snyder's advisor is here and maybe they really are helping so we thought you know, unfortunately, we didn't have it when the vice story published we got it after but Basically the governor's right-hand man presented it as you know, if you call something a pilot program, you could do anything So said I think we could try to get state fund the state to pay for Your treat medical treatment. They wanted to do something called chelation, which is a holistic treatment It injects chemicals to extract lead out of your body A lot of people don't realize that after 30 days lead kind of gets stuck in your bone So even if you get a test all of it won't show up because it's already kind of deep deep in your system. So We're gonna pay the state's gonna pay for it But you can't talk about it. You can't go to the media You can't tell people the state are paying for it. And if it works for you, you know, this pilot program We'll we'll we'll try to make it available for other Flint residents So, you know, my my indication is neither the husband the husband and the wife at the time They're not married anymore. I don't really think they like actively thought like oh, we're doing something dirty here They're just desperate. They're sick. The husband's falling apart So they they took it and they he said, you know, you're gonna be my lead poster child So if it works, you know, we'll make it available to other people both of Christine Adam and Christina both said he said I'm gonna go back and tell the governor about this I don't know if he did or he didn't but he said he was going to so It was it did help. I mean his let his lead levels went dramatically down the seizures stopped Cognitive functioning got a lot better. So they're telling the state health department this the governor's right-hand man this and Expecting like hey, I'm you I'm your lead poster child. Can we expand the pilot and make it available to other residents? No, that didn't happen Adam and Christina split up when that happened They the state completely cut off communication with Christina who by the way they had told we're gonna make this available to you when you're done Breastfeeding your newborn didn't happen. So we found out that we I mean we saw emails and text messages that verified the state was paying for the treatment but Governor's right-hand man is going around telling other residents. I'm a philanthropist. I'm paying for it out of my personal pocket, which wasn't true We also found out that as part of the criminal investigation Prosecutors were look investigators were looking into other payoffs He might have made including potentially giving cash to certain residents And we also have another resident on the record that she she's basically to me like the Aaron Brockovich of Flint She's the most outspoken resident. She's lobbied Congress. She's been a real she was a thorn in the Snyder administration side This right-hand man to Snyder basically offered her I'll come in a new water heater a new interior plumbing Everything but the kitchen sink basically if you'll be quiet So she is on the record saying, you know, I offered I said if you do that for everybody absolutely So it was essentially and I've told other people the main action the Snyder Administration took instead of just fixing the problem It seems like they did a really grand scale PR campaign and part of that was making sure that threats because again Adam getting removed from the town hall got media attention That's why the governor's right-hand man is in his living room and I think it just gets to forget legally Well, if you think about it legally, I'm not a lawyer, but there's two options either the governor knew that his top advisor was doing this or he didn't know and you then you get to gross negligence that Your administration is doing these things because he wasn't going you know If you're making private individual deals for certain Flint residents that pose a threat And you're leaving the rest of Flint to basically fend for themselves. That's obviously kind of Poisoning and then leaving people to die Yeah, it really is hard to take in all of this information and before when I when I you know I either watched or read your reporting from Flint to me It was this question of you know, is this incompetence or malfeasance? I mean really it doesn't matter. This is a distinction without a difference But now this story proves beyond a shadow of a doubt like this is malfeasance like they knew what they were doing They had the information and they did it anyway. It was just that you know, Rick Snyder didn't care now Moving on to another element of this story Which is just really heartbreaking is that there's been silence from the mainstream media and you've been told that the reason Why they're not necessarily talking about this huge story Which should be just on the minds of everyone like people should know about this is because of COVID-19 So what has the response been like? Why do you think we haven't heard from CNN MSNBC any outlet who wants to you know expand This story and talk about it because this is this quote like you said Flint is a story about America this can happen in any neighborhood in any city and People aren't going to care unless they realize that this could happen to them. So why do you think there's been silence here? I Think there's a macro reason and a micro reason. I think the macro reason is frankly our media is predominantly made up of Coastal cosmopolitan out of touch elitist They care for about five to ten minutes about stories that happen in communities. So Flint Rachel Maddow does a town hall the media is all there for a week and then it's kind of out of sight out of mind I don't think it's because people are bad people I just think we all kind of live in our bubbles if you live in New York, DC, California, whatever I'm I used to live in a bubble too. You know, it's not that I didn't care if I was presented with something But we all kind of follow the day-to-day Who's up who's down and the progressive sphere? We do things a little differently But you know all of us on YouTube and other places are kind of covering the same things to an extent So I think that if flint if there's like a flint water update or this bombshell story I don't know if the Brian steltas of the world really care again not saying your CNN, you know It's media critic. I don't think it's that he's a bad person I just think they think the biggest thing in the world is what Trump has said or tweeted Within the last couple hours, you know and to me and I tweeted it earlier It's obviously connected to coronavirus indirectly I mean right now Genesee County, which flint is part of has a eleven point four percent fatality rate Due to COVID-19. That is way above America's average, which last time I checked was like five point something Flint makes up almost fifty percent of the county's cases. Gee, I wonder why if a city Was devastated if people not just elderly people, but of all ages are severely immuno compromised Why they are making up such a large chunk of this county's cases and it's not just flint look at Native American Reservations with uranium mining look at areas with mass fracking going on I mean, there's a lot of communities that are uniquely at risk Black and brown communities with where they usually dump this in these industrial projects on so I said to Brian I said to others with all due respect I agree coronavirus is the top story But I kind of think the biggest environmental cover-up of the 21st century is a close second And I think CNN the New York Times to Washington Post the Detroit Free Press Detroit News Flint Journal who pretty sure they have enough resources to like Haven't have a nighttime editor They all have them that unlucky guy or gal stuck in the night shift or the weekend shift to do like a 400-word write-up because really it's journalistically a crime because I would say at this point Maybe 50% of Flint has no idea what was just uncovered So if 50% of Flint doesn't know how do we what do we expect in terms of Michigan? What do we expect nationally and on the micro level, you know, I do think that some time and it goes to progressives, too I mean, I mean whatever. I don't expect the young Turks to do much Related to me, but it hasn't been covered a wide scale in the progressive independent space And I think unfortunately part of that is Even even progressives and independent media sometimes get stuck on like You know, oh Biden's terrible or oh DNC corruption Democratic and I get it that's all very relevant But we don't realize that this stuff that's happening on the local level is basically Neoliberalism remember this happened under this happened under Barack Obama. Let's not give him a pass He did not a federal disaster was not declared There's a difference in a federal disaster and a federal emergency Emergency is a state level federal disaster would have sent the Army Corps in to just dig up those pipes It would have been done in a year that was not declared for some reason Obama went there You know took a sip of water which Michael Moore and others suggest wasn't even Flint water at the time So, you know Joe Biden he likes to take credit for everything. Obama's done. What about the failures should Biden answer to why? This is going on still in Flint. We haven't even gotten to the point Mike that the water is still contaminated six years later so to me Unfortunate and maybe I'll write a book one day It is really hard to gather information like this and break it But that is not even close to as hard as getting the media to pick this up I've had I literally had one person from the Guardian say to me Yeah, we just think your sourcing is kind of not great here. I said you think Document highly confidential documents from a criminal investigation is not enough sourcing for you The former mayor of Flint on the record that Governor Snyder Tried to obstruct justice tried to get her to get Elijah Cummings when he was alive to back off isn't like that's not enough I said by the way the anonymous sourcing like you do know for things like that like certain Certain individuals that might have knowledge about a criminal investigation Will not go on the record because if they do there's there would be problems for them So it was just bizarre and honestly, I don't have an answer It's very very disheartening because in a sane media system If you break a massive story like this, it doesn't matter whether you're independent whether corporate If you break a story where you have the receipts It should be on a front page front pages and when it's not it's very difficult to get accountability Yeah, I think this kind of speaks to a broader issue with the media model and just capitalist media generally speaking You know if it's not sexy if it's not sensationalized then they're probably not gonna cover it because you know It's not going to be monetarily beneficial for them and you know to me I find this completely outrageous because you know you spent Years now covering flint you've broken multiple stories if not dozens and you know you're doing all of this and You don't even necessarily know whether or not there's gonna be any payoff like for me Like I'll put out a good video and I'll feel like man I want everyone to see it and I'll be so gutted when it doesn't get like the views and clicks But that's like one day's worth of work like this is year's worth of work and it's not just that like you you're Revealing these issues and there's no faces like to me the biggest thing that kind of keeps me glued to this story is the fact that We've been introduced to certain residents You've interviewed them and then you've brought them back So we're kind of seeing the progress or lack thereof that's being made and it's just it's It's hard to deny you know the emergency. It's hard not to be fearful of your own water supply So I do want to get an update before we go About the actual water crisis because you know, there there's been funding there's been The initiation of the process to replace, you know, the contaminated pipes Where are they at? Like when are we looking at clean drinking water for the residents of Flint because it seems like at this point It's just it's never gonna get done Yeah, and I just want to real quick about the whole sexy thing I think a lot of media outlets don't understand that there's a massive demand for this For this kind of investigative reporting, I think they just lazy Yeah, and they see oh, it's cheaper to just put two schmucks left side right side and have a food fight Yeah, but I mean status coup for example.  We yeah, we do live streams and things like that on day to day But like people will support Investigative reporting because there's such a void. Yeah, so I do think a lot of media outlets are wrong You know, maybe the term isn't sexy, but this is certainly desired You know one thing we broke two years ago Mike that we kind of rolled into this story in addition to all this Snyder's environmental department was cooking the data. They were literally cheating which I think I came on with you about Yeah, I think we talked about this. Yeah, yeah So they the numbers that they used for Snyder to kind of declare like his mission accomplished without the fighter pilot They were going into the environmental officials were going into Flint residence homes and just running their water right before taking tests Which common sense you're flushing the let out. It's against EPA regulations, which the EPA confirmed That I broke again crickets a back story to that is Newsweek magazine killed that story We were doing with them like a day before which is a whole nother whole nother thing so Basically, I could only tell you what I see and the residents I speak to the media has regurgitated this Nonsense that the water is is back and restored or whatever if you go to Flint You will quickly meet people that are still getting rashes from that water six years later You will meet people that are losing hair. They're they're quoted in this story Not to mention the long-term effects Anecdotally, I drank the water, you know, just sips here and there it's like being punched in the face So it is it is not normal They haven't even changed the majority all of the pipes and they didn't even touch So there's three pipes the mains under the street the service lines from the curb it to the house And then the interior plumbing all they did was change the service lines Which are curbed into the house What do you think the Flint River water just skipped over the mains in the middle of it and didn't damage the interior plumbing actually our story Reveals mayor Weaver is also on the record that the current governor Kretchen Whitmare who as you've seen the media has been really really like propping up as potential Biden VP She basically told her when the mayor was trying to get additional funding to change people's interior plumbing Sorry can't help you. There's there's Flint fatigue quote Flint fatigue in the legislature So what do you do?  I could tell you the residents of Flint were very hopeful She actually vowed coming in she's gonna reopen the Flint water pods that were free water bottles Stations around the city. It's been 16 months. They're not open She told the mayor. Sorry. I can't help you. There's Flint fatigue in the state legislature Well, I don't know you're the governor. Maybe you could fight for it It's both morally right and like good politics That has also been totally ignored because CNN MSNBC. It's kind of like Trump during the campaign Governor Whitmare is basically living in their green room virtually. She's on all the time now She should be on because Michigan has been hit hard, but nobody's mentioning that like wait a minute this relatively Newer name in politics is being anointed as like a top five potential pick for Biden She she she has not kept promises to Flint, which is a major environmental calamity still So bottom line. There's it is very doubtful that the water is safe They shut down the water pod So, you know Flint is 42% impoverished a lot of people are back to drinking from the tap because they can't afford To keep going and bought up by cartons of water So it's a dicey situation and you know, I'll say to the people watching A lot of people I mean shockingly sometimes I get grief Jordan cover other things you cover flint too much This isn't just about flint flint is america. It used to be like the beacon economically of america general motors is born there You want to know why donald trump won he won because a lot of people in places like flint have had their jobs Sent to other countries so I cover flint continually and i'm not going to stop covering it because again if Accountability is not come it does not come here if there's no truth If it is not revealed how this poisoning happened and how the cover-up happened who is continually Not doing anything talking about the current governor That's the playbook for other areas and and and by the way Whether it's biden whether it's trump whoever the congress people that are elected are at the end of the day If this continues in flint if there is no justice it's coming to a neighborhood near you Yeah, and that's why I don't understand personally why there's so little interest because like I fully understand that there's so many crises happening You know the genocide in yemen. Um, just in our own country. There's so many crises But out of self interest people Should you know worry about what's happening in flint because as you said there's a lot of vulnerable cities right now that are Going to be dealing with this if not now in the future Um, so, you know if we don't fix this in flint Then this is kind of a precursor to what may happen in other countries in other in other cities Um, so it's really frustrating. Um, but yeah Is there anything that you want to leave us with in terms of like this story that you just broke and what you want People to take away from this because it is a big story It's a really long read but it's worth it because you go through all of the details You and jen did a phenomenal job. Um, but you start like at the very beginning So you're gonna get all of the details. It's a long read, but it's worth it Anything that you want people to take away from the story that you just uh broke We're not done. I have a follow-up I don't know when this is publishing but we have a follow-up coming out tomorrow Because we found some pretty interesting information about the current attorney general who dropped all the charges Might be some conflicts of interest in her office related to the water crisis. So that that will drop tomorrow Um, you know what I'll say mike. I think that book behind you really says a lot manufacturing consent because you asked why Is it that there's not broader appeal because manufacturing consent works multiple ways One of the ways is to manufacture consent for things It also works in manufacturing consent for what's important So the media through what it chooses to cover relentlessly Trump The horse race who's up who's down? Uh, it's it's a formal programming particularly in older americans. No offense But that's the general cable news audience to the york times readership Obviously, uh younger even like under 50 and under 40. We're starting to realize aren't really that demographic But if you never see stories like flint Uh, like east chicago indiana that has a major lead problem We haven't even gotten into kifas, which is a cancer-causing chemical from the manufacturing of teflon Being found all over water bodies around the country Guarantee a majority people watching right now have no idea that the hedge fund uh, sleaze bags in new york One of their big investments the last few years water Because they think water might be the future oil and there might be a shortage of clean water So all of this is massively important But why would cnn on by atnt? Why would nbc owned by comcast? Why would amazon owned by jeff bezos? I mean, why would any of these places find it important? Right, they don't find these things sexy So what viewers find sexy or not sexy is largely informed by what the media declares is quote unquote sexy So that's why that's why we started status coup. I don't want to like be like to bring sexy back But we started this we started this because I think people honestly How we have uncovered this is I've been there 15 times jen has been there seven times But we've largely like just given the microphone back to the people and you really learn where all the bodies are buried When you go into these places as journalists. I don't talk to pundits. I don't talk to experts first I talk to residents because that's who knows who's corrupt. That's who knows So the the thing I'll leave the audience with is number one We do have a youtube channel status coup.  I mean I on my twitter The story is right at the top Unfortunately, we're not going to get action unless public officials are shamed. That's what I've really had in the media Shame the media. Detroit free press only covered this because the attorney general's office came out Basically threatening, you know our source They want to find who the sources sound familiar to trump They want to find sources kind of subtly, you know, I think threaten us to not continue reporting, which isn't going to work So this is super important. It's not just flint It is connected to corona virus as we've spoken about and Hey, I think bernie said it best Are you willing to sacrifice for someone you don't know? Yeah, exactly and really what's important for people to know is that It's not just the simple, you know flint still doesn't have clean drinking water Which we see people tweet occasionally just to kind of remind individuals of this crisis It's it's a lot deeper than that. It's a lot more complicated and the deeper you go the more troubling the details seem to be so, you know, just if you have time I'll link to all of these The the articles as well as the videos down below. So definitely check them out I want to shift gears because um recently you stated on twitter that you tested positive for covet 19 And I think that it would be informative for people to kind of know what you experienced How you were able to get a test maybe how you think you came into contact with the virus. Can you just talk through that? Honestly to this day, I don't even know how I got a test. I I randomly my girlfriend's friend mentioned this doctor's office, uh, Oh one medical, excuse me. They're not paying me Which I guess does has an app and does like virtual appointments, too So I was doing virtual points appointments with them and then my cough got so severe with the fever I decided to go to the office and they had a test. So I guess I don't maybe I lucked out. So that's how I knew I had it They actually did say that there's a lot of false negatives too. So a lot of people are being Told they're negative and the tests are not foolproof um, honestly I think for me it was uh amp maybe Made worse because when you have something like this the the suggestion is rest And I was like in the home stretch of finishing this vice story So like I was working 14 hours a day Uh, it's it's stressful. That's not good if you have a virus So I think I mean my cough Luckily, I haven't been coughing to this interview But it kind of like I think it's gone and then it comes back. It hasn't been going on for like a month Uh, but the best way to describe it is just uh, in my case severe cough that was hurting my back Uh, was hurting my ribs a little bit because You're coughing non-stop at one point. I was coughing non-stop for at least nine days um, and The fever fortunately went away after three or four days never went higher than 101 I didn't have any breathing problems but I think people should realize like the my even the mild version some of these like Idiots on twitter are like, oh, it's just a cold. I've never had a cold this bad I mean it was not just a cold and frankly I'm lucky because the people in my situation that weren't didn't have the breathing problems didn't have the hospitalizations like Who knows what makes it Go that direction, you know versus another because there's people healthier than me that have died. So there's people like Super athletic. I don't really exercise that much who died. So it really it's it the jury's out on how certain people respond For me, I'm just guessing but I think I got it from a supermarket Uh, because I was wearing a mask We were wearing gloves, but you know, new york city is very dense You could try to stay six feet from people but New york city people who just were you know I've always said there needs to be walking lanes because everybody's just in their own world Walking in the middle of the curb and not really, you know bumping into you Uh, so I'm pretty sure I probably got it that way which tells you you can get this even wearing a mask gloves You know, I think the experts even like first it was six feet Then they said well, it might need to be more then they said, oh, well You could get it just if you walk past someone that breathed Like so I don't really know how I got it, but I got it. I'm lucky. Uh, you know privileged in a way I work from home when I'm not traveling I what you know, there's amazon workers that I've spoken to that Think they have it but are going in anyway because they can't afford not to get paid That's another scandal that they don't have paid sick leave unless you test positive Um, yeah, but it's it's not been pleasant. Uh, it's been going on. I thought I was better But I'm starting to cough again I'm I would hope I'm out of the woods for anything more serious Uh, and it's also, I mean just to be honest with you It's it's affected the business a little bit because I haven't really been going live or doing videos that often Uh, I actually to tell you the truth got worse Because the day I broke the vice story I went live because it's like I'm not, you know I want my audience to know about this that we want to play this up But I was still like deeply sick.  So, uh, this thing is exhausting and I really am very very Uh, dismayed to see all these morons Governors and you know, oh, we're gonna reopen the economy slow by slow like as we pass the death toll Of the vietnam war, um, I know people are going crazy cabin fever, but I don't understand Maybe you have an answer you can't contact trace in new york city You can't contact trace in these major cities How the hell do you know who passed me on the way to the supermarket or who who was in the supermarket with me? It's just asinine. So, uh, I don't know what the answer is But I don't think the answer is reopening these gyms and hair salons and all that Because you might be willing to take the risk, but that's not fair to other people who are not willing to get infected by you Yeah, absolutely. It's something that if we just all hunker down for a couple of months And wait until this blows over that's the best case scenario because I think that you know staying inside getting cabin fever That's a better outcome than getting the virus Um, I wanted to ask you when you started to experience symptoms Was this like something that was gradual like did you feel a tickle in your throat? Um, and then did it kind of build or did you just wake up one day with like a huge like horrible cough? Because I have a friend who just tested positive. She's in healthcare. So this isn't super surprising But it's just you know the way she describes it is this is horrible.  You just sleep Um, so how did this happen for you? Was it sudden or was it gradual? I started coughing a little bit on a set on saturday Like weeks ago sunday the cough became severe and then monday I had a fever. So it was pretty quick I mean mild cough next day severe cough then fever. I didn't have it as bad as your friend. Fortunately, I could get out of bed I wasn't like super super exhausted. Um But I think the worst part your your body you get fatigued from coughing non-stop for seven days So I was just exhausted from the coughing Uh, and mentally I'll be honest with you again, like just people dying. So I'm not complaining But mentally it does take a toll on you because at least when I didn't know I had this You know It's it's said like you can go outside to take a walk if you're keeping distance, you know So at least you get that like 20 minute half hour break from being stationary, you know I live in a one-bedroom apartment. So when you're literally quarantined for I was in here for two straight weeks You get a little kooky. I mean I I was getting a little kooky Because it's just Tough to be confined in that area again, like people are dying or hospitalized. So I don't have it You know, I'm not complaining but that was uh one component and uh, the other thing I'll just say is I think that um It's really a shame that in this situation Uh The media is ignore it's it's kind of like with school shootings. They're doing the play-by-play instead of talking about the root I don't see the media talking about like there's zero discussion in the media corporate media Why are why are we even paying rent right now? Why are we paying rent? Why are we paying mortgages? I mean you look at europe The government's either paying for like 80 to 90 of people's pay companies payrolls or in some cases just like You know mortgage paused uh rent paused not like paused and then you pay it all back in one lump sum just like erased for now And your landlords mortgages So they don't they don't suffer like the fact that corporations run our government and I've said to my audience like it doesn't matter Biden or trump wins because I mean, I think trumps a little worse But the bottom line is neither of them make the decisions. It's their donors that are making decisions but there's no like deep discussion about Why is it that in the united states of america When something like this happens Why are 20 million people now out of work and no health care like it's mentioned But there's no that is a disaster and it could be fixed like right now And it's a scandal that the democratic frontrunner Is not saying yes right now medicare for all we'll talk about it You know, I disagree with it permanently, but right now medicare should just pay for all this It's completely scandalous and the future is bleak. I'm going to talk to richard wolf Later this week, but it's going to be like 2008 mic I mean these companies are not hiring back all these workers when times are good. They'll do more with less So you're going to have You know talk about angier yang the jobless economy is going to be expedited quicker A lot of these people are not going to get employed back Not to mention opioid epidemic getting worse because of unemployment depression Suicides those kind of things and there's very little talk of it and you know, I love bernie, but he has not organized his army to They can't protest in in physical space now But he has not organized his army to demand these things Now is the time I don't agree with some that are going off the rails and bernie's a sellout and a coward I don't agree with that But now is the time to just say straight up like no, we're not paying our rent This is absurd. We we don't have jobs Like it's crazy. Um, so I think there's a broader discussion than just the health pandemic And uh, I I hope also, I mean, look, there's a reason that african-americans are being hit disproportionately downtrodden communities So I hope that these parts of the discussion enter into it, but yeah, i'm fine. I'm gonna be fine and Hopefully nobody else gets this. It's not pleasant. Yeah, well, we're glad to hear that you're doing okay I think that like hearing you say that you tested positive for a lot of people like this makes it really real If you don't know someone who's had this I've known a couple of people now who has had this But if you don't then like hearing from someone who comes out and says it I think it really makes it real and I think it it's important because it encourages people to actually be more responsible Because you hear about these stories in the news we're overwhelmed every single day But it doesn't seem like a real thing unless you actually put a face to it and like having you come out and say it I think there's a real utility in that and you know just letting people know that this is serious and you need to take it Serious, you know, thankfully, you're okay. It could have been worse for you, but it's still it's no walk in the park You know, so um, thank you for sharing that. I really appreciate that Um, and yeah, uh before we leave one last time. Can you plug your website? Yeah youtube.com slash status coup that's c-o-u-p status coup.com and uh, yeah, definitely subscribe If you got a couple bucks, uh, it's five bucks a month status coup.com slash join and um Super super important right now support independent media whether it's us mike if you can do all As many as you can obviously people are hurting themselves, but I think we've seen from this campaign Manufacturing consent is on steroids these days And I think part of a large portion why bernie lost. I mean just think about it There's biting at a hundred million dollars in free advertising between south carolina and super tuesday That's not my opinion. That was reported. That's so and I'll and the exit poll showed Uh, I think 50 of people that voted for biden decided in those final days, so It wasn't a definite that he was going to clean up on super tuesday. Remember bernie was like to declared He was basically the frontrunner on 60 minutes like right before them So I think uh, we need to support independent media to counter this day after day propaganda So definitely uh, check us out if you can on youtube status coup All right. Thank you so much jordan chariden once again I'm really appreciated whenever you're writing the stories We'd love to have you because I think this is important and people need to know Thank you mike. I appreciate you having me on and caring about flint


Let's do some work on this trailer cut some stuff off of it cut it in half what not first thing we're going to do is take some measurements Stick around join me. I Can maybe use a hand or two. Okay guys. Here's this centerpiece these two gray bars that gray bar there and that gray bar there That's one piece it apparently with some kind of Exercise equipment Judging from that these things are not These things are not that solid here So what I think I'm going to do is I'm going to cut these down and I'll use them I do believe that's what I'm going to do because These things are not that That's sturdy That's probably what all What I'll end up doing is I'll just cut them down and make that a floor after I Cut this down of course. I'm going to you know narrow this One foot. I got let's get some measurements Let me take some measurements and let's see Let's see if we're at five feet that way I know how much I'm going to have to cut down and mark so that's why I'm going to leave the sides on just Just for right now so I can get a square, you know perfectly because these These edges back here around on this See can't get you know for my mark, but up here I can take my you know, I can get a better measurement from my marks on that and Mark it Actually, that's Yeah, that ends round it right so that way I can get a better. I don't know You know when you get something like this you don't know See like here See this is even this is even with that Over here.  I still don't know how We get to the center of this thing hold it on here, which I'll be welding it So I'll cut that bolt off Because I'm gonna mark the center Well, I've cut it I've cut it twice like if I if I take off a foot I gotta find my center How to mark over six six inches make a mark come over six inches and make a mark and do that on This front one here and that back one there And then I'll cut it and I'll bring these two together I'll have to do the same thing for the axles Or what what he's calling an axle so I'm gonna have to take these bolts out Either way any anyhow, I'm gonna I'm gonna grind these off these welds and try to get these These side pieces off of here so that'll be the first thing let's go ahead and grind them off and get these side Pretty much the deck off of it and then we'll go from there see this tongue There's nothing square about this trailer. It's just eyeballed and it's not eyeballed very well because if you see this tongue It's like over this way And I can see back here in the back It's got a bend to it. So that's all You know, I'm gonna have to do something about that like it says not gonna ever be behind the vehicle, but You know, I still want it done halfway, right? We're gonna build something out of it Like I said, I may use these for like the floorboards inside come down or whatever and just lay them down That's a good possibility of what I might do and You know put some treated lumber in there. I'm not sure yet about that. We'll just have to see But these things like I said they They're so flimsy They're not made for for this kind of stuff So Eventually shit's gonna start bending and breaking at any you know at a give point So let's go ahead and get these cut off and it looks like a car dolly in a way, don't it? So this is what I don't like see how this is rounded here and These are square really don't like that. They've got the axle axle welded on to here. I thought about Cutting this down But I I don't have anything to put across here You know square tubing or rectangle tubing so I'm probably gonna have to leave it like this. I still got to cut it down to make it make it thinner, but I See I can measure from the inside or outside whatever Probably I would go from the inside of here to the inside of that on the other side But then I got a transfer from here I got a transfer my marks over here I don't even know if this measurements right here if the tires are right.  Okay guys. I've done some measuring from the outside of That to the outside of this now that axle is pretty much center It might be off of 16th. I'm not worried about that. This is centered right in here so I took my mark from that but This thing from the outside of that side to the outside of this side five foot four inches These are one inch wide Okay, so inside the inside five foot two inches So I'm going to take off an egg exactly one foot Which you can see here Here's the center okay of my of The tongue So I'm going over six inches there six inches there same way with there that mark there That mark there Same with this this mark This mark okay, so I think what I want to do I know these are right try to Try to come across here and make sure this is square But anyway, I don't have a big t-square. I wish I did but It's going to be close So I Want to cut this off back here first Okay, we'll cut that center the centerpiece out first and then I think I'm going to go ahead and cut that off That went off and Then you know I've got to I got to take these bolts out I may Just cut all the way down through that and through that that'll still give me room to put bolts back in if I want But I'm not sure There's still one I have to come out But let's go ahead and let's get to cutting on this thing Now I know what a lot of you guys are thinking it's not going to be square. I know it's not It's not going to be perfect, but it'll be close enough to pull behind a garden track Okay guys, I don't know if you've seen it when it was sped up, but I stepped on this end to try to raise it up a little bit Right there.  Let me get some of this cleaned up and I'll get I'll get my game playing together Okay guys, what I'm going to do now is I'm going to tack this on this this corner in this corner Then I'll flip it up And I'll grind up grind it around then I'll go ahead and weld that around there I've got some steel in here. I am going to re reinforce this This axle here same way with the with the other pieces there. So Let's go ahead and give it a tack I left the gap there because I want some penetration down in there Okay, so I'm gonna flip it over I'm gonna do the same thing on the other side. I got a grind it off and clean it I'll be back with you I'll show you what I ended up with Okay, guys, this is what we're working on. That's my reinforcement there As you can see that's pretty decent welds on here But when I got down to here started acting funny on me skipping I'm gonna have to grind that off. I don't have to take whole thing off Just grind it off smooth and reweld it because I'm out of welding wire. So all out So I got to get some more welding wire before I can finish this So Anyway, that's where we're at That piece there. I think I may use for the tongue. I'm not sure I May need to use a piece of this but you can see how bent that was I mean, that's not holding up and that's I mean what and the trailer this big Was probably meant to pull something down the road. My god. That's scary. That's a scary thought All right, so stay tuned for part two of the trailer build my buddy. He's out here. He has a ancient buddy He has a good time. Don't you Bruna Bruna? Yeah, he uh He's helping me. So These pieces I got to finish welding these This one's done. I mean pretty good while I was in then it started messing up on me there I figured I was getting close to running out of wire This here turned out pretty good.  That's actually wider than what I wanted it to be, but It'll be fine You know, I'm just gonna be hauling stuff around the house maybe take some stuff down down the cell I got that inside cleaned off pretty well. So anyway guys That's what we're looking at so far. Now I get the fun task of Getting all this stuff out here Getting around back or something.  So I Want to make sure she's got room in the driveway. So This I can wheel around like when that whole thing was together man. This thing was light I wheeled around here without any issues really But that'll give me some more time to do some playing I got this galvanized here Yes, you can well galvanize. You just gotta just gotta grind it off real well And you can weld it with no issues Her a lot of people say well you should wear a mask when you and well, you know what if you grind it Grind it all off of there. You should be okay If you're gonna be welding every day, of course But so These things here. I don't know what I'm gonna I don't know if they're strong enough to do anything with I Mean that'd be a lot of welding. You know to patch them holes up if I welded them holes closed.  All right guys, so There's kind of well the first episode was actually us getting the trailer It's hard to measure if that square or not being that this one side's rounded like it is but it's from what the measurements I took and I Like on the axle and stuff it seems to be Everything went back together Like when I slid it back together pretty much Kind of like where I where I made the cuts everything butted up nice I mean my cuts weren't that straight, but they did butt up nice and everything seemed to be fine. So I did do some measuring From the center and then on the right side and on the left side Before you get to the turn and it seemed to be It seemed to be okay. See that Bruno See that Bruno. That's the dog dog. How you better be good So it seemed it seemed to be right on the money there. So I'm pretty good good there You know, I'd like to have a full frame. I don't think I'm gonna be able to do that But like I said, it's not gonna be hauling, you know a thousand pounds Most I'll put on it. So, you know six or seven hundred so So anyway guys I'm trying to get you gloomy day, so I'm gonna get this all cleaned up and When I get some more welding wire, I'll turn you back on and you know, we'll commence to commencing So thanks for watching guys. Don't forget check out monkey 1000s channel and remember give this a thumbs up and If you haven't already, please subscribe hit the bell icon get notified of more stuff like this and Y'all enjoy the rest of your week tomorrow Friday and the weekends here. So Y'all be cool. Shea Berry meant the main legend gone for now. Bye. Bye. Take care


Okay, great. So the idea is it should not be the typical session where I talk to you I want to hear questions from you guys no matter like every performance talk I've done I always get people afterwards to tell me about their performance problems with their sites and I think those are really interesting questions, and I really want to make a session out of that if we can So I'm hoping that you all have questions I'll first introduce myself again I'm a performance engineer at Acquia That means I'm generally working on internal things I deal with the performance related Issues of all of our internal products and then once in a while I do some external stuff, and I do some performance work in core Now there's a lot of talk about Drupal performance in the community I'm sure many of you have seen People talk about varnish fan cache all these different things you can do to your site Even though like we love to talk about code level things like Ternaries are slow and things like that I Like to get the point across that none of that matters Outside of the context of your site So that like these performance like we always want to make a black-and-white thing out of performance It's very very very rarely the case. I also want to get the point across that faster is not better. I See this attitude a lot Let's just do it this way because it's faster, so why not there's no harm in it there is harm in it There's always harm in it Optimizations are not free if you change one piece of code to do something else to optimize it to make it faster that will very very Commonly come at the cost of readability so I always want to get points across that the That there's always a cost and to consider that cost and figure out is that cost worth it And before I move on to far here in here. I have some slides. I would love to never get to the rest of the slides I think I would like to start and see if anyone has questions or issues. They want to talk about. Yes Yes, please very specific. Yeah They're not better with Redis Okay, I love I love this question. You just gave me everything that I wanted To recap you're making a site you are testing the performance of it with Jmeter and AB And you're using Redis for cash And you're noticing that when you your results from AB are actually slower with Redis enabled Okay, not as good as okay, that's fine and then you I think the actual question was something about your query cash, right? Okay, so Let's talk a bit about How fast things are? We generally it's just a general assumption that you don't use database for cash Memcash Redis is always gonna be faster faster doesn't really cover it Yes, it's coming from memory But if you say if you're on a machine that has they say you have my school local that machine And there's no network overhead. I've seen instances where I mean you already have that database connection there It can actually be faster use database for cash instead of them cash in that environment For rights Memcash Redis will be significantly faster because you're writing to memory and you don't have to write to disk in this scenario You're not writing you're only reading so I'm actually not that surprised that you saw that the other component to that is The biggest benefit I think you get from something like memcash Redis is scalability versus performance Right like you're going to be able to scale that horizontally in a way that you can't my SQL And so if you're just talking about one instance of that, I don't think what you found is really abnormal at all I think I probably expected Yeah, that's a hard one That's also a good reason why I don't I don't actually benchmark or load test that often especially with tools like that because If you're I mean if you're just trying to evaluate those different pieces of your stack That can be a reasonable way to do it But it's probably better to just profile it and then you can see exactly how much time is spent where Because when you say use something like a B Like in this case you're testing the difference between Redis and memcash, right? Okay, I said memcash actually meant my SQL so it's Redis and my SQL So you those are the two things you want to test when you use a B you're testing Those two things plus PHP plus everything else that happens on request plus Apache Plus the network overhead DNS like you're testing 20 things and you want to test one, right? If you profile it or something like xx prof You can get in and look at exactly how much time was spent in cash gift or cash set And then you can know and you can compare those like xx prof has a thing where you can Give it two runs and then compare the diff and then it'll tell you like this percent difference over that and Generally Like when you do the AB Jmeter thing, it's more of like a scale ability test. You want to verify that everything is working well It's very rare that I see issues there that I didn't see just looking at one single request If that one single request looks good, you're probably gonna be okay That later test like the load test is actually more of like an infrastructure test to make sure like there's anything wrong But I hope that's a common theme that we're gonna come back to that actually profiling is really all you do in most of these cases Yes to do what? another Yeah, that's another great question. I Don't I mean so there's the basic stuff. Well, I mean you touched on Measuring tools and like optimization type tools They're sort of the good Yeah I don't actually use many other tools the next day profit. That's like my main tool that I use I find Finding finding bottlenecks and finding why the request is slow is all about Tracking it down to the one single thing, right? If you start at anywhere else but profiling it's very easy to get off on the long track So if you start to say like a page is slow I see this all the time people look straight at the note or the slow query log Or they'll pull up in a top or my top at that point You haven't you haven't figured out if it's even a my issue or not And so who knows what the hell it is If you start with XH crop you can see immediately, okay? I see a bunch of time spent in DB query or select PDO whatever And then at least I can say okay now. I know it's nice drill Then the next step might be okay. Let's look at the slow query log 90% of the time it's just gonna be a Query that's not indexed or that is creating a stem table and it's gonna be really obvious. What's what's going on? Very very rarely do I have to pull out like special tools like IOS that like look at like actual like system level stuff very rarely At least in the work that I do and so I would always suggest just don't jump to those tools Always start with profiling and then let that inform where you need to go next But in terms, I think you did mention like off-code caches and stuff. Yeah, I mean APC is a requirement I don't I don't profile sites unless they have a PC on them Monitoring what kind of monitoring so New Relic New Relic is cool. I've looked at it a little bit it So like when I work on a site that already has it it's sometimes useful to Sort of start me looking in the right direction But I almost always then still profile it with xx-raw Because the difference is so there's two kinds of profilers well not really two times But theirs is a sample profiler and what that does is it basically like take samples during the request and then it figures out Okay, well this at this point I'm in this function or this function and then so your slowest functions are gonna be apparent because it's gonna catch those more often That's a really nice way to get like low overhead data and not add a lot of overhead to the request But you don't get the full backtrace I think you get a little bit of a backtrace with New Relic, but it's really confusing to me somebody might know better and have more information The really nice thing about xx prop is I get not an exact backtrace, but I get the entire request So if I see okay all this time is spent in DB query I can figure out where that came from and in Drupal. We also we often have very very long paths And so I want to know where that came from or I want to be able to look at the data a different way and sort of a different way Which it sounds it seems like I'm gonna have to get into that and show it. How many people have your views xx prop? Okay, so maybe I don't know All right question. Yes Yeah, I've been on one side with like the full The full expensive plan and I felt like like there was definitely more backtrace But it wasn't quite the same very possible that I just didn't know how to use it That's if I find it very confusing Okay, any other questions? Yes, okay Do you know Are you the only one on it? Okay, and just repeat the question the question was you're on a virtualized instance You don't run the hardware it sounds like Sometimes it's slow. Sometimes it is Not slow and you need you want to be able to figure out when Or why it is without having correct access to the hardware Slow is an interesting term when talking about like the entire web server Because most of the time when I find that it's actually queuing So say with PHP no matter what version of PHP you're running if you're running PHP FPM Or if you're running mod PHP you set a number of PHP processes that can handle your look, right? so on Say you're doing mod PHP. That's going to be a pastries max client setting right and say you have 20 max clients That means you can serve 20 people at a time The next person is going to get queued and then when one process Freezes up then that one's going to serve them if you get 60 people in then you have people then you're essentially your page time keeps getting Multiplied exponentially by how many people are waiting in this queue So that is the it's much harder to measure because I noticed most times when people think that something is slow It's really just they don't have the resources to keep up with it Right and having your page be faster will certainly help with that But I would want to know how many how many processes you have It's a pretty good. Yeah. No loads What gave you the what gave you the impression that with the memory with an issue? Okay, so I mean, I think one way to prove that would just be to basically like profile a page at different times and show that the exact same thing with no load is very different, but I Don't know how to do that with memory, but with CPU you actually can look at that if you look at top I can't pull it up here because the BSD top is really different. There's a parameter When you look at the presented percentages You'll have to Google this but one of the parameters is I forget what it's called But it's basically how much CPU is being stolen from that box What steel that's called Yeah, what's what's the there's like an abbreviation for it? xt ST ST look at the percentage of ST if that's super high your shit is getting stolen from you so But also it I mean if ESX is anything like Xenor happens other VM platforms most of the standard tools are lying to you anyways, so who the hell knows Okay Yes, it's always a good idea to use an SSD whenever you can But most of us do not have that luxury Even on AWS we have SSDs, but it's an ephemeral so you can run your database on ephemeral MongoDB, but lots of people like durability, so That's maybe not the idea, but it's always always a good idea to use an SD when you can if you have real hardware That's hugely helpful. Especially if you have a site worth like you you have 10 tables that you just can't get rid of that's gonna be significantly improved by an SD Yeah, yeah, and if you have if you have hard work definitely do that like if you're if you're bare metal It's absolutely worth the investment Oh Yes Yeah, so and I guess So you're talking about the reverse proxy support in Drupal 6 the reverse proxy support is in Prespo in 7 I mean there isn't really much in Prespo 7 Because a lot of that is already in 7 so you don't actually anything that works great with the reverse proxy But you went through a lot of different things there So what are the requirements of this site because if you're talking about booth and you're talking about reverse proxies It sounds like a large amount of anonymous traffic. Well, yeah, so So the in terms of the anonymous traffic performance problem, it's more or less solved, right? So we have I mean page caching is already pretty good by itself Varnish reverse proxies like actual CDNs an order of magnitude even better than that, right? That's it. That's an easy problem to solve But what you're talking about You're talking about you have the need to possibly have one block that is either catch differently than the rest of the page Or be dynamic That's actually an okay use case for ESI Or and I hate saying the word ESI because I don't actually mean it I mean that block being pulled in in some other way so that Yes, absolutely. I much prefer the JavaScript route because then you avoid the complexity of ESI and it works in your dev environment really simply When you you can key the cache for that based on essentially whatever you want depending on which module you use There's the ESI module which Marcus back there. You wrote that You can it Mark as it does have like a hook where you can basically add any context You want that'll change the cache key for that So if it's zip code you could add the zip code to the cache key and then that would get cashed by that region, right? Okay, that's triple seven only if you're in Drupal 6 though. It just respects block cash rules, right? It respects block cash rules and in Drupal 6. I have a patch that's in the queue that lots of people don't like but it's awesome It It provides another hook in the function. I forget what it's called the function that comes up with the cache ID for a block It's totally fixed You can't really add your own stuff. You have your own little I mean nobody uses block cash because of this You can only do like by role by user That passes to add a little hook in there to where you can implement that hook and in your hook and your hook implementation You can say if the block is this here's another thing to add to the key And then so you basically have all the flexibility you need for block caching without one tiny core patch it's search search for it like my so my name M. Sonobom block cache and You will get there's like I have like three or four block caches you Because basically like block caching is a fantastic way to improve the performance of a site You just have to tweak it here and there you just have to understand the limitations of it Yes Okay, so your question is you're trying to use varnish. You're not getting any hits claim that you're not using cookies or sessions All right so The way to debug that is curl Every so you can you can't debug within the VCL, but honestly, I think You there's things to check before that I can show you really quickly how I would go about that to say window So I know that They like aquee.com Dash I anyone knows that curl flag. It's a head request It's not actually the most reliable thing to do because some VCLs might not actually work with head But it's still if you want to be really sure you can do that You can actually just force the message to get but what a head request is is it does a request it's like to get It doesn't actually return you the body of the request and so you can just run that and then So we have Xdrupal cache miss Who thinks that means? We had a varnish miss All right, good. That doesn't mean anything at all We have The things to look for cash control my cash control is max age More than zero that's one thing to look for And the magic thing here is this some Yeah, so we actually do have xcash hit here and that means that it was a varnish hit But that's a specific thing that we put in our VCL right so we have to put that in the VCL underscore hit we Send that header, and then we also have an incremented counter so that we can see how many hits that page got But that's not always reliable because that requires something in the VCL This one is what you want to look at if there's two numbers it was a cash hit if there's one it was a miss I forget the details exactly, but I'm pretty sure it's like one is like the hash for that request And the other is the cash ID or the hash of the cash object that it serve In place of that and so if that second one is not there it is a miss What now? Was that sure? Yeah, but the main things you want to look at our max age Whether it's private or public which I mean all those are usually it's coming from people They're all gonna be insane that they're gonna be max age zero max age not zero and as long as you don't see a set cookie Header then you're fine But even if you think you're not using sessions or cookies or anything check it just make sure I've seen many cases where that is You do this if it was if you were setting a cookie it would there would be a cookie that says set cookie and there would be a cookie after Yeah, I wish I had a way to check that, but I don't know that I do But yeah, curl that shy wonderful, okay, no Because so the question is do I do I do I have a preference on web servers? I use one or the other I Don't really care because web servers are almost never a Drupal bottleneck Right. There's all kinds of benchmarks out there You can have people talking about how much faster engine X is an Apache I can I can almost guarantee you that it's not your bottleneck So you can implement like you can throw away your Apache and implement engine X and you can add complexity to your setup Especially if like maybe your team doesn't know engine X It may not do any good for you at all instead. You actually just made everything more complex Engine X is a fantastic web server. It's great To create load balancer does a lot of things that are I mean I will say we we run engine X as a load balancer But we still run Apache as A web server because it's just not our bottleneck Now the issue is a little different if you have mod PHP Because mod PHP is going to use more memory because that means every process every Apache process has an entire copy of the P2 runtime and That can be an issue as long as you're not so if you serve a static request if you serve CSS with that Then you're going to use way more memory to do that So if you have mod PHP make sure you have a reverse proxy to make sure that you're always serving your static assets from something Like varnish and then it's a wash Yeah, that doesn't really matter it's just saying It's just not giving it it's using the max age header instead of working with the expires her Generally, that's a better Header to send then expires because it doesn't really matter when that thing expires. It only matters how long it's good for But yeah, that's three different things and there's actually a better answer to that. I just forget what it is Yep That's right Yeah, and that yeah, that's why they're I mean HTTP There's like three or four different headers that actually control everything But what we are generally going to be paying attention to and modern implementations is cash control so question is if you have a You have a set of four you have multiple web servers and How do you deal with the issue of bringing up a new one and it taking a while to warm up? I? question what you mean by warm up Because there's there's warming passes Right, which is probably I think what you're talking about a PC would definitely be a cache that needs to be warmed on a new web server That's gonna happen more or less instantly the first request that comes in There's I mean you could try to Prime that but I don't know that's really gonna be a big issue It might be an issue if you actually have an instance of your cash on that is that what you have like like memcash But shouldn't they all be talking to the same say like database and cash? NFS So I mean I think the issue here is that it's heavily dependent on the setup I think in the ideal scenario this wouldn't be an issue Because you're only client cash should be a PC Are you running your files like your PHP files off NFS? Okay, I'm gonna recommend not doing that if you can help it Yeah, yeah Okay, yeah, I mean that's that's not ideal for a lot of reasons Which I don't know if it's useful to go into past if you have any choice at all don't run Yes all shared file systems are terrible and they're all a pain in the ass Run whatever you're comfortable with in terms of your team's capacity What you can support and the amount of high availability your site truly needs If you can get away with NFS is a shared file system awesome do it if you need to go into something like Gluster It works we run it. It's not without its issues Unfortunately, we're stuck with this problem for a long time because Drupal has a couple I mean there's a few things in Drupal that are just very aware of a file system like the image Cache pattern where we check if a file exists and then if it's not if it doesn't exist then we create it We can't do the sort of the Heroku style thing where you don't where you just don't have a shared file system And then you just use something like S3. We're not at the point where we can do that I would love it if we could do that But with things like Drupal 8's PHP file storage, it doesn't seem like we're like there's too much interest in that I have a feeling that both We acquies hosting and pantheon are probably pretty interested in that because it is a pain point, but Maybe it's just a pain point for us But yeah, I mean it's a good example of alligates very very much pain point for us But I think a lot of flights get by just fine with NFS just for your files directly not for Yeah, avoid shared files whenever possible And just avoid avoid behavior where you're dealing with a file system because file systems are so unpredictable You never know what's like if you think a stat is an expensive Don't assume that you never know what's gonna happen depending on the files from that you're dealing with Yes Like to do debug why that's low. Yeah. Okay. I think that is a great Yeah, I think that is a great segue into XH prof. I'll just quickly demo that so if you go to So XH prof is a PHP extension.  This is the UI to look at it If you look at the session The session page for this page. I have a gist at the bottom It shows like a very simple the simplest way. I know to install the extension and to and how to enable XH prof profiling on your site. There's also the XH prof module which that'll do it as well But once you get that file and then you can view it here So let's look at one of these so first thing you get is the summary You guys read that okay Okay, yeah, that's fine just that table Just the terms here wall time is what we would just normally think of as time CPU time is Wall time minus IO and so like time spent in my S2L or memcache. We're not going to be reflected in there Sometimes that's useful. Generally, you're just gonna want to look at wall time and then you have memory usage and number of function calls It starts It starts by D by sorting by inclusive wall time And so inclusive wall time means say inclusive for call user funk array means how much time we've spent in Call user funk array and every function at call, right? It's not surprising that that's at the top of this because that's like the basis of the triple hook system So that doesn't really tell us much And then you're gonna just go down and see all these things like panels render see tools These are the things that are happening at the very top of the request. I Don't think this is a very easy way to start. I like to flip it and start with exclusive So if you sort by exclusive wall time Now you see everything So exclusive is only time spent in that function so time spent in the function minus all of its children in this case this I Know that this is a site that is Drupal 6 with a version of views before 6.2 11 I think Because of these stupid unpack options things these no longer are there if you ever see these actually No, regardless if you have an old version of views 6 to upgrade it, please As you can see this shit gets called a lot of times is array 121,000 times Unserialized and so when you look at it actually when you look at this this time That's microseconds. So that's saying 1.17 seconds we spent in the unserialized function That in itself isn't gonna tell you much because it's like well, I can't optimize the unserialized function that might be your Your first idea, but that's It's more interesting to think of what it's calling the unserialized function So you click through to that and then we look at the function level view You see the current function all of its parents and then you see its children But this is a native PHP function. So there's no children and then you look at the breakdown of the parent functions. So The percentage of the call ease Or the callers are here when you see this huge disparity here like you go from 98% to 0 I ignore the rest and I just immediately click through to that top parent because that's already telling me all these Unserialized are coming from cash get now It might be interesting at that point to look at What's calling cash get so much? I Think it's more telling if I look at the child function I see unserialized and I also see db query and what that tells me is this site is using database cache Because if you use a memcache it wouldn't be calling well It would be calling db query and it wouldn't be calling unserialized because it wouldn't have to the memcache extension handle that for you So at that point I would probably stop and say I Just change it to memcache Although I'm not actually totally comfortable that diagnosis at that point, but Seeing the unserialized function take that much time is actually probably a result My guess would be that this was profiled on the machine when it was maybe a little CPU bound because it still shouldn't have been that slow xk12 does add some overhead to the request it doesn't add as much as xdbuc not nearly as much as xdbuc But And yeah, if any of you have used xdbuc the profile before it's fine If you look at like relative times, but it adds a lot overhead it doesn't do memory I can't I can't think of a single reason to use it instead of active crop. You should just use xdbuc But then when you look at something like Like is array taking a hundred and almost a hundred and forty milliseconds because it's getting called that many times That's a little bit Exaggerated because of the xx prof overhead because xx prof is gonna add a little bit of overhead to each function call and so very fast small function calls That's gonna add up in a way that it won't add up on function calls a lot of IO if that makes sense but What I've found is the I mean I built a lot of tools around xx prof like trying to make it easier like extra module makes It easy because it puts this whole UI within Drupal. I don't use it just because it's a little slower And there's a there's a JavaScript implementation. I did at xx prof.io If you can just drag the file on but it only has the one level so far and There's actually I'll put the slides up at the end at the end. There's a link I just made like a single page version of this UI so even simpler to install But I think the trick is just trying like just doing it getting some results out of it even if you have a hard time Reading this and getting something useful out of it There are people that'll help with this like if you hit me up on IRC and show me that like I have this But I don't know what to make of it. I'll probably help you But I know that many people just don't try because no one asked me So my my thought is that people are just afraid to try But it's really in my opinion if you're a developer you've ever set up a debugger You've already done something way more complex than set up this and this is sort of an essential tool I actually use it for debugging because I can just see what called what So yeah exit profit off and y'all should use it and that's really the only tool I use for that Next question. Yes Yes So generally the biggest performance issues you're going to see our IO related My SQL is there. It's going to be a popular one mostly Because of unindexed queries and like queries that create temp tables I hesitate to start with my SQL because I don't want people going straight to it Until you see that But the other popular ones like Drupal HTTP requests Shell exec stuff like that anything that is Anything that is IO basically going out and asking for something Drupal HTTP request is a tough one because It's a really horrible thing to do within a within a request that is serving a page Right There are times when you need the results of that HTTP request to create the page you're trying to make and that's legitimate if you need to do that maybe I Would suggest if you can move it to the front end So like if people who were here last hour Jeff talked about Having like the consuming feeds Via JavaScript on the front end of a Drupal site that's ideal I would much rather do that because your browser can make requests in parallel PHP cannot So if you do that HTTP request, and it takes you I mean even the fastest HTTP request You're still looking at probably 200 milliseconds if you're lucky probably more Your entire process is blocked until that comes back So if you can avoid that I absolutely would the only the only use case where I think that's it's pretty justifiable to have it in the request is aid it's absolutely necessary to render the page and You need to hide credentials Like you're making it a web services request that has credentials that can't be sent on the front end in that case There's not a lot you can do But in the case where you need to make an HTTP request Because something happened like a user visited this page they clicked something they saved something So now I know I need to say like post this response to To To some web service, but it's not strictly necessary to return the next page you should queue it The QAPI is the greatest thing in Drupal 7 that nobody uses Still in Drupal 8. There's like a wonderful back for it to Drupal 6 It's a great way to take I mean basically it's the way in Drupal and PHP to process things in parallel Right because you can't do it I mean PHP is single threaded can't actually do anything in parallel But you can say stick it in this queue and then have a drush worker running That's just constantly processing those things. So it's similar to cron, but if it's in the QAPI you can just run it all the time You can run it every minute or there's if you're have if you have Redis or beans.de You can run a long-running queue worker That's actually just a long-running drush process that as soon as something hits the queue it processes it and does it That is my absolute favorite pattern I think it is a great way to To offload tasks off of the UI, but it involves a little bit of complexity though, but it's worth learning Oh, okay, so I'm gonna give you the real dumb version It's basically when MySQL has to do The MySQL has to assemble the results in a way to where it can't it can't do say like the sort or Or the condition you need Without creating a new denormalized table either in memory or on disk to process that with There are two parameters. I think it's like max heap table size. I'm probably screwing those up There's two parameters or something like that that have to do with whether or not there's 32 megs like default If the data set is larger than that, it's gonna stick it on disk. If not, it's gonna do it in memory memory is gonna be significantly faster, but ideally you just want to try to figure out how to make the query without MySQL creating a temp table You'll know that it's creating a temp table by running explain Does everyone run to run explain on their MySQL queries before? Any MySQL query you have you can put the word explain in front of it And then MySQL will show you like the execution plan for it And you can see it every step whether it's using an index whether it needed to create a temp table and how many rows return from each step to say you have a query that's Joining on the node table and then like five other things and the first step is the node table And it says that first one returned like a hundred two hundred thousand records and then filtered from there That's that you should not try to figure out how to get it to not do that It can be a tricky process in making that happen because different versions of my SQL The query parser works differently And it's hard to predict what my school is actually going to do Hopefully you can you can save it with an index if you can't save it with an index and it's a view Be ready to be ready to just rewrite it by hand Yeah, that I think that's a general tip if you are really fighting with like a query in views Don't be afraid like if it comes down to it You're just gonna have to replace it with testing code and that's and that's an okay thing to do Yes Damn near never like I like I've been wanting to get into extension development for a long time But like I just can't justify it I mean there there's the one there's a Drupal extension And I think like I forget somebody somebody did some bench for attack one did some nice parts. I think And they looked good But it's not enough to you to justify the complexity in most cases. I think I Wish I wish that was our bottleneck Okay, so you so you have a process where somebody logs in It makes two web services request. Oh Just one. Well, so I'm unclear on the process. So you log in and then what happens? You're authenticated locally. So a web services request is made when I press submit. Okay, sure You're syncing with an external force So I actually did a site that was very very similar to that and this is where I Got heavy in the queues what I would do is when the I Would have a process that ran like every day or every two days that would actually just go through all users and sync them and just Take them in a queue and then I would just process that queue regularly Just make sure that no one was too out of date But then if you logged in I would immediately put a process in the queue that said go fix this user's information and update it And so I had and I probably had four long-running workers. So we're there ready to do that And so that the queue API gives you a way to get that out of crime in Drupal 7 and 6 the only hook for queues is hook you cron info it's unfortunate but the queue I think it's the queue UI module Came up with hook queue info which bypasses crime and the other hook means like I'm declaring my queue and Cron will run it automatically. I'm sure we did it just because it's convenient and then it just makes sure that all your queues get run If you use hook queue info Then it's up to you to run it but Drush 5 supports that hook and It has a drush hook or drush queue run command So you just stick that in cron with your queue name every minute and you're good to go There's not a lot you can do. Nope Which is why I actually like LDAP in those situations Great question. The answer is you do not have a website yet. You are making it. You're designing it What can I do to not end up with these performance issues in the future? You should do nothing You should never try to predict I mean within reason there's there are acceptance But you should not try to predict the performance of something and you should not try to design for performance Unless it's like a critical part that you know I mean it's useful to know big O notation in this in this respect so you can say if it's an O and operation That means I'm gonna do this thing for as many other things as I need to versus O one It's like an always like a hash lookup. I'm explaining that terribly, but maybe look up look up big O So there there's some situations where you can tell like okay I recognize that as like an O and so I'm probably gonna need to fix that but do it the simplest possible way Then profile it Otherwise you end up fixing problems that you actually may not even have Right, and then you make your site more complex Because you anticipated problems that you didn't actually ever prove that you had and now you have a complex site That's hard to manage the biggest performance problems come from complexity And so I would always suggest like you should do the absolute simplest thing possible And then fix performance issues as you find them, but just regularly look for them We're just always measure is the thing just don't don't reason About what might be slow measure and let that data tell you what's kind of what's slow. Oh, are we done? five minutes, okay Yes, yeah, I think I think I have nothing against this model If you are on a shared host Where you may not have a reverse proxy and you have very catchable pages. It's totally legit to use this model I've actually never used it Yeah, I can't I know Mike. He's a super smart guy and I respect the stuff that he does I just haven't used it But I think I think it's just because I don't work on sites where it's an appropriate solution. I think there Some invalidation issues that can come up, but yeah Yeah, yeah, I mean if it's it's a great option to just just sort of KTML So I mean just serving that from a path. He's gonna be super fast Or I mean, I've seen actually some pretty crazy setups with that I can't even mention who it is extremely big site They used it to generate that and then like they sync that and actually only serve what boost generates So it can be a really interesting tool Yeah, yeah, and for a lot of sites. It's it's like enabling it So I think that's a decent option But if you have varnish if you if your team can handle setting up varnish and maintaining that I would prefer it but It's I wouldn't automatically go to varnish just because it's going to scale better because you may not ever actually need what varnish Okay, if there are no more questions, I think that is it. All right. Thank you guys


Meanwhile, a political analyst, Biodu Xiaomi, has said that Governor May Malabuni was replaced by the Niger State Governor Abu Bakabbello as head of the CECPC to avoid a further crisis from taking place in the party. Xiaomi, who featured earlier on a political program plus politics, said that the APC was trying to resolve the crisis in a way that would reduce the infightings in the party. I think the APC is trying to resolve their crisis the best way possible. If you look at what they are doing currently, rather than allowing Biodu Xiaomi to score through the next election and the next convention, they decided to get him out of the place and put in somebody, Governor Biodu, with the mandate to organize the convention. Otherwise, there'd be a crisis in the city again on March 26, and that is not what they want. The President will certainly have a view on who should be, particularly, the chairman of the party. But we should not forget what they've done in the APC currently. What they've simply tried to do now is to resolve all the problems of the country. What they've done, what we call lateral zoning. The lateral zoning is about dividing the country into two constituencies. That is the north and the south. And all the offices currently occupied by the north will now be moved to the south. All the offices in the south will be moved to the north. And then from there, you now have the micro zoning within each constituency. So now zone those posts to different areas. So they are trying to resolve it in a representative way and in a way that would be to let conflict. That is what they're doing with lateral zoning currently. So given that, Mr. Susten will certainly have an interest in two sub-seats, Governor Bello as the chairman of the party. But that's what I will show, with so much influence in relation to other offices within the party. And those ones will be left for other party shifting to have some influence.


There we go that's one up one to go But we're coming back here to do these steels next week, so Right Good morning. It is the 30th of November. So kind of to Christmas has officially begun and today is the day We're bloody finishing this thing as you saw last time we had a really good go at it getting the rest of it getting both those pikes in and Yesterday we came in moved all the stuff over got it all set up for today and today It's just get get this leveled up and get them pikes in doesn't sound like a lot, but Obviously, I need to be doing all these cuts for dad and dad needs to be getting the line set up for the pikes Got what to do, but we're just gonna be On the ball about it. We managed to get in nice and early. It's 8 o'clock now. The mix is already in almost lines up lines up All the blocks are loaded out all the blocks are over. So it's okay. So just getting this thing finished now. So Let's do it. Oh, that's one up one to go And then that Maybe You Well, I've just been mine off I've just been mine off now. I'm wearing an M stopper now actually Because they're mine of ruined after the blocks The last four times wrong, but they're not four times the price and they're so complete the very Very tight you can feel you doing You've been to the tad a few of the different ones. He's definitely the sky tech first Because all the cuts are done. That's not even a cut is it? It's an off cut So just a pan mound boom Lunchtime.  So there we have it Finished up that side and all tied it up on the inside. Thanks to dad Got that border cover of the electrics and what I've here, but we're coming back here to do these steels next week So we're back here for more of this, but that is this part Done you see behind me as well all covered up as well. So ready for any frost or rain But the block work of the extension is done Finally Yes, right So I think that'll do it for this video you'll probably see more of this on the upcoming steel video for this whenever that'll be so There you have it Bit of a drag, but we got there in the end if you enjoyed be sure to give us a thumbs up If you enjoyed be sure to give us a thumbs up and if you need to the channel You want to see more of this be sure to hit that subscribe and what else tap the Tap the bell that way you'll get no time whenever we upload. That's always a massive help for the channel We appreciate all the support. So this has been Block playing with Stephen Alex and we'll see you in the next one