It's Monday in freaking Columbia.  So that way the breakfast delay is worth it. What's good We're talking about dunk tips and life lives Okay, Mundos Monday extra motivation today. What's good? I don't know if this mic is even working Sounded yesterday like I picked up everything around it But if I hold it credibility looks like I'm doing something professional anyway feeling really good yesterday I got a workout in before breakfast today I'm gonna go to breakfast and then work out later in the middle of the day when it's like peak sunks I got burnt yesterday, but feeling great. It's been amazing just coffee sunshine beach salt water rejuvenation replenish nature nurture skin Everything's been perfect Food's been really good went to old town yesterday.  I love taking pictures this camera I have the Sony with the Sigma lens has such good colors I was also thinking about doing some content about content on my channel So definitely let me know if you're interested on that because I've been doing YouTube for a while I'm super into film and photography So I know a lot about that to a lot of tips That I can share that I really love anyway What I want to talk about today the reason why I brought up breakfast and all that things is because Feels like throughout the day or throughout your life You kind of set up these barriers or at least I did and the more you expand those barriers or reduce them the easier your life is because a lot of times you have things set the way you want and This is exactly a perfect episode for my podcast because the way I used to dunk was I used to have a certain time I would eat and then I have a certain window to get to the gym. I have a lot of coffee in my blood already I'm already like jittery Cheers There was a certain time I needed to get to the gym to feel fueled and then if I missed that window Then I would feel like malnourished or if I went too early. I'd feel like I was full Different things like that or if I took pre-work anything to start working out like 20 minutes after else It's like too much. The point is is it was very like strict guidelines to how I was living how I was training And if it didn't go well, it was in my head like oh shoot. I don't have enough food I don't feel great. I don't feel optimal and it made it very difficult mentally and just I wouldn't perform Well, but now I do like the intermittent fasting I'm not saying that's what you need to do But it's just an example of that when I do intermittent fasting I fuel up the night before and then when I wake up say it's seven or eight Usually around seven thirty eight. I can go to the gym anytime. I don't have to eat I don't have to worry about it I can have a little bit of a snack tiny bit of like fruit or something like that or a banana which is fruit and I go and I can go anytime throughout the day from nine in the morning to like six at night with just a little bit of Snack, but I have such more way more flexibility in my training and things and I just feel like that's the way life works when you travel a lot Of times when I first started traveling. It's like it's out of your comfort zone. It's You don't know what's gonna happen. You don't know the language You don't know how to like exchange money all those different things But once you do it once it becomes known and then your your experience gets so much wider of what you know That it makes it so much easier the next time around but Going back to the life side of things is like that's your inner Inner peace is like you have all these things that people say to you or way things should happen If they don't go that that according to how you expect them to go it disrupts your peace so if you just widen that or don't have any guidelines or don't have Let nothing bother you your experience is so much easier as you walk through life And that's I'm gonna come up with a good analogy for that. I kind of did with the dunk That's why I always use the dunk metaphors because it's really easy, but just think of it as like bumpers on a on a Not bumpers on a bowling alley But just think of bumpers in your life is like you stay within those bumpers And as soon as someone's like you get outside those bumpers like ah you freak out But if you widen those bumpers super wide then you never get stressed out You never get your inner peace Disturbed and it also if you completely remove them if nothing it that's the best way to live at least in my opinion In my experience and that's what I love. I guess we'll just call it the sweet barriers of life for today But that's a shout out to my man Vince If he listens anyway, that's it for today. I'm keeping it super short so we can just keep that energy rolling Feeling so good though. I'm gonna I haven't found courts. There's no courts nearby. They're not big into basketball One guy said one taxi driver said they're big in a basketball, but it's kind of far So maybe we'll take a taxi into town one day and go dunk I'm feeling like I could just freakin shut down a rim. I would destroy it if it's not to a rim I think I had a dream of that. Oh speaking of dreams I had a dream I was driving a Tesla Elon Musk was my passenger and I was pointing out things I didn't did and didn't like about the the new Tesla like creatively like he was liking my creative decision See I was like saying there should be a button here I didn't like the way my leg felt a fit and I looked over and it was Elon I'm like dude, and I told him like dude. This is surreal. I can't believe you're in my car He's like I know it's great to be here like we were friends Okay, so on this day in history every day you can make history. Let's see what happened today 1588 the battle of grave line Spanish Armada damaged and scattered by the English fleet Okay yesterday my mom says should go through these Before him, but I liked the surprise 1848 bro the Irish potato famine god damn it Anything else today in film 1928 test footage first created for Walt Disney steamboat Willie with Mickey Mouse I just watched that this weekend on Saturday before we left or no Friday night before we left for this trip I just watched steamboat Willie. I love those old cartoon cartoons of Mickey Mouse It's just like silent. There's no words and things just happen. It's hilarious You should go watch steamboat Willie just what it's on YouTube actually today in music 1973 Led Zeppelin have more than $200,000 in cash stolen from a safety deposit box at the New York Hilton. God damn Weird today in sports 1751 first international world title prize fight Jack Stack of England beats challenger M. Penn of France What sport boxing? I don't know Anyway, that's today. What else is gonna happen today today? I'm gonna friggin go nuts. I'm gonna get more sun I'm feeling really tan slept there seven and a half hours and then last but not least Dunk life or the dead you guys loved it when my mom showed up today. She can't handle it She can't keep up now. She just didn't want to go too much. All right Smoke with a zero as the oh I've got two things. I look forward to in life at the moment That's your videos and hitting the gym Please never stop posting you're the most expiring youtuber on this platform that Comment is way too much for me to handle. Thank you so much. It's amazing Elite Ralph. Hi, Stephen. I'm so inspired with you. Thank you And then heroes s1 actually y'all don't need to hold the mic seems like it's recording all around That's how I realized that and I listened to it, but I listened to it beforehand I'm like, I don't think this is working and then you guys notice as well So keep me on my toes. Let's go day two in Columbia morning number two It's just beautiful. The beach is right there. We literally walked to it It feels so good to just lay in the ocean and float That's how I want my life. By the way, I want to be able to walk to the beach All right, I gotta eat and live Enjoy your day. Make the most out of Monday. Make the most out of Monday. That's it motivation Monday more Monday Maximize Monday Toodaloo


