Lesson 3 of 14
❮Prev Next❯

MSD-101 · Global taxi booking design

One app, many countries

⏱ 10 min 🎮 Hands-on ☁ Azure

3of 14

Your note

My notes for this lesson

Select any text in the lesson to highlight it or add a note. Saved in this browser.

    No highlights yet. Select a sentence in the lesson, then pick a colour or add a note.

    Reading settings

    For every lesson, saved in this browser.

    Text size
    Line spacing
    Font

    With IaaS you rent the virtual machine. Microsoft looks after the building, power and hardware; you patch the operating system.

    ⚡ The 30-second answer

    A global app ships one app binary to every store and changes behaviour per country with remote config and feature flags. Each market is served by a full copy of the backend in a nearby Azure region, Front Door routes phones there, accounts are global, and trips, locations and payments stay in the country’s region.

    • One binary, remote config
    • A backend copy per region
    • Global vs local data
    • Locale and right-to-left

    Try it

    Play with the design before you read about it. Everything runs on this page.

    One app binaryThe same app in every store. Country differences come from remote config, not separate builds.
    A full copy per regionEach Azure region runs the whole backend (a “stamp”). One region down never stops another country.
    Route by locationFront Door sends each phone to the region that serves its country.
    Global vs local dataAccounts and config are global. Trips, locations and payments stay in the country’s region.
    Feature flags per countryBike taxi, cash, tipping: turned on per market with Azure App Configuration, served through your API.
    Locale everywhereLanguage, right-to-left layout, currency format, time zone and phone number format.
    📱 Phone in 🌐 Azure Front Door ☁
    Data stays in
    Feature flags on
    Local rule
    1. The problemCityHop launches in Indonesia. Bike taxis are the main product there, fares have no decimals, and cash is common. The team builds a special app version, and now every fix has to ship twice.
    2. The design ideaSame binary everywhere; the country is config.
    3. In real lifeSuper-apps in Southeast Asia run the same app in many countries and switch products per market with flags: a service can launch in one city on Monday without an app store release.

    Start with a question

    CityHop launches in Indonesia. Bike taxis are the main product there, fares have no decimals, and cash is common. The team builds a special app version, and now every fix has to ship twice.

    Country differences belong in configuration, not in separate builds.

    Explain it like I'm 10

    A restaurant chain uses the same kitchen design everywhere, but each country gets its own menu and prices. The menu is the config; the kitchen is the app.

    The technical explanation

    One app binary. The app downloads its country config at start: language, currency, ride types, payment methods and feature flags such as bike_taxi=on or cash=on. Serve flags through your API (backed by Azure App Configuration) and cache them on the phone.

    A full backend copy per region (a “stamp”). Singapore riders go to Southeast Asia, Malaysia to Malaysia West, India to Central India. One region down never stops another country.

    Global vs local data. The account and config are global. Trips, driver positions and payment records stay in the country’s region, which also helps with data protection laws.

    Locale everywhere. Format money with the locale (IDR has no decimals), support right-to-left layouts for Arabic (the screen mirrors, numbers and maps do not), and store times in UTC.

    CountryAzure regionCountry-specific
    SingaporeSoutheast AsiaCashless, PayNow QR
    MalaysiaMalaysia WestCash on, Bahasa Melayu
    IndiaCentral IndiaUPI, auto-rickshaw, bike taxi
    IndonesiaIndonesia CentralBike taxi first, QRIS, no decimals
    UAEUAE NorthArabic, right-to-left

    🌏 Switch country

    Real-world scenario

    Super-apps in Southeast Asia run the same app in many countries and switch products per market with flags: a service can launch in one city on Monday without an app store release.

    Ready for more?The full lesson adds the technical explanation, interview questions and quick revision.

    Test yourself

    5 questions. Get 4 right and this lesson is marked complete.

    1. 1. How should a new market get bike taxis without a new app release?
    2. 2. Where should a Malaysian rider’s trip data live?
    3. 3. What routes each phone to its country’s region?
    4. 4. What changes in a right-to-left layout?
    5. 5. A Singapore rider books in Malaysia. Which statement is right?

    Pass the quiz to complete this lesson.

    Next: The full architecture on Azure →

    Questions people ask

    How does one taxi app work in many countries?

    One app binary with remote config per country, a full backend copy in each Azure region, Front Door routing phones to their region, global accounts and in-country trip data.

    Should each country get its own app build?

    No. Separate builds mean every fix ships several times. Ship one app binary and switch products, payment methods and features per country with remote config and feature flags.

    How do I show money correctly in many countries?

    Use the platform number formatter with the user’s locale, never a hard-coded symbol or two decimals. Test early with Indonesian rupiah, which has no decimals, and with Arabic, which needs a right-to-left layout.

    Should I keep the feature flag service keys inside the mobile app?

    No. Serve flags through your own API or a CDN-cached config file. The phone should never hold keys to your configuration store.

    Interview questions

    How this topic comes up in system design interviews. Answer out loud first, then open the model answer.

    beginner Why ship one app binary to every country?

    One build, one test pass and one release. Country differences come from config and flags, so a fix ships everywhere at once.

    intermediate What data is global and what is regional in a multi-country ride app?

    Global: accounts, app config. Regional: trips, driver positions, payments and anything that law or latency says should stay close to the user.

    advanced How do you launch a new country with minimal risk?

    Deploy a new regional stamp from the same templates, seed its config and flags, route a test city through Front Door, run a closed beta with flags on for staff only, then open the flag to everyone.

    Quick revision

    Remember

    • One binary, remote config
    • A backend copy per region
    • Global vs local data
    • Locale and right-to-left
    • Never hard-code a currency symbol or “2 decimals”. Use the platform’s number formatter with the locale, and test with IDR (0 decimals) and Arabic (right-to-left) from the start.

    One line to remember

    “Same binary everywhere; the country is config.”

    Official documentation