Yahoo! Japan • Open Source Software Developer for Virtual Reality, IoT and Cloud Computing • Doctor's Course Student @ JAIST Défago Lab : The φ accrual failure detector About me 2
Members Services, etc. Web Services : 100+ Smartphone Apps: 50+ (iOS), 50+ (Android) Employees : 5,800+ (as of June 30, 2016) Head Office : Chiyoda-ku, Tokyo, Japan Company Profile 5
80% of all Japanese Internet users use Yahoo! JAPAN Nielsen NetView June 2015 : Data by Brands. Access from home and work using PCs (excl. internet applications)
Database Caching 10 Advertising Services 40 User Databases 50 Service Databases Browsing History Impression Data ・・・・ Meta Data Aggregated Data ・・・・ Generated Data Session Data Meta Data Aggregated Data ・・・・ Generated Data Recommendation Demographic Data Life Log ・・・・ Preference Data Behavior History
: ↑3000qps/node = C* cluster with real servers (SSD is recommended) • Light Services : ↓1000qps/node and ↓3GB/node = C * cluster with virtual servers on OpenStack 25 Heavy Service Light Service CPU = Good vCPU = Cheap
All processes in each front-end server tries to connect a new C* node which is added into the cluster at the same time ... 26 .......... ! ! ! ! ! ! vCPU = Cheap PHOTO:AFLO
The authentication of C* based on BCrypt is heavy processing for the vCPU nodes. 27 .......... ! vCPU : Authentication (BCrypt) is heavy ! ! ! ! ! ! PHOTO:AFLO
Most processes can not connect to C* clusters on OpenStack due to the authentication processing, and the processes will timeout and repeat to connect without waiting endlessly … 28 All vCPU Usages = 100% ! PHOTO:AFLO vCPU : Authentication (BCrypt) is heavy ! Timeout ! Retry !
The streaming of C* rises a heavy traffic, and it troubles the other services. 35 Streaming Streaming Streaming Stop C* streaming ! PHOTO:AFLO stream_throughput_outbound stream_throughput_outbound stream_throughput_outbound
vCPU of OpenStack is cheap to run a C* node in our special service environment such as the many connections. 41 vCPU : Authentication (BCrypt) is heavy !
: Trying to offer the special bare metal clusters which runs only C* using OpenStack Ironic. 42 Ironic Xeon D-1541 2.1GHz (1CPU) 32GBMEM / SATA SSD 400GB 10Gbps x 2