All right. Let me begin by thanking the governor and back a ballot for being with us. Jill Kowanski is not going to be here. And most importantly, I think we all want to thank the nurses and all of the health care providers in Vermont for the extraordinary work that they are doing during this pandemic. They are working night and day. They're under enormous stress. And they are, in fact, in this unprecedented moment in our history, in terms of public health. They are true heroines and heroes, and they are saving lives every day. And I think I speak for the entire state in expressing our gratitude to the nurses and the doctors and all of the health care providers. Like almost every state in this country, Vermont has faced a nursing shortage for many, many years. That shortage has been significantly exacerbated by the pandemic. And we now face, as other states, a crisis situation. The simple truth is that patients are not getting the quality care they need because there are not enough nurses to provide that care. That is true in our hospitals, our nursing homes, and almost all types of health care facilities. Today, we have approximately 15,000 nurses in Vermont. The reality is that we will need to put into our workforce some 9,000 additional nurses in the next five years if we are going to fill the shortages we currently have in addition to replacing those nurses who retire from the profession or leave for whatever reason. If we are going to provide the high quality health care we need in Vermont, our goal should be to have about 25,000 nurses at all levels by the year 2027. There are a number of reasons as to why we have a nursing shortage today. First and maybe foremost, we simply do not have enough educators in our nursing schools. The very good news, and this is good news, is that young people want to become nurses. And virtually every nursing school in the state of Vermont receives more applicants than they can accommodate. People want to enter this enormously important profession. Second, the problem is not just a shortage of nurses. Let me go back and say the bad news is that despite the number of applicants coming in, our nursing schools are turning away people who wish to enter the profession because we lack the educators and that is pretty crazy. Today in our five nursing schools, UVM, Castle Dunn, Vermont Tech, Norwich and Northern Vermont University, we have approximately 75 full-time nursing faculty. To graduate the number of nursing students we will need in the coming years that nurse educator faculty is going to have to expand to at least 125 full-time employees. The main reason we lack nurse educators who often have a graduate degree is for a very simple reason. We pay them abysmally. Today, the average salary in Vermont for a nurse educator is about 65,000, significantly less than what that person can earn in the clinical field. In other words, to become a nurse educated today is to make a significant financial sacrifice. The salaries for nurse educators must be significantly increased. And what is even crazier about having to reject potential nurse students because we don't have enough educators is the fact that today we are spending as a small state $75 million a year on traveling nurses. And these are often out of state nurses who will work on the contract at a medical facility for a short period of time. These traveling nurses receive salaries that are many times higher than our local permanent nurses receive. In other words, instead of spending money to educate nurses who will be part of a long-term sustainable workforce, we are spending huge sums of money on people who come into the state and then leave. Further, we have a problem in terms of an adequate number of hands-on training positions in medical facilities around the state. It takes significant clinical staff to adequately train a nursing student outside of the classroom, and these preceptors today are not fairly compensated for their services. Thirdly, it is important, I think, that we provide some immediate steps forward by creating loan repayment programs and scholarship programs to incentivize Vermontis and people from out of state to fill out the gap that we have right now. So here's the bottom line. We are now spending $75 million on short-term traveling nurses who don't stay in the state. We're not spending a fraction of that educating our own to become part of a long-term permanent and sustainable workforce. So I look forward to working with Jill and Senator Ballant and the governor and the Vermont delegation in Washington to do everything we can between the federal government and the state government to get the resources that we need to train the nurses that are absolutely essential to provide the quality care that we desperately need in Vermont. And with that, let me thank Governor Scott for being here, and we have worked together. His staff, my staff have worked together for the last couple of months, and I look forward to continue working with them. Governor, thank you. Good morning. Thank you very much, Senator Sanders. A little disappointing this morning. We had it outside so we get a chance to see your mittens, but that's not going to happen. I want to thank your staff as well for all their work with my team over the last several months. We have appreciated the strong partnership and collaboration on this important issue. It's also good to be here with Senator Ballant, just a day before going back into session, because one of the most important topics this year, I believe, will be how to support and grow our workforce. The five years I've been Governor and years before that, you've heard me talk about our demographic challenge, which has led to a shrinking workforce. The problem existed long before the pandemic, but COVID made it much, much worse. One sector that's been hit, especially hard, has been in health care and human services. And I don't need to tell you just how critical this workforce is, especially nurses. And I'm not just saying this because I'm married to one. But I've seen with my very own eyes the significant stress this sector has been under. With support from Senator Sanders and our congressional delegation, we've worked hard to stabilize it over the past two years. We've used funding to prop up hospitals, cover pandemic-related costs, issue hazard pay, and maintain staffing levels needed to support outbreaks in long-term care and residential facilities. Even though Vermont's nation-leading pandemic response has put us in a place where we have one of the lowest hospitalization rates in the nation today, and throughout the pandemic, the lack of staff has significantly contributed to the system being under stress. And because of our demographics, as people retire, we haven't been able to replace them fast enough.  As the senator said, we're here today because we're all committed to working together to address this issue. In my budget address later this month, I'll be putting forward initiatives to strengthen and support our existing health care workforce while also growing it. Already in budget adjustment, the budget adjustment that I proposed to the House appropriations in December, it includes nearly $18 million for training, recruitment, and retention for home and community-based providers. For the broader health care community, this week I'll also propose an additional investment of $15 million in the second budget adjustment for retention bonuses, grants to support employers in training and retaining new nurse graduates. It also includes funding to assist with recruiting and relocation of international nurses. Now, I know my team will not have all the answers, which is why working together is so important, and I look forward to our continued collaboration with Senator Sanders, the Speaker, Pro Tem, and other partners. I'm hopeful that this session we can take meaningful action on growing the overall workforce and train people in all levels of health care and to retain them in whatever way we can so that they're here and available to care for Vermonters. And with that, I'll turn it over to the Pro Tem, Senator Ballin. Good morning. I'm really happy to be here today with Senator Sanders and with the Governor. I'll be speaking on behalf of the Speaker, Jill Kowinsky, and myself. This is an issue that we both care a lot about and she wishes that she could join us this morning. We have all been impacted by this pandemic, but medical staff, particularly nurses, have been on the front lines for almost two years now, and they have provided critical care to keep us safe and healthy while often putting themselves at risk. And one of the things that the Speaker and I wanted to convey this morning is that, you know, speaking to Vermont nurses, we know that you have worked long, stressful hours day after day in health care settings across the state. And your jobs were always demanding, but this pandemic has stretched many of you to your limits. And there really are, there are no words to adequately describe our gratitude.  You keep Vermonters safe, you protect our families and communities, but you also enable businesses and schools to continue to do their important work. And in short, we'd be lost without you. What many Vermonters might not realize is that we have a nursing shortage that predates the pandemic. And like many other sectors across our economy, this global emergency has revealed starkly cracks in the system. We need more nurses in Vermont as the governor and Senator Sanders have already spoken to, and we have to be aggressive in addressing this shortage now. We need to do this for all Vermont communities because when we need medical care, we want to make sure that somebody is there to help us. And we know that many nurses right now are feeling really overwhelmed, working longer hours to cover staffing shortages. And we know it's not fair. And we know it's not sustainable. So this past year, the legislature in partnership with Governor Scott and using federal dollars that Senator Sanders, Senator Leahy and Congressman Welch were able to bring to the state. We worked with the Vermont State Colleges to make an unprecedented investment in higher ed. And we invested millions in supporting critical occupations, including nursing careers. Four million dollars went specifically into our nursing programs and almost 200 new students were able to take advantage of that and hundreds of other returning students. And nursing scholarships through VSAC were fully subscribed. And as as the senator and the governor both have said, it isn't acceptable that we have people who want to be nurses and are not able to get in the career pipeline. And I just want to say about a month and a half ago I was walking in my neighborhood in Brattleboro and a neighbor flagged me down and she said, I am so excited that I'm finally getting to do this thing that I wanted to do, which was to go to nursing school. And those are the kind of moments that legislators live for. And they don't happen very often. So you have to really, really relish them when you have the opportunity. So our nursing program investments that we've made together have been extremely popular and we have to continue to work with the colleges to increase the number of nursing slots available to prospective students. And we need to address the needs of students already in nursing programs to make sure that they can afford to complete the programs. And we have to make nursing careers financially viable for all Vermonters who want to pursue this important work. And I mean both younger students and also incumbent workers who may be looking for a career change, a meaningful career change. This work is vital. We must create clear pathways and provide financial assistance that will make a nursing career possible for thousands of Vermonters. So I have several nurses in my extended family and here's something that I know. This is not my quote, but we don't know who to attribute it to. It just knocks around in nursing circles, which is this.  It's my sincere hope that the legislature and the governor will continue to work together to meet this critical need. Thank you. Any questions? All right, you know, the bottom line is you are seeing the legislature, the congressional officers, the governor come together to address what is a crisis situation in Vermont. And I think we are all in agreement that it is absurd to be spending tens and tens of millions of dollars on traveling nurses and nurses. We respect them, but people who come into the state and then leave, while at the same time we have so many people who want to become nurses here in our own state, have become part of a long-term, sustainable work for us, and yet today we are incapable of educating those people. So I look forward to a wonderful partnership. This is a big issue, and I look forward to working with the governor and the legislature and the congressional delegation to make sure that we pull this off and that we create the kind of healthcare system and nursing system that this state desperately needs. Thank you all very much and happy new year.


