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.

Customer Sharing: tixCraft - Success from failure: Creating Scalable Ticket System to Fulfill Demand Peak


Published on

This session will cover the process of creating a scalable architecture, with the company's old and new architectures being shown.

Published in: Technology
  • Login to see the comments

Customer Sharing: tixCraft - Success from failure: Creating Scalable Ticket System to Fulfill Demand Peak

  1. 1. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Success from failure: creating scalable ticketing system to fulfill demand peak Corey Yang, Chief System Architect 2016/05/20
  2. 2. Who we are? Founded in late 2013, is the most advanced cloud-based ticketing system in Taiwan. - to the FANS - to the PROMOTERS - to the VENUES tixCraft is the latest venture from ticketing and promotions specialists who are in the industry more than a decade.
  3. 3. What have we done? 2008 – IBAF Final Olympic Qualifying Tournament 2009 – NBA Taipei Games, The World Games 2010 – MLB Taiwan Games, Golden Horse Film Festival 2012 – Jacky Cheung 1/2 Century Tour, Girls Generation Tour 2013 – Mayday, Super Junior, G-Dragon, NBA Taipei Games 2014 – YG Family Galaxy Tour, aMEI|AMIT Utopia World Tour 2015 – BigBang World Tour [MADE], ONE OK ROCK “35xxxv” Asia Tour, WBSC 2015 Premier 12, Golden Horse Film Festival, Sodagreen Endless Story 2016 – Super Junior “Super Camp”, Namie Amuro “Live Genic”, Girls Generation “Phantasia”, Love Is King…
  4. 4. What do we want to do? Situation: we failed every time when selling hot tickets. Goal: selling tickets smoothly on internet. Possible solution: large-scale multi-tier system, only possible by using cloud service
  5. 5. Why AWS? Evaluation: stability, easy to use, scalability, billing method Target: ISPs in Taiwan, AWS, and other cloud services AWS: the most mature, stable, user-friendly and billing by hour. Almost no differences where we host.
  6. 6. When we started it, we found Much, much easier and faster for installation new virtual servers than physical ones. Much cheaper for building complex structure when using small instances at the beginning. Handling services easily like load balancing, moving to RDS for MySQL, creating Read Replicas. With good partners like eCloudvalley we can reduce exploring/troubleshooting time.
  7. 7. Stress testing and architecture adjustment Starting with 10,000 t2.micro instances, it costs only $0.013*10,000=$130 for one hour. Write simple scripts to simulate users behaviors. It’s much easier to redesign the whole system when failed. Relatively simple to rebuild the new system, and test it all over again.
  8. 8. Using AWS products/services High stability, availability, scalability, flexibility Route 53, CloudFront, S3, ELB, EC2, DynamoDB, ElastiCache Amazon EC2 Elastic Load Balancing Amazon Route 53 Amazon S3CloudFront DynamoDB ElastiCache
  9. 9. tixCraft’s environment in AWS v1
  10. 10. tixCraft’s environment in AWS v3
  11. 11. tixCraft’s environment in AWS (current)
  12. 12. Benefits with AWS Lower cost for building larger structure. Highly scalable, if you build it right. Agility – you can fail faster, fail cheaper, fail forward Helping us optimizing and lowering cost. Ex. RDS- >DynamoDB, EC2->Spot/Block Spot.
  13. 13. 1.lower time of deployment: from 1,600 to 20 minutes 2.increase more than 130 times of resources in 30 minutes 3.handle 100,000+ concurrent users purchasing tickets 4.handle 70,000+ ordering requests per minute, max 2,500+ ordering requests per second 5.have more than 30,000 tickets sold out in 3 minutes less than 2 MacBook Pro to accomplish this mission 7.reduce our server cost to 0.26% 8.Accept IOPS from 20 to 135,000 (average number in every minute) using DynamoDB easily By moving to AWS, we can
  14. 14. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Corey Yang Thank You!