2. Mercari - Your Friendly
Mobile Marketplace
https://www.mercari.com/
3. Self Introduction
• Joined Mercari in
July,2014
• SRE (Site Reliability
Engineer)
• Role
• Development
Productivity
4. What is SRE?
• Site Reliability Engineer
• The Role/position introduced in Google
“Software Engineers responsible for ensuring that all of Google’s
services are super reliable and super fast, all of the time.”
• Mercari SRE team members responsible for
• Availability
• Performance
• Construction and operation log analytics platform
• Server provisioning, deployment
• Security
• Development of the development environment
20. Improvement:
Continuous application tuning
• MySQL index tuning
• (Ex.) 2-dimensional large array ->
convert 2nd tier to text data and
parse
Of course, There is no silver bullet.
24. Problem:
Increasing DB historical table
records
• Increasing DB historical table records
• Shortage of DISK capacity
• Slow down item search throughput
• Increasing access log
• Customer service tune around time be
too slow
25. • DB table are partitioned into multiple
servers
• Slave servers are only in main cluster
• Using DNS RR
Improvement:
Server partitioning (MySQL)
Master
Slave Slave BackupSlave Backup
Master
Backup
Master
Backup
Master
Anon
DB
Main todolists l2-db cs-tool anon-db
27. Improvement
app
Worker Batch
access_log
application_log
app_error_log
error_log
php_log...
log
AWS S
Check to make sure you
recent set of AWS Simple
This version was last upda
(v1.4) Find the most recen
aws.amazon.com/architect
Usage Guidelines
DEC
01
BigQuery
nat
logview
kibana: Log Viewer
cep
AWS
Check to make sure y
recent set of AWS Sim
This version was last u
(v1.4) Find the most re
aws.amazon.com/arch
Always use Icon labe
always include a label b
the group in Arial. The
Usage Guidelines
DEC
01
Mackerel A
Check to
recent se
This vers
(v1.4) Fin
aws.ama
Always u
always in
the group
Usage Guidel
DEC
01
Slack
Norikra: Stream Processing