submitted over to almost 250 offers and I still have the receipts in my folders if you know you want to see them and I don't wait he said he submitted 250 offers I just want you guys to hear that yeah he submitted 250 offers I mean I would I would send so many I would make mistakes realtors would look at them and say this is you're a fool what are you doing I'm not working with you leave me alone and that happened I find it on the realtor and realtors and investors have sometimes a contentious relationship so it's not always easy but I mean that's the stuff you got to overcome on the road and finally I was online on realtor.com and I saw a foreplex that I liked the guy was selling it for 75,000 and I was like sweet so you know I submitted an offer and it wasn't traditional financing it was I would give him a 10% down payment I would give him payments every month for 10 years and then at the end of the 10th year it would be a balloon payment and so he countered back his only catching point was he wanted 20,000 dollars that was his only thing he agreed to everything else he didn't want he didn't charge any interest on this loan it was 10 years my monthly payment was 350 dollars and it's four plex it's a four plex and uh you know we closed we signed off with that a line and that was sort of my crown jewel right there Eli you gotta go slow man you're going too fast say it right so you found a guy had a four plex for sale for 75,000 right and you offered to for him to finance it for you correct he was the bank and he was gonna be the bank to finance the deal that he was selling to you correct and then you were going to give him 10% down correct he negotiated 20 grand damage right but originally you offered him 10% down 10% down right okay which is 7,500 right and then you were going to pay some kind of interest whatever no no no I never offered interest never I hope you never offered interest that's the course you pay five grand to learn don't offer interest ever oh really okay so you don't offer interest no you just don't now if they ask for it then you know you give it to them okay so you said all right I'm gonna give you 10% down correct you finance it and I'll pay you this much a month correct and then I'll have a balloon payment in five years and 10 years oh 10 years okay even better so it's more manageable sure and he said okay fine just give me 20,000 correct correct and then the payment was 400 bucks I did the inspection the roof was a little shaky so I said you know instead of 400 a month I'll give you 350 a month and he said right he just wanted 20 grand he was in a jam store and he needed to get out so I was there to help oh man


