<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jawad on Medium]]></title>
        <description><![CDATA[Stories by Jawad on Medium]]></description>
        <link>https://medium.com/@jawad.k.cheema?source=rss-a5d85121fdca------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Jawad on Medium</title>
            <link>https://medium.com/@jawad.k.cheema?source=rss-a5d85121fdca------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 10:43:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jawad.k.cheema/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Are We Aware of Our Digital Dependence — or Are We Ignoring It?]]></title>
            <link>https://medium.com/@jawad.k.cheema/are-we-aware-of-our-digital-dependence-or-are-we-ignoring-it-82b1d539489e?source=rss-a5d85121fdca------2</link>
            <guid isPermaLink="false">https://medium.com/p/82b1d539489e</guid>
            <category><![CDATA[sovereignty-risk]]></category>
            <category><![CDATA[platform-control]]></category>
            <category><![CDATA[digital-independence]]></category>
            <category><![CDATA[financial-risk]]></category>
            <category><![CDATA[ethical-technology]]></category>
            <dc:creator><![CDATA[Jawad]]></dc:creator>
            <pubDate>Sun, 15 Feb 2026 14:26:05 GMT</pubDate>
            <atom:updated>2026-02-15T14:26:05.797Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>In the name of Allah, the Most Beneficent, the Most Merciful.</strong></p><p>As-Salam-o-Alaikum and greetings to all.</p><p>May Allah allow me to convey what is true and beneficial, protect us from any harm in my words, and guide us toward clarity in these difficult times. Ameen.</p><p>Today, we must honestly ask ourselves: are we underestimating how deeply dependent we have become on digital systems controlled by others? If we recognize this reality, why are we not taking urgent measures?</p><p>We have already witnessed how social media platforms are openly used as tools of war, influence and power. This is no longer hidden. For example, Netanyahu reportedly described TikTok as “the most important purchase going on right now,” and referred to X and Elon Musk by saying, “He’s not an enemy, he’s a friend.”</p><ul><li><a href="https://www.aa.com.tr/en/middle-east/netanyahu-admits-using-social-media-as-weapon-to-influence-us-opinion-amid-gaza-genocide/3700646">https://www.aa.com.tr/en/middle-east/netanyahu-admits-using-social-media-as-weapon-to-influence-us-opinion-amid-gaza-genocide/3700646</a></li></ul><p>More recently, platform-level actions became highly visible, including bans and content moderation decisions that triggered backlash and boycott discussions in the U.S., including censorship related to Bisan Owda and ICE-related content.</p><ul><li><a href="https://www.aljazeera.com/news/2026/1/29/whats-upscrolled-the-app-gaining-popularity-after-tiktoks-us-takeover">https://www.aljazeera.com/news/2026/1/29/whats-upscrolled-the-app-gaining-popularity-after-tiktoks-us-takeover</a></li></ul><p>Fortunately, a platform called UpScrolled, a social media application created by Palestinian-Jordanian-Australian entrepreneur Issam Hijazi, gained momentum — described as something “Born from Resistance, Built for Digital Sovereignty.”</p><ul><li><a href="https://newsroom.upscrolled.com/blog-posts/view/5915/upscrolled-born-from-resistance-built-for-digital-sovereignty">https://newsroom.upscrolled.com/blog-posts/view/5915/upscrolled-born-from-resistance-built-for-digital-sovereignty</a></li></ul><p>However, building alternatives alone is not simple. The app was later suspended from Google Play:</p><ul><li><a href="https://newsroom.upscrolled.com/blog-posts/view/5919/update-upscrolled-suspended-from-google-play">https://newsroom.upscrolled.com/blog-posts/view/5919/update-upscrolled-suspended-from-google-play</a></li></ul><p>Although it appears to have been restored, the larger concern remains: how much influence can centralized platforms exert over emerging alternatives? And what does that mean for long-term digital independence?</p><h3>Beyond Social Media: Financial and Transactional Control</h3><p>Our reliance on centralized technology is not limited to communication. It extends to financial systems, transactions, and even basic economic survival.</p><p>There are reports highlighting how, in Gaza, the disappearance of paper money and coins has forced people into barter systems due to digital and banking constraints. This illustrates how quickly access to economic systems can change.</p><ul><li><a href="https://www.linkedin.com/posts/mohammed-aabed_you-cant-buy-a-bottle-of-water-in-gaza-without-activity-7408470476420931584-dUyA/">https://www.linkedin.com/posts/mohammed-aabed_you-cant-buy-a-bottle-of-water-in-gaza-without-activity-7408470476420931584-dUyA/</a></li></ul><p>The broader argument presented in the following post suggests that such precedents do not remain isolated — policies and methods tested in one place can influence global norms:</p><ul><li><a href="https://www.linkedin.com/posts/mohammed-aabed_when-they-starved-2-million-people-and-called-activity-7413243676505800704-er9E/">https://www.linkedin.com/posts/mohammed-aabed_when-they-starved-2-million-people-and-called-activity-7413243676505800704-er9E/</a></li></ul><p>Whether one agrees fully or partially, the key question is this: are we prepared for a future where access to platforms, payments, or services can be restricted overnight?</p><h3>So What Is the Solution?</h3><p>Honestly, I do not claim to have a complete answer.</p><p>But as a technologist, I believe we must begin with three practical steps:</p><ol><li><strong>Come together as a collective.</strong><br> Communities, developers, educators, and business leaders must collaborate rather than operate in isolation.</li><li><strong>Re-evaluate our technological needs.</strong><br> Not every innovation is progress. We must simplify, optimize, and reduce unnecessary dependence.</li><li><strong>Gradually divest where possible and build ethical alternatives.</strong><br> Where reliance is risky, we should invest in open, transparent, community-driven systems rooted in strong ethical values.</li></ol><p>This does not mean rejecting technology. It means being intentional about what benefit it brings to humanity, who controls it, how it is governed, and how resilient it is.</p><p>May Allah grant us wisdom, courage, and balance. May He protect us from fear of creation and strengthen our trust in Him alone. May He guide us to act responsibly for our generation and those that follow.</p><p>If you or someone you know is building solutions aligned with digital sovereignty, open systems, or ethical infrastructure, please connect.</p><p>By Allah’s mercy, we have been working toward open-source DevTech, infrastructure, and EdTech solutions. If this path is good for us, may He keep us firm upon it. If not, may He redirect us to what is better. And may He place contentment in our hearts with whatever He chooses for us.</p><p>May our generations continue striving for success in this life and the next.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82b1d539489e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 ways that can help tackle skill shortage in Tech-based companies of Pakistan]]></title>
            <link>https://medium.com/questra-digital/3-ways-that-can-help-tackle-skill-shortage-in-tech-based-companies-of-pakistan-812043897a0c?source=rss-a5d85121fdca------2</link>
            <guid isPermaLink="false">https://medium.com/p/812043897a0c</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[flexible-work]]></category>
            <category><![CDATA[skill-shortage]]></category>
            <category><![CDATA[collaboration]]></category>
            <category><![CDATA[student-project]]></category>
            <dc:creator><![CDATA[Jawad]]></dc:creator>
            <pubDate>Sun, 27 Mar 2022 16:24:41 GMT</pubDate>
            <atom:updated>2022-03-27T16:24:41.483Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ</em></blockquote><blockquote>“In the name of Allah, the Most Gracious, the Most Merciful.”</blockquote><p>In the past few months, I have met a few people and attended a few events, and one thing that constantly comes up is the skill shortage in the tech echo system of Pakistan. I think It’s not something new. It has always been the case for different career opportunities at other times in history (History repeats itself). Currently, it’s more relevant for non-development roles like (Product Owners, Cloud architects, DevOps, SMEs, Game development, Data Analytics, QA, etc.).</p><p>I am also pleased to see how organisations focus on skill development programs to train juniors, fresh graduates, and other enthusiasts to fill in the gap. Most of these programs are teaching people more than their own needs, so, InshaAllah, it will be helpful for the whole community.</p><p>However, I think the shortage of skilled resources will continue to increase because of following few significant reasons:</p><ol><li>The increasing startup culture in Pakistan will open new horizons and skill needs. And, in most cases, we fail to anticipate and prepare ourselves for the requirements to come.</li><li>Skill shortage is also a global issue, and therefore, the outflow of skilled resources will continue to grow. The rising startups in Pakistan and associated investment is helping a bit in reverse flow. But I don’t have any stats to say how things have changed proportionally.</li><li>The remote job opportunities from junior levels to C-levels are constantly growing worldwide. And, just like startup culture, the global community will start exploring more remote employees in Pakistan (and not just for software engineers). Currently, Pakistanis are a bit reluctant as they feel remote jobs are like freelancing, but that perception is also changing.</li><li>Career switches in constant intervals have become necessary because of ever-changing technologies/practices/personal needs/financial needs/etc.</li><li>For students of different degree programs (Like CS, CE, EE), the only career opportunity they see is web/mobile development. They are not typically aware of other career opportunities that align more with their skill set. I can say this about the mentioned degree programs because I teach courses in these degree programs. But I think we can say the same for other degree programs. Therefore, they only prepare themselves for limited job opportunities. (How ironic. Things have changed a lot, but the problem is still similar as in our generations)</li></ol><p>I think it’s not just these but multiple others too. I would like to propose a few possible solutions that, in my experience, have worked out in different ways.</p><p>Again, I think there are multiple possible solutions to resolving the skill shortage issue while considering above mentioned problems; and many organisations are already applying some. But, I want to highlight only the following three solutions as (I feel) they are mostly overlooked or ignored for multiple reasons.</p><h3>Introducing flexible employment options</h3><p>I know how important it is to have in-house, on-site, and fully dedicated team members. Still, I think it’s more important to constantly move forward by filling the skill gap rather than waiting for the right dedicated candidate and struggling while waiting. So, companies should start proactively looking for and posting different flexible employment options, like:</p><ul><li><strong>Part-time permanent employees: </strong>Employers can offer employment contracts similar to full-time employees with similar benefits and career growth options. These employment contracts will differ from freelancer/consultants/contractual employees because employees’ personal growth also gets associated with the company’s growth. Whereas employers can involve these employees more openly. These contracts can help attract more skilled people for senior positions. Especially those that were reluctant to switch careers because of associated risks or those that want to pursue their own goals if companies offer some flexibility.</li><li><strong>Fully-remote options:</strong> By fully remote, I mean where you don’t even have to visit office locations once for work or team bonding. Though they can join some casual events arranged by companies. Employers need to start looking into remote possibilities even within Pakistan to meet needs by hiring people from Cities/Towns other than major Cities. There is a talent pool that cannot move to major cities and therefore is lost because they don’t have opportunities. It can, later on, be extended to hiring from other countries as well. BTW, fully-remote job opportunities can even be an attraction for skilled resources within major cities.</li><li><strong>Freelance/Consultant contracts:</strong> I think I don’t need to say much about it as it’s already common. Infect, for software solutions, I usually am not in favour of this because defining the SOW for the contract is time-consuming, and employers’ needs constantly change too. So, I would only recommend this if you have particular well-defined, limited-time needs. Having said that, the most important is to continue moving forward, so always keep this option open.</li></ul><h4>How to get started</h4><p>Yes, I know, it’s easier said than done. But we need to start adopting these if we want to be ready for future needs where the global village is becoming more global and competitive.</p><p>I think the biggest hurdle is trust issues and the lack of management skills of flexible employees. Therefore, I would recommend a three-step approach:</p><ul><li>Start with your most trusted, disciplined, and skilled employees</li><li>Align your company culture, policies, tools, and techniques</li><li>Move more new and existing employees on flexible employment</li></ul><h3>Collaborating on common needs</h3><p>Many tech-based organisations/startups have common needs, and therefore, they can work together to solve these common problems. I think a lot of collaborative efforts, knowledge sharing are happening. Therefore, I am only going to mention a few points that can help increase the collaboration:</p><ul><li><strong>Making your problems more public</strong>: I think we are always happy to share our success stories, but we fail to share our failures or struggles. If you make your problems more public, someone who has the solution or others facing the same problem can collaborate.</li><li><strong>Making your solutions more public:</strong> If you have solved a problem and feel it may be helpful for someone else, then open-source those solutions. It can include components, libraries, micro-services, hiring process, onboarding process, policies, etc. It will not only just help others, but it can help you improve as you can build a community around those solutions.</li><li><strong>Share your skilled team-members:</strong> I think it’s also an obligation of the employer towards employees to help them constantly grow. And what better way is to help them increase their experience beyond what’s required in your company. Therefore, share your skilled resources to help other organisations tackle similar problems. It is not like you start providing consultancy services. It’s more like you give flexibility to your employees and help them find opportunities to solve similar problems at multiple places.</li></ul><h4>How to get started</h4><p>I think it’s pretty simple, just start publishing your knowledge and experiences.</p><p>Other things that are also required</p><ul><li>Bring some cultural changes like helping your team members publish content, redefining policies about intellectual property, etc.</li><li>Invest money/time/effort into building and sponsoring communities for open-source knowledge</li><li>I would also recommend having public web pages similar to career page that lists problems you are trying to solve, possible future needs, list of skilled resources.</li></ul><h3>Close collaboration with educational institutes</h3><p>One of the essential aspects for resolving future issues is to invest in future generations. It applies to skill shortage issues as well.</p><p>Again, a lot of effort is being made through training courses available for students and fresh graduates. So I am just going to focus on project-based learning.</p><ul><li><strong>Industry-driven and sponsored student projects:</strong> Companies should invest time, money, and effort to anticipate the skills they would need in the future (near and far). Then plan projects that can help them prepare for those needs. These projects should then be assigned as Student projects. Assign your employees as mentors and define clear Goals, OKRs, and KPIs. These projects will help future generations and improve the skills of your current employees who are managing those projects.</li><li><strong>Involving and mentoring the faculty:</strong> We have highly skilled faculty members across different universities. However, due to the isolated environment of industry and education, they are typically not much aware of the companies’ current practices, principles, and needs. Therefore, companies need to involve faculty members in their projects. So that they can stay more clear with current and future needs; and align their courses accordingly.</li></ul><h4>How to get started</h4><p>Companies can take the following steps:</p><ul><li>Connect with a few faculty members</li><li>Allocate members from different departments to connect with respective faculty members</li><li>Departments should identify their future needs and translate them into small projects</li><li>Plan and mentor those projects in collaboration with faculty members</li><li>Measure against business goals and OKRs using defined KPIs</li></ul><h3>Conclusion</h3><p>I think the skill shortage for tech-based companies will remain and may continue to grow unless we adopt. To minimise the problem, we can offer flexible employment models; open-source our problems and solutions for better collaboration; and invest in industry-driven students projects through collaboration with faculty members.<br>In other words, we need to change ourselves to be more proactive, build a more flexible culture, and help others succeed during our journey towards success.</p><p>The context for the below narration is different but sharing it as an inspiration for how learning and teaching good knowledge is more valuable than just praying and supplicating.</p><blockquote><em>‘Abdallah b. ‘Amr told of God’s messenger coming upon two groups in his mosque and saying, “They are both engaged in what is good, but one of them is superior to the other. These ones are praying and supplicating God who, if He wills, may answer their prayers but, if He wills, may refuse them. Those ones are learning knowledge* and teaching the ignorant, so they are superior. I was sent only as a teacher.” He then sat down among them.</em></blockquote><blockquote><em>Darimi transmitted it. *The text has al-fiqh au al-’ilm, fiqh and ‘ilm having the same meaning, but the transmitter of the tradition was not sure which word was used by the Prophet (ﷺ) on this occasion.</em></blockquote><blockquote><em>وَعَنْ عَبْدِ اللَّهِ بْنِ عَمْرٍو أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَرَّ بِمَجْلِسَيْنِ فِي مَسْجِدِهِ فَقَالَ: «كِلَاهُمَا عَلَى خَيْرٍ وَأَحَدُهُمَا أَفْضَلُ مِنْ صَاحِبِهِ أَمَّا هَؤُلَاءِ فَيَدْعُونَ اللَّهَ وَيَرْغَبُونَ إِلَيْهِ فَإِنْ شَاءَ أَعْطَاهُمْ وَإِنْ شَاءَ مَنَعَهُمْ. وَأَمَّا هَؤُلَاءِ فَيَتَعَلَّمُونَ الْفِقْهَ أَوِ الْعِلْمَ وَيُعَلِّمُونَ الْجَاهِلَ فَهُمْ أَفْضَلُ وَإِنَّمَا بُعِثْتُ مُعَلِّمًا» ثمَّ جلس فيهم. رَوَاهُ الدَّارمِيّ</em></blockquote><blockquote><em>REFERENCE: Mishkat al-Masabih 257<br>In-book reference: Mishkat al-Masabih Book 2 Chapter 1c Hadith 9</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=812043897a0c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/questra-digital/3-ways-that-can-help-tackle-skill-shortage-in-tech-based-companies-of-pakistan-812043897a0c">3 ways that can help tackle skill shortage in Tech-based companies of Pakistan</a> was originally published in <a href="https://medium.com/questra-digital">Questra Digital</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Collaborative and practical approach of continuous learning for senior tech professional]]></title>
            <link>https://medium.com/questra-digital/collaborative-and-practical-approach-of-continuous-learning-for-senior-tech-professional-5a2ff49acebf?source=rss-a5d85121fdca------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a2ff49acebf</guid>
            <category><![CDATA[knowledge-sharing]]></category>
            <category><![CDATA[practical-learning]]></category>
            <category><![CDATA[collaborative-learning]]></category>
            <category><![CDATA[continuous-learning]]></category>
            <category><![CDATA[professional-development]]></category>
            <dc:creator><![CDATA[Jawad]]></dc:creator>
            <pubDate>Sat, 22 Jan 2022 10:04:40 GMT</pubDate>
            <atom:updated>2022-01-22T10:04:40.760Z</atom:updated>
            <content:encoded><![CDATA[<h3>A collaborative and practical approach of continuous learning for senior tech professional</h3><blockquote><em>بِسْمِ اللهِ الرَّحْمٰنِ الرَّحِيْمِ</em></blockquote><blockquote>“In the name of <a href="https://en.wikipedia.org/wiki/God_in_Islam">Allah</a>, the Most Gracious, the Most Merciful.”</blockquote><p>We constantly need to learn new skills to deliver our tasks in tech. However, learning needs do not stop there. We often face the need to develop new skills that are not yet required from us in our current job but will help us grow further in our career, like</p><ul><li>Skills to take more responsibilities in your current role</li><li>Skills to climb up in career ladder</li><li>Skills to switch to a different career path</li><li>An extra set of skills that are required for a similar position when changing jobs</li></ul><p><strong>In this post, I will share a few steps that have helped me in many different ways to prepare for a new opportunity and its challenges.</strong> As an example, I was able to</p><ul><li>Improve my test automation skill beyond the tools that I have used or learned personally</li><li>Enhance my understanding of Scrum and Kanban by applying minor variations each time</li><li>Develop some basic skills for managing a remote team</li><li>Enhance skills of coaching team members to better align with their strengths and ambitions</li><li>Learn Kubernetes, GCP, AWS, DO, Gitlab CI/CD, etc. to help me take over DevOps Projects along with QA projects</li><li>Understand a bit of graphic designing process and assets management. Though, I did not learn graphic designing. :)</li></ul><p>Along the way, I am going to address the following different problems that one faces while learning beyond their current role:</p><ul><li>There is a lot to learn, and I am unsure what to choose.</li><li>I have read about a new skill and taken some related courses, but I still do not feel confident as I lack practical experience.</li><li>I can improve my technical skills alone, but how can I practice my people skills (like communication, management, coaching, conflict resolution, etc.)</li></ul><blockquote>The best part of this learning method is that it provides experimental grounds with more real-life situations. Still, you don’t have to be afraid of failing because these projects do not significantly impact. So learn from your failures (I think, the most practical way of learning :) )</blockquote><p>Along with my job, I started teaching at universities and offering some internship programs to current students and fresh graduates. Initially, I started this to share some knowledge, get the chance to learn a bit, and experiment with some software solution ideas. <strong>However, at that time, I did not expect it to become the most effective way of learning for me.</strong> Here is the highlight of the steps that helped me improve my skills.</p><figure><img alt="Collaborative and practical approach of continuous learning for senior tech professional" src="https://cdn-images-1.medium.com/max/960/1*RFG73PHCnCXNpVn6ZY1a1Q.png" /><figcaption><strong>A collaborative and practical approach of continuous learning for senior tech professionals (Template credits S</strong><a href="http://bit.ly/2PfT4lq"><strong>lidesgo</strong></a> and <a href="https://bit.ly/2AB5gGa"><strong>Freepik</strong></a><strong>)</strong></figcaption></figure><h4>Identify skills to learn</h4><p>You may never be sure what skill will be essential for you in the upcoming opportunities. And picking just one may not prove fruitful because the opportunity for that may not come your way, or it was not the right one for you based on your strengths, or you may miss many other options because you focused on limited options.</p><p>Therefore, based on the following points, identify and categorize multiple skills for yourself to learn.</p><ul><li>List the skills based on your current knowledge that might be helpful to you.</li><li>Explore different job posts to identify the skills required based on your next career plan(s).</li><li>Explore profiles of different people to identify the skills one might need.</li><li>Join different groups and discussions to explore new tools, frameworks, processes, etc.</li><li>Score each skill based on the learning curve for you, your interest, probability of getting an opportunity, and future potential demand of the craft.</li><li>Prioritize the skills based on the combined scoring for each skill</li><li>Select the skills that you feel you can combine and manage in a single project, and you can connect with some students with interest in those skill sets (I will discuss both points in the following steps)</li><li>Feel free to select a sufficiently wide range of skills. Even the skills that you don’t want to be hands-on but feel you should know to perform better in future</li></ul><p><strong><em>For example,</em></strong> I learned more automation tools, cloud technologies, cloud-native architectures, different development frameworks, agile implementation, remote team management, improving communication and confidence, understanding graphic designing and UI/UX, etc.</p><blockquote>AC: As we are interested in continuous learning, don’t get stuck in this stage and move on to the next steps when you feel you understand what set of skills you should start with.</blockquote><h4>Explore learning opportunities</h4><p>Typically when someone wants to learn something new, they immediately start with some course or youtube playlist. I think, one should explore to identify different resources like courses, books, online material, open-source projects, discussion platforms (forums, chat groups, GitHub issue list, etc.), certifications, certification course outlines, domain experts profiles, etc.</p><p>This early exploration helps me consolidate a very high-level understanding but a broad context to find a more suitable path for myself to learn that skill.</p><p>One can also explore any related projects in your current company for learning purposes only (respect and protect IP of your employer and its clients)</p><p><strong><em>For example, </em></strong>while exploring for K8s at an early stage, I identified that I could deploy an instance of GitLab using available helm charts on a K8s. This idea was helpful for me to move on and later learn multiple skills through this project.</p><blockquote>AC: The purpose of this step is only to familiarise yourself with the skill, identify possible ways to learn, and where to look for help when you need it. So again, move on once you have a good concept to help you with the next steps.</blockquote><h4>Plan for a single project</h4><p>For me, project-based learning is the most effective because it’s filled with the thrill of failing, getting stuck, and succeeding. Whereas learning through a course typically goes smooth until you start using that knowledge in your job :)</p><p>At this stage, you need to identify a project that can help you learn the identified skills together in a way that is best aligned with your current skills. Following pointers can be helpful.</p><ul><li>The project should be big enough to learn and experiment with those skills.</li><li>It should not be bigger than what you can manage with your current skills, available time, and other resources (people, finances, etc.)</li><li>Do not over-complicate this from the start.</li><li>The project itself should have sufficient interest for you so that you can still retain interest when you face problems.</li><li>It can be something that you plan to create as your product. But then I think your focus will shift from learning to the product itself. So, I think you can work on small projects that focus on learning for now but may be helpful in your product.</li></ul><p><strong><em>For example, </em></strong>hosting and managing own GitLab instance on K8s, hosting and managing Odoo on GCP, migrating Odoo to DO, developing task-based learning for students and fresh graduates, on-premise K8s setup, etc.</p><blockquote>AC: Once you have a project and a good idea of the components, skills, and technologies involved in that project, then move on. A detailed plan is not required at this stage because it would depend on the type of team you can create.</blockquote><h4>Create a Team</h4><p>Typically when people are doing project-based learning, they mainly tackle a project independently. This independent approach again limits you to the number of skills you can learn on your own. Therefore, I recommend developing a team. I have seen people build teams in different ways, like</p><ul><li>Create a team of professional people within your organization</li><li>Create a team of like-minded people or friends</li><li>Create a team of entry-level people like current students or fresh graduates looking for an entry into a career based on one of the skills you want to learn.</li></ul><p>My practice and this blog are based on the third option. Therefore I will focus on this only. Following are the few advantages that I feel</p><ul><li>You can help people start their careers or get a head start if they are still students.</li><li>You can not skip learning what they have learned/explored for you because you need to help them to the next steps or even some troubleshooting during their learning.</li><li>You can get focused time from them compared to a team of professionals.</li></ul><p>Here are a few points to consider while creating the team.</p><ul><li>Help them fully understand what to expect from this opportunity by explaining the following points. How much will you be able to guide them? How much will they have to explore on their own? What can you offer in return for their efforts (some knowledge, some financial benefits, or a reasonable salary)? What alternates might they have to achieve similar outcomes? They may not fully understand at the start, so you should discuss these points frequently.</li><li>Be clear on what you expect from them, i.e., the amount of time, the commitment level, the expected duration, etc. Young people are zealous, and therefore you need to help them make realistic commitments based on their other obligations.</li><li>For advanced level skills you want to learn, you will have to develop a learning plan for the team members to get them up-to-speed before they can contribute. These learning plans need to focus on the task/technology you want to explore.</li><li>It would be best if you were vigilant to avoid wasting your and their time during a project.</li><li>One of the most important is to have one quick learner in the team who can help people during the initial learning phases.</li><li>Start with finding a team for the skill that you feel more comfortable with to familiarise yourself with the concerns of this approach.</li></ul><p><strong><em>For example,</em></strong> I gave a few well-performing students internships after their sixth semester. They had some basic web development knowledge. So I helped them refresh on basics, and later we learned React, Gatsby, Storybooks, JUnit, etc. In another case, I helped some Computer science fresh graduates to explore some fields they were interested in but not sure if it would work out for them, like QA or graphic design. They helped me explore different test automation frameworks and graphic designing processes.</p><blockquote>AC: Once you have identified any person who wants to learn the same skill as your interest, then develop a mutual understanding of the outcomes. Also, make sure that at least one person in the team is a quick learner.</blockquote><h4>Plan and Execute the project</h4><p>I would not add too much to this but would say that follow any agile-based approach that would work for you based on the team’s skills and size.</p><p><strong><em>For example, </em></strong>I have primarily used the Kanban approach using Trello. But sometimes have experimented with other tools like asana and click up. Sometimes have used Scrum with JIRA as well.</p><blockquote>AC: Follow any approach that can help you move forward. Make sure everyone involved is getting some benefits. Keep moving as long as it’s comfortable with all the parties involved. The project should help you get more skills added to your arsenal while assisting others in getting started in their careers.</blockquote><h4>Bring that knowledge in to Practice</h4><p>Once you have completed a few projects, you will feel confident enough to bring these skills into practice in your current job role. You may even start getting the opportunities to suggest and help introduce these in your current organization.</p><h4>Some benefits</h4><ul><li>It helps you develop a consistent learning habit and keep you in your learning &amp; growth zone</li><li>Collaborative learning, especially involving students, is essential for developing countries like Pakistan</li><li>Constantly giving back to society by helping other beginner levels</li><li>The more you learn and teach, the faster your learning will become</li><li>Get hands-on experience and face many near real-life hurdles/problems while doing so</li><li>Learn more than one skill in parallel</li><li>Be able to explore more opportunities and understand which skills are more suitable for you</li><li>No fear of anyone blaming/criticizing you if you run into any failures :)</li></ul><h4>Some Concerns</h4><ul><li>Is it the most effective way of learning? I don’t know. But it has been effective for me.</li><li>Is it easier and more accessible than other learning methods? No. But, I believe it is one of those that help build a strong base.</li><li>Is it helpful for your learning of real-time situations? No. It’s slow and filled with uncertainties. Therefore cannot be used for your immediate learning needs.</li><li>Is it time-consuming? Yes, but if you think about preparing yourself for a few years in the future. I guess time is what you have.</li><li>What has been the typical period for one project for me? Mostly 3–6 months.</li><li>Is it for junior professionals? No, It’s mostly for senior professionals. Especially when they start to get in their comfort zones.</li></ul><h3>Conclusion</h3><p>In the blog, we discussed a learning approach that is more suitable for senior resources looking to continuously grow in their career while helping the younger generation get a start in their career. It can help learn multiple skills and prepare one for many different unexpected opportunities. It is the approach working for me for the past ~5 years and has evolved over the years.</p><h4>Thanks</h4><p>I thank all the interns and students who helped me learn many new skills. And I hope that these were useful for them in their real life. I would also like to thank my partner in crime and my family for their support.</p><blockquote><em>رَّبِّ زِدْنِي عِلْمًا</em></blockquote><blockquote>My Lord, increase me in knowledge</blockquote><blockquote><em>اللَّهُمَّ إِنِّي أَسْأَلُكَ عِلْمًا نَافِعًاً</em></blockquote><blockquote>O Allah, I ask You for beneficial knowledge</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a2ff49acebf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/questra-digital/collaborative-and-practical-approach-of-continuous-learning-for-senior-tech-professional-5a2ff49acebf">Collaborative and practical approach of continuous learning for senior tech professional</a> was originally published in <a href="https://medium.com/questra-digital">Questra Digital</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Improving Magento Using Kubernetes]]></title>
            <link>https://medium.com/the-love-bonito-tech-blog/improving-magento-using-kubernetes-be90a9e87b6c?source=rss-a5d85121fdca------2</link>
            <guid isPermaLink="false">https://medium.com/p/be90a9e87b6c</guid>
            <category><![CDATA[high-availability]]></category>
            <category><![CDATA[containerization]]></category>
            <category><![CDATA[magento]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[autoscaling]]></category>
            <dc:creator><![CDATA[Jawad]]></dc:creator>
            <pubDate>Mon, 19 Apr 2021 07:59:54 GMT</pubDate>
            <atom:updated>2021-04-19T08:11:18.234Z</atom:updated>
            <content:encoded><![CDATA[<p>Currently, we have our Magento application running in Kubernetes that scales from a minimum of 4 pods (~1 CPU and 3 Gi each in 2 different availability zones) to ~ 25 pods each day based on traffic. And, it has scaled up to ~ 150 pods during sales.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jexaWGvie4iV-yDB92UIhw.png" /><figcaption>No. of Pods on a regular day</figcaption></figure><p>In this article, I will share a few challenges that we faced and the resolutions in place at the time of writing this article. But first a bit of the background:</p><ul><li>Our tech team and management were discussing some major infrastructure changes to tackle the current issues (some described <a href="https://medium.com/the-love-bonito-tech-blog/moving-out-from-magento-commerce-cloud-870c10566ba8">here</a> by <a href="https://medium.com/u/59e54755c081">Pablo Morales</a>), and to meet the future needs of scalability, performance, availability, etc. One of the decisions was to make use of AWS cloud for all of our infrastructure. It was also decided to use EKS for application services starting with Magento and later adding other frontend and backend services as we introduce them in our stack.</li><li>During the process of migration, most of the infrastructure setup, IaC, and related delivery pipelines were outsourced to an AWS partner. But Magento’s containerization and helm chart’s setup became the responsibility of the internal tech team for multiple reasons. For that, I and other developers (<a href="https://medium.com/u/87ae60aa768a">Aman Agarwal</a> and <a href="https://medium.com/u/34bb84f91e1b">Tung Ha</a>) had to combine our knowledge to complete those tasks.</li></ul><p>Following are some challenges that we faced in our journey:</p><ul><li>Magento’s Containerization and build Jobs</li><li>Helm chart’s Setup and deployment jobs</li><li>Logging and Monitoring</li></ul><h3>Magento’s Containerization for Kubernetes</h3><p>The first job was to containerize the Magento application. For which we started off with the images provided by Magento in <a href="https://github.com/magento/magento-cloud-docker/">magento-cloud-docker</a> repository.</p><p>After analyzing the Dockerfiles we observed that these files needed to be optimized for Kubernetes because the approach used required</p><ul><li>Building two images <a href="https://github.com/magento/magento-cloud-docker/tree/develop/images/php">(cli and fpm)</a></li><li>Use CLI to run build, deploy, and post-deploy hooks after deployment on shared volume with fpm, as described in related Magento <a href="https://devdocs.magento.com/cloud/docker/docker-mode-production.html">docs</a>.</li><li>Mounting shared volumes between both containers</li><li>Image build time plus execution time of hooks was too long</li></ul><p>This approach would not work where new pods and nodes are frequently created due to autoscaling across multiple zones. Therefore we made the following changes/optimizations:</p><ol><li>We made use of <a href="https://docs.docker.com/develop/develop-images/multistage-build/">multi-stage</a>, <a href="https://docs.docker.com/develop/develop-images/build_enhancements/">BuildKit</a>, and <a href="https://docs.docker.com/buildx/working-with-buildx/">buildx</a> to extend the functionalities of the default docker daemon.</li><li>Multi-stage is used to create a single CLI and FPM Dockerfile. The stages include the base image stage, Intermediate common stage, Intermediate composer install stage, Magento final CLI/FPM stages. This helps us easily manage common/unique steps for each image</li><li>BuildKit helps optimizes the caching of each stage. Also, One of the benefits we get is to build only the specified stages based on specified--target</li><li>At that time, AWS ECR did not seem to support inline cache manifest therefore we made use of --cache-to to cache to our pipeline runner cache instead of pushing along with container image.</li><li>Our intermediate stage of composer installs runs before the code is copied therefore requiring re-install only when there is a change in composer.json, clearing of cache, or some change in previous steps in Dockerfile.</li><li>The stages after composer install only copy the required generated files from this stage and therefore the secrets associated with composer install do not become part of the image for security reasons.</li><li>We also make use of the <a href="https://github.com/hirak/prestissimo">prestissimo</a> composer plugin to optimize the composer install speed. And again, it does not become part of the final image</li><li>We also made use of RUN --mount=type==bind,source=./.cache,target=&lt;path/to/composer/cache&gt;,rw to mount the composer cache to host build context and use pipeline cache to further optimize build jobs</li><li>To avoid running build, deploy and post-deploy hooks for each pod, we updated the scripts and the Dockerfile to copy the code, run Magento build, and apply patches as part of the pipeline during the image build</li><li>The steps like composer-install, code copy, build, apply the patch, etc are only done for CLI image build and not for fpm build</li><li>The FPM container uses the Copy --from to copy the code from the Magento CLI image. We also, copy the code from Magento CLI to Nginx image.<br>These steps are done to avoid the typical use of init-containers/sidecar-containers to mount shared volumes and copy code during the initialization of the pod on Kubernetes.</li></ol><p>At end of the build, we have the following three images</p><ul><li>PHP CLI (With code and scripts to run post-deploy hooks)</li><li>PHP FPM (With Code and FPM configurations to serve the PHP application)</li><li>Nginx (With required code and configuration to act as HTTP server)</li></ul><h3>Helm chart’s Setup and deployment jobs</h3><p>We opted to use Helm charts to define the Kubernetes components for the application. Following are few steps we took to optimize application deployment:</p><ol><li>We used Helm chart <a href="https://helm.sh/docs/topics/charts_hooks/">hooks</a> to run the post-deploy hooks (in PHP-CLI image created above). These run as pre-install/pre-upgrade &quot;helm.sh/hook&quot;: pre-install,pre-upgrade. This helps us run the post-deploy hooks only once before install/upgrade.<br>To cleanup Kubernetes jobs history we use &quot;helm.sh/hook-delete-policy”: before-hook-creation,hook-succeeded,hook-failed</li><li>env.php is defined as Kubernetes’ configmap through helm template. And we make use of variables to parameterize databases, Redis, elasticsearch, etc for different environments.<br>The slave configurations env.php are also put under conditions in helm templates to help us easily enable/disable slaves as per environmental needs</li><li>The secrets should not be made part of the Helm code. And therefore, they are stored in secrets of our pipeline tool and then provided in helm plan/deploy jobs through --set-strings the attribute of helm commands</li><li>To segregate user and admin traffic we have separated the deployments for admin and web traffic with different load balancer&#39;s endpoints. This gives us more control over the management of each deployment.<br>The separate autoscaling and replication policies are setup for each deployment.<br>The resource allocations are setup differently for each to align with usage, per-process memory consumption, and autoscaling policy</li><li>For crons, we have one pod that constantly runs and manages the cronjobs that are scheduled for each minute. The other crons that are scheduled to only a few times in a day are setup as Kubernetes jobs to allow them to allocate independent resources and do not affect any existing pods/deployments</li><li>Horizontal pod autoscaling is configured for a user application to scale pods based on percentage usage of CPU and memory.</li><li>Cluster-autoscaler is added to Kubernetes cluster to allow for nodes to scale up if current nodes do not have the capacity to accommodate new pods.</li><li>Still, Magento has a large footprint and the readiness of pods takes few seconds. Which can affect the autoscaling under sudden spikes. Therefore, we have setup scheduled and/or manual jobs to warm up more pods just before peak times, maintenance activities, etc.</li><li>Pod resources are parameterized in helm template and therefore configured differently for staging and production environments</li><li>Liveness and Readiness probes are setup to perform HTTP request for health-check.php. However, the health-check endpoint has been updated to also wait for Magento’s bootstrapping to be ready to avoid displaying unwanted errors to the client.</li></ol><h3>Logging and Monitoring</h3><p>Logging and monitoring are key factors in modern-day application architecture. Therefore we have setup the following for Magento application and our Kubernetes cluster:</p><ol><li>We setup Datadog Agent through Datadog helm charts and configured the Datadog agent to send Kubernetes cluster matrices. <br>Datadog’s Agents run as daemonset and therefore can provide all the matrices for clusters and pods.<br>Datadog automatically reads logs of containers that are sent to stdout/stderr.</li><li>Magento sends the logs to different files in var/logfolder in the application directory. Therefore, the default agent cannot read the files. To resolve this, we mount the var/log folder to an empty directory (pod volume) and run a fluentd container as a sidecar container. The fluentd container traces all files and sends output to stdout/stderr.</li><li>For APM, we initially setup the Datadog APM in PHP and Nginx images. However, the support for PHP in Datadog is limited, and also for Magento a lot of manual effort and code changes would be required to fully integrate and trace Magento urls/endpoints/methods/etc. However, NewRelic provides a default integration with Magento. And therefore we have setup APM integration with NewRelic.</li></ol><h3>Conclusion</h3><p>Magento is not optimized for a Kubernetes deployment because of its large footprint and resource consumption. But still making use of Kubernetes, for deploying applications like Magento, can be very helpful to easily deploy your auto-scaling and highly available infrastructure with continuous delivery and rolling updates pipelines, and sufficient logging and monitoring.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=be90a9e87b6c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-love-bonito-tech-blog/improving-magento-using-kubernetes-be90a9e87b6c">Improving Magento Using Kubernetes</a> was originally published in <a href="https://medium.com/the-love-bonito-tech-blog">The Love, Bonito Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>