<?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 Mostafa Dahab on Medium]]></title>
        <description><![CDATA[Stories by Mostafa Dahab on Medium]]></description>
        <link>https://medium.com/@poweroftrue?source=rss-ad12ecb4a5cd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*nFhOevGKp0vzw6mioWMhsA.jpeg</url>
            <title>Stories by Mostafa Dahab on Medium</title>
            <link>https://medium.com/@poweroftrue?source=rss-ad12ecb4a5cd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 14:49:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@poweroftrue/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[Mrsool: The Super App With Super Powers]]></title>
            <link>https://engineering.mrsool.co/mrsool-the-super-app-with-super-powers-423c3037d31a?source=rss-ad12ecb4a5cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/423c3037d31a</guid>
            <category><![CDATA[mobile-apps]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[super-apps]]></category>
            <category><![CDATA[on-demand-delivery]]></category>
            <category><![CDATA[logistics]]></category>
            <dc:creator><![CDATA[Mostafa Dahab]]></dc:creator>
            <pubDate>Tue, 01 Sep 2020 08:37:43 GMT</pubDate>
            <atom:updated>2020-09-01T08:37:43.369Z</atom:updated>
            <content:encoded><![CDATA[<h3>Mrsool: The Super App With Superpowers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SRVN-sOkDz1if2YtezsCSQ.png" /></figure><p>Mrsool (pronounced mar-sool) is the first deliver-anything platform in the MENA region, founded in 2015 by Ayman Al Sanad and Nayef Al Samri, Mrsool is the largest Saudi app of its kind in the region!</p><p>With more than 1.7 billion Saudi Riyals GMV in 2019, and continued hypergrowth across three countries, Mrsool has solved many technical and operational challenges by being customer-obsessed and engineering-driven in every single decision made.</p><p>We’re proudly a community of people helping each other, in fact, more than 70% of Mrsoolers (our professional couriers) have ordered from Mrsool. It’s one massive community of carefully vetted professionals.</p><p>We spend as much time as it needs to review and approve our Mrsoolers, that’s why Mrsoolers aren’t just your run-of-the-mill couriers, they often advise customers what to choose and how to save money, as our founders put it: “it’s like a having a brother in every corner of the city”.</p><p>That being said, it comes as no surprise that Mrsool is the highest rated app in the region! Both in <a href="https://apps.apple.com/us/app/mrsool-%D9%85%D8%B1%D8%B3%D9%88%D9%84/id1040038773">App Store</a> and <a href="https://play.google.com/store/apps/details?id=com.mrsool">Google Play</a>. Our customers love everything about Mrsool. You can browse social media to see stories upon stories of how Mrsool saved customers in times of urgency and delivered joy and fulfillment in others.</p><p>Reaching all these remarkable milestones with little to zero marketing-budget for the better part of Mrsool’s life, one might wonder how we did that? Well, today we’re going to shed light upon two of Mrsool’s unique engineering accomplishments that helped make Mrsool what it is today:</p><h3>Super Chat</h3><blockquote>Communication is not necessary</blockquote><blockquote>- no one ever</blockquote><p>We realized early on that communication is one of the most important and often overlooked features for an on-demand delivery app, as we don’t just deliver food, thus, our chat comes into play to do a multitude of tasks, like sending a text, photos, voice notes (a personal favorite), changing the invoice, sharing location, filing a complaint and so much more.</p><figure><img alt="A screenshot showing our chat and voice messages experience." src="https://cdn-images-1.medium.com/max/1024/1*Jd6aUFEZxLy_v9axt4jxmg.png" /></figure><p>Whether it’s extra mayonnaise or getting things from multiple stores, you can use our chat to make the most out of your order, and our Mrsoolers will keep you updated and may even take a teaser photo of your hot wrapped food 🔥.</p><p>Our chat also comes in handy when you order from <a href="https://mrsool.app.link/shops/444998630167fc1687127621616d8f2c">our digital store</a>, only this time you will be talking to our trained bot 🤖.</p><p>Knowing that our chat is a crucial part of our experience, we spent quite some time to architect it well, based on the open-source <a href="https://www.ejabberd.im/">Ejabberd</a> with a high-availability multi-node setup.</p><p>However, computers are inherently unreliable, that’s why we plan ahead for failures. If our Ejabberd cluster became unavailable, we automatically failover to our custom-built chat APIs, during that period users’ experiences will be degraded (some interactive features will be disabled) but nonetheless our users will still enjoy the core features of our chat. Planning ahead for failures allows us to conduct upgrades and maintenance without worrying about affecting our users.</p><p>As we’re using the same app for Mrsoolers and our customers, this allows our Mrsoolers to enjoy the same robust chat experience.</p><h3>Super Payouts</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NNITOYzi89fJ6KGwd0c1PQ.jpeg" /><figcaption>Getting paid near-instant!</figcaption></figure><p>One of the unique cultural attributes of Mrsool’s engineering team that we study the problem carefully, never releasing features for the sake of adding features.</p><p>Our features tend to be laser-focused on one particular problem, it does one thing and it does it well. That’s why we took our time to build our payments system from the ground up, specifically built for our region.</p><p>We want our customers to have the convenience of paying with ease, whether it’s Apple Pay, credit card, or fintech apps. However, we understand the cash flow challenge for our Mrsoolers, they pay for the goods and often they pay large sums for expensive orders like electronics.</p><p>We challenged ourselves to be one of the few companies worldwide that have an instant payout system, it took us some time to build, but it was worth it. Since its launch, it has proven to be a robust solution that handles hundreds of millions per month with 99.98% success rate.</p><p>After an order is delivered, it goes through our payouts engine to validate and consolidate with Mrsooler’s account balance, then it goes through a series of checks, things like if there is no complaint filed and many other rules. Once the order is cleared, the Mrsooler will receive an instant bank or digital wallet transfer from Mrsool, which can be cashed out immediately!</p><p>Of course, such a system needs proactive monitoring, thus we’re building monitoring infrastructure to catch issues before they become disastrous.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2NSUM372BBulzvocsfpWiQ.png" /><figcaption>Payouts Grafana Dashboard</figcaption></figure><p>Mrsool is determined to change how we live in the region today, we’ll leave no stone unturned, we’ll tackle challenges that are unique to our region and our people, and we’ll continue to innovate for our ever-growing community.</p><p>Having an engineering-first culture, it’s quite common to find our CEO, CTO, and other executives jumping in and developing an entire feature or helping debug and solve problems.</p><p>However, the challenges are growing faster than we can keep up, in Eid Al Fitr holiday our infrastructure handled more than 600,000 orders in a single day! And we’re expecting more to come.</p><p>Does this tickle your fancy? Come <a href="https://boards.greenhouse.io/mrsooltech"><strong>join us</strong></a> today!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=423c3037d31a" width="1" height="1" alt=""><hr><p><a href="https://engineering.mrsool.co/mrsool-the-super-app-with-super-powers-423c3037d31a">Mrsool: The Super App With Super Powers</a> was originally published in <a href="https://engineering.mrsool.co/">Mrsool</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Infrastructure Behind HungerStation]]></title>
            <link>https://medium.com/@poweroftrue/the-infrastructure-behind-hungerstation-8f79835a1330?source=rss-ad12ecb4a5cd------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f79835a1330</guid>
            <category><![CDATA[dc]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[prow]]></category>
            <category><![CDATA[ci]]></category>
            <dc:creator><![CDATA[Mostafa Dahab]]></dc:creator>
            <pubDate>Thu, 23 May 2019 10:49:15 GMT</pubDate>
            <atom:updated>2019-05-24T13:39:51.644Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U60fiFaztUeBuhQI9e_c3A.png" /></figure><p>HungerStation, which was founded in 2012 and is now part of Delivery Hero global portfolio, has become one of the largest online food ordering services in the region, with more than 100,000 orders per day and millions of happy customers every month, HungerStation is facing a myriad of interesting technical challenges.<br> <br>Running the technical infrastructure to support that growth is quite a big challenge, with some of our Kubernetes clusters stacking more than 10TB of RAM in peak hours. In addition to tens of other services spread across multiple cloud providers, we’ve seen our infrastructure evolves rapidly.</p><p>So, we thought to give you an overview of our infrastructure and how we use it in this series, it will be in the form of Q&amp;As, each question will be answered in a separate blog. So, without further ado, let’s get started!</p><h3>How do we deploy?</h3><p>At HungerStation we take DX (Developer Experience) very seriously, in fact, it’s #1 priority for our SRE/DevOps team!</p><p>Investing in DX is always beneficial as the engineers’ happiness and productivity boosts, fixing bugs becomes quicker, and hassle-free developing and deploying new features.</p><p>One of the unique DX is Prow (Kubernetes’s own CI/CD), described in this <a href="https://kubernetes.io/blog/2018/08/29/the-machines-can-do-the-work-a-story-of-kubernetes-testing-ci-and-automating-the-contributor-experience/">article</a> we saw the huge potential of having customizable and scalable CI/CD like Prow.</p><p>What is Prow? As the article described it:</p><blockquote>Prow is sort of like an <a href="https://ifttt.com/">If This, Then That</a> for GitHub events, with a built-in library of <a href="https://prow.k8s.io/command-help">commands</a>, <a href="https://prow.k8s.io/plugins">plugins</a>, and utilities. We built Prow on top of Kubernetes to free ourselves from worrying about resource management and scheduling, and ensure a more pleasant operational experience.</blockquote><p>Prow has benefited not only Kubernetes community but other open-source communities and companies big and small:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/918/1*YxHhzdnd3eFW1QiqCtLNeQ.png" /><figcaption>Prow Users (<a href="https://github.com/kubernetes/test-infra/tree/master/prow">https://github.com/kubernetes/test-infra/tree/master/prow</a>).</figcaption></figure><p>The killer feature of Prow is the huge time saving, take a look at the Prow Github bot and you can imagine how much time has been saved by using Prow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*roqlIW-DQv7Nemps38VB8Q.png" /><figcaption>More than 17k contributions!</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QdaG-MQUSZxpO09ExMQiDQ.png" /><figcaption>Our instance of Prow Github bot</figcaption></figure><p>Our team is heavily invested in Prow. We made a <a href="https://github.com/kubernetes/test-infra/pull/10481">couple</a> of <a href="https://github.com/kubernetes/test-infra/pull/11118">small</a> <a href="https://github.com/kubernetes/test-infra/pull/12299">contributions</a>, and we’re planning to dedicate more time in the future to contribute back to Prow.</p><p>Having suffered from Jenkins in the past; here’s the revamped DX of a deploy:</p><h4>1. Pull request</h4><p>An engineer simply creates a PR in Github and Prow handles all the checks from verifying the commit messages are compliant with <a href="https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-commit-message-guidelines">Angular Commit Message Guidelines</a> to running the distributed tests:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SHJUMhrSrK0FjzG-JAdHPQ.png" /></figure><p>Now, the engineer can use Prow to do all sorts of actions, for example, other than the standard Prow actions; there’s the/preview command which will create a preview environment for that PR with all the production settings:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5dGDDaJait1JPx8FBGLUXw.png" /></figure><h4>2. Two approvals</h4><p>After the PR has passed all the tests, now the time for review, two approvals from other engineers in the same team and one label ok-to-merge then Prow will automatically merge it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/789/1*MzHRXYe7g9VBeGnv6nXOvQ.png" /></figure><h4>3. SRE team review</h4><p>After the PR has been merged, it will automatically get built and pushed to GCR (Google Container Registry), after running security scans and automated integration testing, Prow will create a PR in our infrastructure-config repo (GitOps), this means a clean well-tested and reviewed code is ready to deploy:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/1*owZtO9d0sqwG_ZgiC9-yEg.png" /></figure><p>Then, an available member from the SRE (Site Reliability Engineer/DevOps) team will review the code, to make sure it scales well, secure, and optimized, then approves it and 💥, Prow will deploy the code to our Kubernetes production cluster 🎉.</p><p>The SRE team will monitor the deployment for any issues. If so, they will revert the deployment PR and Prow will automatically rollback the changes. For that boring task we have an internal tool to make this task a little bit less boring, enter Kraken:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/869/1*15UUK64DtSwIU_T-Aq7H3w.png" /></figure><p>Kraken is a simple web app that uses Kubernetes APIs (Go client) to fetch and display the status of all components. Motivated by laziness I wrote that tool to get less “has my code been deployed yet?” questions from engineers 😂.</p><p>Kraken helps us to see if a component failed to update or any other issues related to the deployment process, as we’re migrating to Istio, Kraken might get a rewrite or be completely deprecated.</p><p>To sum it up, in three simple steps, any three engineers can fix a bug or deploy a feature in minutes! We continue to revisit our processes and tools to ensure that we have the most optimized workflow that improves our agility not slowing it down.</p><p>Join us next, as we’ll talk more about the challenges we faced like speeding up our tests, building our own local app runner that does solve many issues like the <a href="https://github.com/docker/for-mac/issues/77">slow Docker volumes</a> on Mac, optimizing our builds, and much more.</p><p>Does this tickle your fancy? Come join us today!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f79835a1330" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>