Okay, I think I don't need a microphone here am I loud enough you understand me in the okay perfect Yeah, thanks for the introduction. My name is Harold. Yeah, I'm from Austria not Australia. Yeah That was a little misunderstanding And I'll talk about scaling PEP PHP web applications to get ready for the peak season I Need to turn that on and it's better I work at dinatrace as a technology strategist My my background is actually in databases and web development for many many years Besides that I like to do a lot of other things also Going caving down to mother earth exploring Uh, well scaling web applications, I'd like to focus more on Background and pre requirements for scaling rather than giving advice is how to scale directly because what I saw in the last years when I worked with projects mainly in terms of performance increasing is People had performance problems and when I asked them well, do you have any plans already? The answer that I got most times is yeah, well, we need to scale our infrastructure. We need more servers And they expected that everything's run running faster than well when we looked Deep into the system and analyzed what's actually happening there We saw that this was useless because the the server was was bored anyway had nothing to do so a lot of times it's like that The online shop was too slow and the expectation expectation was to scale the infrastructure to increase performance a Couple of words on performance versus scale ability to show the difference a little bit here. Well This is what we think about performance your power of strength Being fast being being strong a single Server a single Individual can be already very performance on the other hand this is scalability so when we have A Fast systems fast applications and we scale them we get more instances of that We get very powerful on the other hand. This is also scalability, right? but Yes, maybe we get less performance out of that, but still we have a scaled environment, so we have scaling here, but maybe not performance does performance matter at all and we heard a Couple of very interesting things with HTTP to now where we learned about Increasing performance with that and yes, definitely performance is relevant And performance has become more and more relevant over the years Back in those days when we when this was the Amazon website. I don't know if any of you guys remember that performance was more about Yes The internet is slow. Maybe I need a faster dial-up connection because this was more or less The real bottleneck back then well times have changed since then The environment the the entire Ecosystem looks different and especially in the last eight to ten years This has Changed dramatically a new digital customer has emerged out there mainly mobility Mobile devices and just a way of how we use the internet It used to be online shopping e-commerce For many years now the world is changing again. It's mainly used to find pokemons probably But in the Millennium generation in the new generation the the mobile device adoption is already 95% and especially here it's very relevant to have fast connections to have fast applications because 60% say that the most frustrating thing is a slow system or a not working system at all so when we get Responses back. Sorry. We are not available or whatever So on the one hand, it's about making the user happy because a happy user is a returning user a returning user is a Converting user is a user that's that's buying products in our online system. And this is actually what what we want to achieve in the end On the other hand, it's not just about making Users happy. It's also about making them happy Because what does Performance mean for Google Search engine optimization is a very important factor. There is already performance If you have a slow website, it will be indicated as slow in your performance in your Google search results and Up to now they are considering performance just for for Desktop environments, but Google is planning to extend that to mobile applications as well now So performance is becoming more and more relevant here. Yeah, and as I said, not only performance, but Another frustrating things for most of people is when we have systems out there that are not Available at all, but this is also a thing that we can cover with Scalability a couple of words later on that later So scalability is more than just performance. It's about creating a well-sized environment Ensuring high availability to not get sorry, we're not Available screens like before we already talked about high performance and to handle large number of transactions high concurrency a lot of Users Using our system, but not only in the operational Perspective but also to respond to feature requests if we have designed our system. Well, we can Respond much faster to new features and find and fix problems much faster But in a large environment where we have Probably not only PHP running, but other Technologies Java.net whatever there is out there as well databases. We have web servers load balancers Even browsers are becoming more and more relevant because more and more code is Running in the browser. We have the these single page apps that Just fetch code from them from the web server. So where should we start here? or What's the main the most important? Tier where we need to do our scaling well We are mainly here to talk about PHP so The bad news here is if we have different technologies PHP is definitely slower than Java PHP is becoming much faster With PHP 7 now, but still for instance Java would be a faster Technology on the other hand the good news is PHP is not the bottleneck So in most cases, it's not about Fixing performance problems in PHP directly maybe in the application But this is a matter of designing the application then it's not actually PHP. That's slow in an application Well the thing that we saw out there. That's the slowest Component most time is The page itself so And this is not a fake site actually. This is a site that was really once out there Online and actually It's still available on an archive site And when you when you load it you find out that the entire site takes more than two minutes to fully render Well, yeah overloaded pages and So if we have that bottleneck in our application It's no there's no requirement to do a scaling on the server side So we have probably other things to fix first. We have to prepare for our scaling so preparing For the scaling process means to break the application really into small components to have these components where we can find the bottleneck then and Start there with proper sizing with scaling. So on the one hand the front end With the browser the code and the browser not only the code But also the design as we saw before on the other hand then on the server side load balancers web servers caching servers application servers and the PHP engine on our case And maybe here not only the application server, but the application itself Breaking it down into smaller pieces in functionality microservices And for sure the database very important we will hear about that later then and create an environment with avoiding bottlenecks and Also reducing load for certain tiers only send load to certain components. That's really requirement That's really required there I'll give you an example we have a Web application we send an initial request to our web server Apache has mod PHP loaded and We sent back the html to the browser It's rendered there and in the next step. We send additional requests Still talking about HTTP one here. So a little different than in HTTP 2 but we sent new requests to the web server for our images for our JavaScript for our Style sheets and for every single request that we send to the web server We need to start a new process for Apache because it's a new request actually and even for requests for static content We have to load all the modules That are defined for Apache here So we have to load PHP engine for our images for our JavaScript for our style sheets And that's actually creating load on the server. That's not really necessary there. It overloads the server That could be done differently Well, you might say well, yes that the content we can use we have that in the cache anyway if it's designed properly yes, that's true, but note that cached content Like here in a in a magento environment. We see for the request we get the three or four not modified That still creates round trips and requests to the web server Because on the one hand we have the caching where the file is stored in the browser and uses an exploration date and after that date then the new request is sent to the server again, but A lot of caching logic is based on this conditional caching So what does it mean we send the browser sends a request to the web server? Using a hash The entity tag for the content of the file the web server checks whether the file has been changed or not and if the file is still the same the web server sends back a 304 only the HTTP header not an HTTP body and The content itself is taken from the cache in the browser, but we still create requests to the web server and For here that means for every single request even though it's cached we create a new process for Apache loading the PHP module so That could be done more efficiently for instance by using a technology like engine x here and only forwarding requests for PHP engine for PHP requests to the PHP engine fast process manager in that case and all the other requests are served in a very efficient way by the web server here by engine x and In the background here, we could even have multiple instances of PHP fast process manager running depending on the requirement so if we have a lot of PHP requests or Requests that require a lot of processing and the web server is easily able to handle that But we need more instances for PHP. We can do that easily in engine x by defining a load balancer here We have an upstream Allocation block for PHP by the way who is using engine x already not that many okay So for those who are using it you might already know that feature here for the others we define an upstream block where we send the request for PHP by fast CGI and in the upstream block we can define multiple servers and that creates A load balancer for us out of the box. That's a very cool feature here so What we have done here is we have a web server and we have already a Scaled environment. We have multiple PHP worker processes running here and we don't need multiple web servers just Because of like a patch is doing it. We have the module to be loaded in the web server Okay, so we have application. We have an application now We we have the web server. We have the application server We have multiple instances running here, but is there maybe a requirement to optimize our application first Because There is this philosophy that I've heard a lot of times for developers Don't focus on performance focus on functionality Performance can be optimized can be tuned later on but I don't agree with that. I always I'm a fan of doing my homework first and doing my work properly and then Trying to see what we can maybe improve more a good example or a good comparison that I always like to Do here is The with with mice so imagine we have a house We have a lot of mice and the requirement is we have to catch more mice because Our mouse catching performance is not good enough well Given situation is so far. We got two cats cat one cat two and In that example if we plan to scale our environment Horizontally here and we get ten of these cats. I think we are still not able to catch a single mouse here so First task before scaling is optimize the cat Make sure the cat is really able to catch your mouse efficiently and scale that cat but Focus always on what's needed don't don't over up don't over optimize. So really Focus on what's required and the 80 20 rule. I think is really a good rule here. So 20% of efforts can solve 80% of the problems and I think that's a good balance here a couple of examples that we had with Where we saw that where people tried to solve problems just by scaling without optimizing their code first is We had Performance bottleneck in a php application in a php environment where we saw that most of the time really was Spent here in the php tier By analyzing that in detail we identified three major bottlenecks on the one hand there was a less CCSS preprocessor on the other hand a social login module and slow php Execution because of a lot of compilation time. It's not that long. It's two years ago, but they were still using php 5.3 and so this was very easy sorted out they just updated to 5.6 and The the compilation problem was not there anymore and even the other two problems Were found pretty easy. So on the one hand most of the time of the response time was definitely spent in these less see Library They Did not recognize that before because they just installed it and and hoped that it would solve their problems with Style sheets. So let's see is a is a style sheet preprocessor, but the problem was they were using it in production environment, but in the development mode. So development mode means they always Reprocessed the the source files, which for sure caused a lot of response time and The other problem was with the the social login module they Had external calls to Social platforms that were not even activated in their environment. This was a bug with that module after that was fixed a actually most of the performance problems were already sorted out and Without doing that we they would have created a Horizontally scaled environment with that bottlenecks in but nothing would have become faster and Yeah, this is the third example with the compilation time for a PHP So in the end what they did after that By the way an online shop Magento online shop they had this small environment and Horizontally scaled In AWS by using a load balancer here The cool thing is in such an environment. You don't need to create a static Deployment here, but you can really react on on requirements of deployments are no longer static Traffic can be low in the morning can be high in the evening can be In a different region during the night so you could Start or shut down instances move Instances to new other availability zones that can be done very flexible in in AWS On the one hand by integrating Metrics directly from AWS, but you have also very cool features to create your own scripts and Use metrics from other monitoring tools where you measure response times for instance or request rates and Up-size or down-size your your environment in AWS That's what they did so they had an Sizing of ten Instances for PHP so a web server here then PHP instances some databases in the background and After It was last year in the peak season for before Christmas and they started a marketing campaign and upsized their environment and started We we had a screenshot here where they ran 48 instances and In the in the beginning everything seemed to be pretty okay law of instances traffic increased and then crash again But what we saw is it was not PHP anymore, but the problem was the database So what happened on the one hand we saw that for one single web request We had around four thousand database statements and Actually, that's not The worst number. I've seen here. We had examples with 20 30,000 database requests for one single web request So where did they come from? on the one hand we talked about that earlier the Entity attribute value System of magento that creates a lot of requests in the background where we when we access one single product on the other hand We saw that the the slow statements actually came from from a Different library with that was used within magento and this was the minify CSS library We had insert statements here that took 30 seconds and more Which makes obvious why? Single web requests crashed at all or and the system was not usable anymore The problem actually was that in their environment when they had Here the load balancer and all the PHP instances running They forgot about a database in the background the database was still designed for the ten instances now they had 50 instances a lot of Requests sent to the database overloaded database Connections became slow statements became slow then with the Update and insert logic in the minify CSS library. They had table locks and in the end the entire system Was not accessible anymore So for database access, it's very important to size the database To Not for the for the for the standard environment really but but for the peak database has To serve all the requests on the other hand To reduce connections and use reduce SQL statements In the example with the minify CSS so what they wanted to The goal that they had with the minify CSS was for sure to speed up the front end Well front end Got a little bit faster, but the back end became much slower. So Actually Cost and and revenue was not Well balanced here just by reducing that minify CSS library the number of SQL statements Got down to almost half the value of before and the system worked again and Especially for databases use caching a couple of words on caching caching is not equal caching, right? We already talked about client side caching a little bit with the That progressed that are still sent to the web server Now a little bit on server side caching Well server side caching itself would be a topic for 10 talks so I Focused just on One aspect here and this is using memcached in a in a PHP environment the requirement that I had is Is coming from from a mapping application so we have an application geographical information system that's using Open maps and this place certain data on the map Certain locations certain distributions of geographical data and in the original version actually all of that data was processed directly from the source data from survey data land survey and Displayed here on the map Well, that's very time intensive to Create that data out of the box always on the other hand It's not really necessary because on the one hand we have the source data on the other hand They are not changing regularly. So when we pre-process that and store it and Make the pre-processed data available for the for the front end that would speed up everything Significantly, and we did that with memcached. So we had a process A batch process running in the background that created a geojson file for the the relevant data and Stored that already with a given access key The key for the URL that's used By the web request and and use that to store it in a memcached server. So This was not done in a web request. This was really done in a background job and The logic to retrieve the data Can be done in engine X directly. We don't even need it don't even need PHP code for that so we define a location block for our get Geojson and Forward the request similar to what we did before where we forwarded the request to the PHP engine Before what the request to the memcached server As a fallback here if we don't find An entry for that key we can always forward the request to PHP to get a on the fly Processing for that data, but in general that should not be necessary So this can be done by engine X directly. We don't even need PHP code for that and Actually when we did that Even maybe before most of us knew about the term we already created our first microservice architecture so we really split off existing functionality from the big application and Created a Certain service for certain functionality and in that case if we have split this functionality in smaller services It's always easy to scale where it's important if we have a slow service We can work there. We don't need to touch the other thing if we have such a large environment with Browsers caching layers web servers applications databases There are a lot of tools out there where we can do proper monitoring. It's Especially in terms of performance very important that we also monitor that because we need to find out where it's slow To be able to react arm on the slow parts The problem with a lot of tools out there is if they are just in the browser just caching monitoring Just web server just PHP is that we cannot bring everything in a in a complete picture And this is where application performance management Finds its role with application performance management we really start at the user to see what the user is doing and already show Is the user satisfied or? Frustrated or is it is a user tolerating the request by considering response times by considering errors that we get and from the user We start following. What is the user doing? What is the user doing in the browser? What is a response time for a certain user action in the browser? And what does this finally trigger on the web server or in the application? So for instance a certain click in on a certain button in the browser causes this database statement causes that exception on the web server Not only seeing what the code is doing, but also We are finding out how Processes are performing how the web service doing how a PHP engine is doing how load balances are are performing what what is the database doing and Not only technical aspects, but also business relevant aspects. So for instance Some examples here from from magenta dashboards. It's then very easy to bring Revenues to bring conversion rates in direct Conjunction with performance with response times with errors. So if I have certain errors in a Certain browser or in a mobile device does this directly affect my revenue my conversion rate Yeah, well, that's it from my side. Thank you very much Questions That's actually a free version for for developers so no cost at all It's yeah, you can find a link here if you want to try it Here on my last page of the slides just downloaded install it Yes, I mean New Relic is one of our main competitors in the APM world just a couple of words maybe on the main difference is That especially for developers we have the benefit that we are not doing snapshots But we are capturing all transactions. So there's nothing you would miss you would see every transaction and Really from from the click in the browser down to the database. We in the newest version We even have an extension here to go into the database and show the execution plan for For the sequel statement and also go down on code level Yeah Certain tears in the application It's an agent-based technology. So for instance for PHP it's an extension that you load into the PHP engine and then we can Trace what the execution is doing there. That's different from technology to technology. So for for a patch. It's a module for for engine X. It's also a dynamic module that we load Even in engine X version that do not support dynamic modules, but we found a solution for that Yeah Yes, I believe yes, thank you Michael. Thank you Last speaker for tonight


