case sharing - tixcraft on aws re:invent 2015 recap | 台灣

12
© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved. KT Chiu, tixCraft.com 2015/12/1 Case Sharing - tixCraft

Upload: kt-chiu

Post on 13-Apr-2017

335 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Case sharing - tixCraft on AWS re:Invent 2015 Recap | 台灣

© 2015, Amazon Web Services, Inc. or its Affiliates. All rights reserved.

KT Chiu, tixCraft.com

2015/12/1

Case Sharing - tixCraft

Page 2: Case sharing - tixCraft on AWS re:Invent 2015 Recap | 台灣

Who we are?

Founded in late 2013, tixCraft.com is the most advanced could-based ticketing system in Taiwan. - to the FANS - to the PROMOTERS - to the VENUEStixCraft is the latest venture from ticketing and promotions specialists who are in the industry more than a decade.

Page 3: Case sharing - tixCraft on AWS re:Invent 2015 Recap | 台灣

What have we done?

2008 – IBAF Final Olympic Qualifying Tournament2009 – NBA Taipei Games, The World Games2010 – MLB Taiwan Games, Golden Horse Film Festival2012 – Jacky Cheung 1/2 Century Tour, Girls Generation Tour2013 – Mayday, Super Junior, G-Dragon, NBA Taipei Games2014 – YG Family Galaxy Tour, aMEI|AMIT Utopia World Tour2015 – BigBang World Tour [MADE], ONE OK ROCK “35xxxv” Asia Tour, WBSC 2015 Premier 12, Golden Horse Film Festival, Sodagreen Endless Story

Page 4: Case sharing - tixCraft on AWS re:Invent 2015 Recap | 台灣

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

Page 5: Case sharing - tixCraft on AWS re:Invent 2015 Recap | 台灣

Why AWS?

Evaluation: stability, easy to use, scalability, billing methodTarget: ISPs in Taiwan, AWS, and other cloud servicesAWS: the most mature, stable, user-friendly and billing by hours. Almost no differences where we host.

Page 6: Case sharing - tixCraft on AWS re:Invent 2015 Recap | 台灣

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 beginning.

Handling services easily like load balancing, moving to RDS for MySQL, creating Read Replicas.

Page 7: Case sharing - tixCraft on AWS re:Invent 2015 Recap | 台灣

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.

Page 8: Case sharing - tixCraft on AWS re:Invent 2015 Recap | 台灣

Using AWS products/services

High stability, availability, scalability, flexibilityRoute 53, CloudFront, S3, ELB, EC2, DynamoDB,

ElastiCache

Amazon EC2Elastic LoadBalancing

Amazon Route 53

Amazon S3CloudFront

DynamoDB ElastiCache

Page 9: Case sharing - tixCraft on AWS re:Invent 2015 Recap | 台灣

tixCraft’s environment in AWS

Page 10: Case sharing - tixCraft on AWS re:Invent 2015 Recap | 台灣

Benefits with AWS

Lower cost for building larger structure.Highly scalable, if you build it right.Agility – you can fail faster, fail cheaper, fail forwardHelping us optimizing and lowering cost. Ex. RDS-

>DynamoDB, EC2->Spot/Block Spot.

Page 11: Case sharing - tixCraft on AWS re:Invent 2015 Recap | 台灣

By moving to AWS, we can

1) lower time of deployment: from 1,600 to 20 minutes2) increase more than 130 times of resources in 30 minutes3) handle 100,000+ concurrent users selecting seats4) handle 70,000+ ordering requests for tickets per minute, max

2,500+ ordering requests per second5) have more than 30,000 tickets sold out in 3 minutes6) pay less than 2 MacBook Pro to accomplish this mission7) reduce our server cost to 0.26%8) Accept IOPS from 20 to 135,000 (average number in every minute)

by using DynamoDB easily

Page 12: Case sharing - tixCraft on AWS re:Invent 2015 Recap | 台灣

Thank you!

KT Chiu