Mobile Transformation CTRIPs Journey Eric Ye @ ctrip.com November, - - PowerPoint PPT Presentation

mobile transformation
SMART_READER_LITE
LIVE PREVIEW

Mobile Transformation CTRIPs Journey Eric Ye @ ctrip.com November, - - PowerPoint PPT Presentation

Mobile Transformation CTRIPs Journey Eric Ye @ ctrip.com November, 2015 Ctrip - The Biggest OTA Platform of China Group Travel Hotel Flight Train Monetary CTM Tour Guide Online Hotel Booking Share Airports Coverage 72%+ 5000+


slide-1
SLIDE 1

Mobile Transformation

CTRIP’s Journey Eric Ye @ ctrip.com November, 2015

slide-2
SLIDE 2

Hotel Flight

Monetary

Group Tour Train CTM Travel Guide

Cruise Food Car Rental Bus Ticket Shopping Vacation Coupon Meeting

Online Hotel Booking Share

72%+

Countries and Regions Coverage

200+

Hotel Rooms Booking / Day

500K+

Package

Airports Coverage

5000+

Peak Transport Tickets / Day

2Million +

Peak Total Booking / Day

3Million +

Ctrip - The Biggest OTA Platform of China

slide-3
SLIDE 3

2011

Problems:

 Offline: tech and operation  Online: peers  Mobile: infant  Booking tools vs user experience  Site scalability

Online Offline Mobile

25%

Ignore

75%

slide-4
SLIDE 4

Make Fast Changes:

  • Open API
  • Architecture 2.0
  • Re-design Web UI 2.0
  • Drive Traffic (SEO/SEM/…)
  • Make product search fast
  • Speed up Web Page

2012

Online Offline Mobile

40% 52% 8%

slide-5
SLIDE 5

2013

Online Offline Mobile

45% 30% 25%

Mobilize Resources for App:

  • Open API everywhere
  • App catch up with web
  • Create centralized mobile BU
  • Make 1-stop travel App
slide-6
SLIDE 6

Strategy Shift:

  • Decentralize mobile BU …

Encountered Problems …

  • Added 10+ new business lines
  • App Lagged behind web functions
  • Each BU fight for mobile resources
  • App payment sucked
  • Dev Infrastructure was at bottleneck

2014

slide-7
SLIDE 7

2014

Multi-front Challenges solved:

  • Re-organization
  • PD must learn App fast
  • Decouple everything (details later)
  • Not to miss a single App release
  • Train 92%
  • Hotel 45%

Online Offline Mobile

35% 15% 50%

slide-8
SLIDE 8

From OTA to MTA (Mobile Travel Agency)

Online Offline Mobile

20% 8% 72%

2015

slide-9
SLIDE 9

Transform

Product Tech

slide-10
SLIDE 10

One App for Mainstream OS/Devices

Before

iPhone iPad Android Phone Android Tablet Windows Phone

Now

Reduced

slide-11
SLIDE 11

Servers App Release Infrastructure Business Unit Cost Unit Dev & Test Architecture

Decoupled

DB

Everything Decoupled

slide-12
SLIDE 12

Problems seen in 2013:

  • Totally coupled (monolithic)
  • SPOF
  • Lacked of LB routing
  • No App monitoring
  • Less secure

App Architecture: Monolithic

Hotel Flight Train Vacation ……

Monolithic Services

slide-13
SLIDE 13

Hotel Service Flight Service ……

App Architecture: Microservices

Mobile Gateway

slide-14
SLIDE 14

UI Components Common Libs Mobile OS SDKs Monolithic Project Business Modules Multi Projects Foundation Framework Mobile OS SDKs Data/URL Bus, Hybrid

Hybrid

Hotel Vacation Flight …... …...

Mobile APP Code: Modularized

Decoupled

slide-15
SLIDE 15

Benefits of App Being Decoupled

01

Faster parallel development

02

Automate App integration testing

03

Faster App booting

04

Enable hot fixes

05

Increase function resiliency

slide-16
SLIDE 16

 Reduce payload by protobuff & gzip

App Networking Performs Fast and Reliable

 Use TCP and HTTP for App  Fine-tune TCP for 2G/3G/4G/WIFI  Tune retry logic at phase of connection/write/read  Use IP list to avoid DNS failure and DNS hijacking  Elect IP by its performance DNS

slide-17
SLIDE 17

95.00% 96.00% 97.00% 98.00% 99.00% 100.00% V5.10 V6.0 V6.1 V6.2 V6.3 V6.4 V6.5 V6.6 V6.7 V6.8 V6.9

Achieved End-to-End Service Success Rate of 99.7%

Mobile Networking Reliability

slide-18
SLIDE 18

Make App Perform Better

 App booting: load initial data & modules (only needed)  Data prefetching: initiate requests before page transition  Picture prefetching, compression and multi-level caching

Faster

 App hybrid design - Native & H5 coexist

Time to Market

 Reduce App size with SVG  Prune ghost modules

Smaller

slide-19
SLIDE 19

Flaws:

  • Less accuracy on iOS Map
  • Native Android LBS/Map is blocked

Solutions to Mobile Maps Flaws

slide-20
SLIDE 20

Android iOS

China AMap Google Map/LBS iOS Map AMap Oversea Google Map iOS Map

Enhance Mobile LBS/Maps Services

Make App developers easy

  • Unify LBS for iOS & Android
  • Unify city locator
  • Unify map services for Google/iOS/AMap
slide-21
SLIDE 21

End-to-End Monitoring:

  • Service reliability
  • Service time
  • Networking metrics
  • Crashing collection
  • Consumption: battery, data
  • Boot time
  • Page time

Services Log App Log

Mobile Monitoring at Runtime

slide-22
SLIDE 22
  • Adaptive design
  • Mobile payment
  • 7z-compression
  • Watch
  • TV
  • ……
  • Voice search
  • Push/Notification
  • Proxy service for map
  • Anti bot

More App Technologies …

App Front App Backend

slide-23
SLIDE 23

App for Apple Watch

slide-24
SLIDE 24
  • 2. Decouple App between domains as much as possible
  • 3. Culture shift - Mobile first, everywhere and everybody
  • 4. Let each PD team builds its winning App
  • 5. App testing CI farm enables fast and quality App releases

High-level Transformation Best Practices

  • 1. CTO to be best technological architect
  • 6. Visualize and monitor App performance and quality
slide-25
SLIDE 25

THANKS