Next question is from Mel Bell McBee 32. Wow, he's names today. Creative. What causes the small muscles in your upper back and rotator cuff not to strengthen resulting in shoulder pain? Okay, so shoulder pain can be quite common in people who get really strong with bench presses and overhead rows. And it's not necessarily because they got strong at the presses. It's because the supporting stabilizing muscles couldn't keep up with these big prime moving muscles, right? So you have muscles that stabilize your upper arm, your humerus bone, and they prevent it from twisting, right? So they keep it strong and stable. And then you have these big prime movers, your packs, your delts, your triceps, and those you're working directly by bench pressing and overhead pressing. And these stabilizer muscles, they are strengthening a bit, but over time these prime movers start to get so strong that these stabilizer muscles just can't keep up, you know? It's like putting a really, really powerful- Way too much torque. It is. It's like having a car with- That's the way to explain it right there. Totally. It's like having a car with a normal frame that normally has 150 horsepower, and then you put- That's right, you put a thousand horsepower engine in it. The frame is gonna twist. Yeah, exactly. If you don't stabilize the frame and strengthen the stability in the car, it's literally gonna twist the frame as soon as you hit the gas. To me, that's the best analogy for this question. It's exactly what Justin just said. It's like it is literally that. Like you can't- And you can't do that, by the way. If you don't know anything about cars, I know very little about cars. I know enough to know that. Like I can't take my Camaro and I can't turn it into a thousand horsepower engine just by itself. Like I could do that. You need to reinforce it though. But it would literally like it would rip apart. It would be so much horsepower that I wouldn't be reinforcing all the little things. You know, the suspension on it has to be able to do that. You have to be able to sway bars. You'd have to have all these things, the tires, the rear end, like all these other things have to be strong enough to support that much torque. And that's exactly what's going on here is you've built so much big muscle, right? So much horsepower that you're not we're focusing on all the other things that support it. You have to build up the supporting cast and that's, you know, it's just as essential. So maintaining the actual function of your shoulder is crucial. And the thing about the shoulder is it's ability to go through so many different ranges of motion is it almost seems endless. And so for people to just focus on what you're saying is mainly that sagittal plane and that overhand grip and everything is really building and developing, you know, this insane amount of strength in that direction.  And then boom, you're open for something to snap. Yeah, and, you know, here's something else that happens as a result of it. At some point, your body refuses to get stronger because you get to kind of a breaking point. So I've actually- Well, injury happens. Well, injury happens a lot.  Well, you've shared this, your story of the, your rotator cuff story. That's right, I remember years ago as a kid, remember when I was a kid, the exercise all guys compared was bench press. That was like the test of strength, right? So if you met another dude that lifted weights, How would you bench? You didn't ask him how much they squatted or deadlift or what it was always, how much can you bench? So it was like this real important exercise, right? So I, it was like one of my focuses was I got to get a really good bench press, right? Ego lifting. I was one of those guys. And I remember, I don't remember what the weight was I got stuck at, but I got stuck at a particular weight and I couldn't go up and I couldn't go up for the longest time. Couldn't figure out why I couldn't improve. And I was reading a, I don't remember what magazine it was. It must have been muscle and fitness or something. And in the back, in the very back, they always had these little ads for supplements or a new exercise machine or whatever. And I always loved reading the little ads because I always thought I'd discover some kind of secret back there. Like, oh, this is where I'm going to learn like something new, right? And I remember seeing this picture, I think it was called a shoulder horn. And it was this plastic device that went over someone's neck and then they put their arms over it and they would do what I know now to be external shoulder rotation.  Kinda, right?  This is so silly. Anyway, I talked to it, there it is. It's a shoulder horn rotator cuff is the name of the thing. Look at that guy's mullet. That's the exact picture. Is it really? Look at the guy's mullet. Obviously it's in the early 90s. Yeah, look at that. So I remember talking to, I think it was a friend of mine or a trainer and they said, oh yeah, if you strengthen these muscles, you're gonna be, your bench press will go up. So I didn't buy the shoulder horn. I just mimicked the exercise at the gym. I went to the gym, put my arm up on a bench, grabbed a dumbbell and I remember feeling so unstable. I had like a five pound dumbbell and I rotated in and I remember thinking, oh, my shoulder, this does not feel good. I thought, this is interesting. So I did that and within a week, my bench press went up 10 pounds. Like within a week because I strengthened these muscles that needed to get stronger and they were holding me back. And that's when I learned that these are important areas to strengthen and even if you just wanna get stronger in the gym, you gotta work on mobility and stability because those will get in your way. They'll prevent you from losing. An easy way to do that is, this is why I love like the stuff that Justin likes to talk about. Like what's neat about unconventional training is it challenges a lot of those types of muscles. And that's what makes it so beneficial and that's why it should be in everybody's routine. So you don't have to go get a shoulder horn and do some direct exercise just for your rotator cuff. You can do a kettlebell swing or you can do a macebell swing that incorporates that. So you get this exercise that's gonna strengthen it and has other benefits too. That's what's neat about incorporating unconventional training is you as a, you know, as a byproduct, you do that also. That's why it's so great. It really should get beyond unconventional.  If you're not, then you're not building up your supporting cast properly. And I actually respect people out there like a Chris Duffin who he came up with like the shoulder rock. And so it's very similar to a macebell.  Yeah, if you're a muscular, strong person at the gym and you find that when you go through the baseball around with your kid or Frisbee at the beach and you find that your shoulders sore, the next day, even though you're really strong and fit, it's because you need to strengthen and work on this supporting cast of muscles. You can also, if you wanna learn some of the stuff that we did, Adam taught a class, you go to primeprowebinar.com and there is a specific shoulder mobility movement in there that is way better than like even shoulder horn or isolated shoulder, external rotation exercises. Hand cuff with a rotation. Hand cuff or do something like that and do it right and you'll get a lot out of that in terms of shoulder stability. And it is a free class. So you just go on there and watch it.


