api re platforming expedia
play

API Re-platforming @ Expedia Mariano Albera CTO @ Expedia Affiliate - PowerPoint PPT Presentation

API Re-platforming @ Expedia Mariano Albera CTO @ Expedia Affiliate Network @malbera Trusted brands. Shared Platform 600M+ monthly visits in 75+ countries 20k employees worldwide 90B usd yearly travel sales 10k affiliates 500M+ API


  1. API Re-platforming @ Expedia Mariano Albera CTO @ Expedia Affiliate Network @malbera

  2. Trusted brands. Shared Platform

  3. 600M+ monthly visits in 75+ countries 20k employees worldwide 90B usd yearly travel sales 10k affiliates

  4. 500M+ API hotel searches a day 1000 EAN powered partners 30%+ YOY growth 200+ Awesome engineers in EU&US

  5. A few of our Partners

  6. Our re-platforming goals High AWS Native Ease of Distributed Performance Integration & Development at & Scale fully traceable max Speed

  7. Our API design HATEOS linked 
 transactions Global Standards 
 (ISO 8601, 3166, 4217, BCP47) Version in the URL RESTful + Client tokens

  8. Our API Architecture MicroServices ( & 
 Serverless ) Different levels 
 of orchestration Event driven where 
 possible Single Responsibility 
 Principle

  9. Rapid Performance 2x faster 50% overall 10x Faster Significant response hosting deployment improvement in time cost cycles traceability and reduction support quality

  10. Lessons Learned

  11. Want to build great microservices ? Start with a Monolith…

  12. You don’t need to break everything at once

  13. Edge - Orchestration is key Search Shop Book Cancel API Look and Feel Retrieve Validate Authenticate Throttle Transform Route Respond

  14. • Open sourced Styx in 2017 • Used extensively across Expedia Inc including Expedia.com and HomeAway • https://github.com/HotelsDotCom/styx

  15. Private vs Public contracts Public • Separate public API facing schema schema from your internal contracts • Use your orchestrator to avoid versioning every internal change • Keep the public API immutable, evolve the Internal internal services services & contracts independently

  16. Know your tradeoffs Service Discovery Make Eureka fault tolerant VPC / Network Segmentation Dedicated cloud infrastructure team Network Constraints & Usage Design for an imperfect network Scaling Groups The story of the DockerLith

  17. You can’t deliver fast if you build slow • If you are not automating everything you are wasting time • “Just add code” • We deploy 300 features a week ( 150% YOY )

  18. AWS native @ Expedia AWS ECS AWS REDSHIFT REDIS

  19. Splitting your Traffic • Vegas Rules • Service connections fallback from Edge • Data consolidation • Watch your network costs

  20. • Open sourced Circus Train in 2016 • Used extensively across 
 Expedia Inc • https://github.com/HotelsDotCom/ circus-train

  21. Thank You Mariano Albera CTO @ Expedia Affiliate Network @malbera

Recommend


More recommend