Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

叶亚明&刘普功 携程Mobile架构演化

612 views

Published on

www.trinea.cn

Published in: Technology
  • Be the first to comment

  • Be the first to like this

叶亚明&刘普功 携程Mobile架构演化

  1. 1. Ctrip Mobile Architecture Evolu2on Eric Ye PuGong Liu Xiaolu Huang
  2. 2. Eric Ye CTRIP Senior Tech VP PuGong Liu CTRIP Senior Architecture Xiaolu Huang CTRIP Senior Architecture
  3. 3. Agenda • Demo • Ctrip Mobile Architecture Overview • Ctrip Mobile Architecture Evolu2on – H5 decoupling – App decoupling – Tes2ng Environments decoupling • Gains Takeaways
  4. 4. Demo • Demo
  5. 5. Mobile Architecture 1.0 – Pain Points • Centralized mobile development Org: – Mismatched product roadmap between mobile team and business Team – Insufficient business domain knowledge – Product requirements piled up • Mobile Development Shortages – SPOF – Manual packaging and releasing – Insufficient tes2ng environment
  6. 6. Mobile Architecture V1.0
  7. 7. Mobile Architecture V2.0
  8. 8. What was redesigned • H5 Decoupling – H5 Site/ H5 Service • App Decoupling – App / Mobile Service • Security Enhancement • Automa2on on tes2ng • Automa2on on release
  9. 9. H5 Decoupling -­‐ V1.0
  10. 10. H5 Decoupling -­‐ V2.0 (Front-­‐end)
  11. 11. H5 Decoupling -­‐ V2.0 (Back-­‐end)
  12. 12. H5 Architecture Decoupled • Decoupling H5 Site and H5 Service • Mobile API Gateway – Service Rou2ng – Real 2me monitor – Bot Blocker – Rate limi2ng and Fuse off – Mul2ple IDC support
  13. 13. Mobile App Decoupled (Client-­‐end) • App Decoupled – Framework – Business module: Hotel, Flight, Community etc. • Framework upgraded – Upgrade Mechanism Enhancement – H5 Incremental upgrade – Tes2ng Automa2on – Packaging Automa2on (Android iOS) – Deployment Automa2on (Android)
  14. 14. Mobile App Architecture 1.0 (Back-­‐end)
  15. 15. Mobile App Architecture2.0 (Back-­‐end)
  16. 16. Mobile App Decoupled • Dev teams decoupled – Framework dev team – Business dev (hotel) / business dev (flight) /… • API / services decoupled • Shared Mobile API Gateway • Automated mobile app release
  17. 17. Tes2ng Environment 2.0 decoupled
  18. 18. Gains of Mobile Architecture 2.0 • Domain ownership clarified • Mobile App development speed • APP tes2ng decoupled • Mobile APP releasing efficiency • Robust architecture – Rate Limi2ng – Decoupled problems – Interfering each other is eliminated
  19. 19. AS of 2014/9 CTRIP APP is #1 Travel APP Sourced from CTCNN, 2014/10/13
  20. 20. QA Join us! email:hr_tech@ctrip.com Thanks
  21. 21. @InfoQ infoqchina

×