MSD-101 · Global taxi booking design
One app, many countries
⏱ 10 min 🎮 Hands-on ☁ Azure ✓ Completed
⚡ 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.
- Data stays in
- Feature flags on
- Local rule
- Account: global (one sign-in works in every country).
- Trip and location data: stored in the region of the country you are in now.
- Price: shown in the local currency; your home card is charged by the payment provider.
- App: the same binary; it loads the local config when the country changes.
- 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.
- The design ideaSame binary everywhere; the country is config.
- 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.
| Country | Azure region | Country-specific |
|---|---|---|
| Singapore | Southeast Asia | Cashless, PayNow QR |
| Malaysia | Malaysia West | Cash on, Bahasa Melayu |
| India | Central India | UPI, auto-rickshaw, bike taxi |
| Indonesia | Indonesia Central | Bike taxi first, QRIS, no decimals |
| UAE | UAE North | Arabic, right-to-left |
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.
Test yourself
5 questions. Get 4 right and this lesson is marked complete.
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
- Azure Front Door (Microsoft Learn)
- Azure App Configuration feature flags (Microsoft Learn)
- Azure Cosmos DB global distribution (Microsoft Learn)