Hey guys welcome back to Come Again TV the only place on YouTube we're all geek culture collides I'm Shannon and today on the show we're taking a look at the jaded toys back to the future to Time Machine. This of course is for ages eight and up it is completely die cast I've already removed the screw at the bottom that holds it on so whenever I rotate it around you will see it move around a little bit before we open the box. So there's a nice look at the back of the box let's go let's scoot it back a little bit so you can see very nice look of the Time Machine of course this is a Hollywood Hollywood rides from Jada toys there's the side there's the other side now let's go ahead and open the box and take a look at the DeLorean Time Machine and here we have it out of the box and this looks really nice guys as you can see it rolls really nice the detail on this is amazing you've got the mr. fusion in the back here got nice nice attention to detail the tires are rubber and as you can see they glide really nice there's a look at the back even got the license plate pretty perfect the barcode style license plate there here's a look at the other side look at the front and as you can see this is does have the transparent windshield on it not the black windshield that most fans actually like and the doors do not have any windows in them at all you can put your finger in there there is no window to them or well no window glass plastic whatever you want to call it but the doors do open up just like the standard the regular DeLorean Time Machine all right and now it's time for some comparisons here we have the ecto one from the Jada Hollywood rides and mine's a little dusty I have to clean it off so I apologize for that but as you can see they're pretty much the same size just about the ecto one I feel should have been made bigger because obviously a DeLorean is not going to be the same size as a Cadillac Hurst it just isn't but you know they had to make it worth the price in fact it looks like the DeLorean is much bigger than the ecto one at least the hood anyway as you can see here it's a lot wider and it's actually length wise because of the boosters on the back it is about the same length but it is quite a bit wider and taller I guess it's not so much taller it just kind of looks taller from the front so anyway there's that and now let's bring in a few other DeLoreans we got the playmates DeLorean here we've got the time machine 2 from Hot Wheels and we've got the hover conversion DeLorean from Back to the Future 2 from the Jada Minis so there you have the Jada Hollywood rides diecast DeLorean time machine from Back to the Future 2 great addition to my DeLorean collection I love Back to the Future I love Back to the Future 2 and Back to the Future 3 the only improvement they could have made on this DeLorean is giving it the hover conversion that the playmates toys if I can get it that the playmates toys DeLorean time machine has one of the wheels is stuck it's not wanting to there we go like that that would have been nice but I can understand they they want to do simplified they have standard bars metal bars for the all the wheels of all their vehicles so I can understand why they wouldn't have wanted to make something special for hover conversion for the DeLorean so anyway guys I hope you enjoyed this video I've been Shane and this been Comic NTV the only place on YouTube where all geek culture collides take care geeks if you enjoyed that video make sure you hit the subscribe button right there so you stay up to date on all things geek culture also go ahead and check out one of these two playlists on the side for more videos just like the one you just watched I'm Shane and for Comic NTV the only place on YouTube where all geek culture collides take care geeks