38
Technologies that underlie service delivery Hiroaki Nakada Financial Service Department, Development Unit, Rakuten, Inc. http://www.rakuten.co.jp/

[Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

Embed Size (px)

DESCRIPTION

Rakuten Technology Conference 2014 "Technologies that underlie service delivery" Hiroaki Nakada (Rakuten)

Citation preview

Page 1: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

Technologies that underlie

service delivery

Hiroaki Nakada

Financial Service Department, Development Unit, Rakuten, Inc.

http://www.rakuten.co.jp/

Page 2: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

2

About me

HikeyNakada Hiroaki

Financial Services

Department

Page 3: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

3

Q. What is our mission?

Page 4: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

4

Q. What is our mission?

Service delivery

Page 5: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

5

Financial Services

Our main financial services.

Page 6: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

6

Financial Services

Our main financial services.

It requires very high Quality

Page 7: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

7

Financial Services

Our main financial services.

It requires very high Quality

and Agility to deliver services

Page 8: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

8

Our requirements

High

HighLow

Low

Ag

ility

Quality

Page 9: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

9

Our requirements

High

HighLow

Low

Ag

ility

Quality

Page 10: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

10

Our requirements

High

HighLow

Low

Ag

ility

Quality

Page 11: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

11

Our requirements

High

HighLow

Low

Ag

ility

Quality

Page 12: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

12

Our requirements

High

HighLow

Low

Ag

ility

Quality

Page 13: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

13

Our requirements

High

HighLow

Low

Ag

ility

Quality

Page 14: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

14

It’s so exciting!!

Page 15: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

15

Keywords

Automation

Visualization

Analysis

Page 16: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

16

Targets

Deployment

Review

Monitoring

Page 17: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

17

1. Review

2. Deploy

3. Monitoring

Topics

Page 18: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

18

Issue - Review

There are various review points. Coding Style

Security

Business Logic

It was difficult to analyze the quality of the

source code

It was difficult to do a accurate review of

several lines of code and avoid human error.

Page 19: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

19

Solution - Review

Static code analyzer + CI

SonarQube It allows to find “code style mistake” and “potential types of errors”

It allows to check the result on web browser.

Veracode Static Application Security Testing (SAST) Security white-box test

It allows to find “potential types of security issue”

It allows to check result on web browser.

Page 20: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

20

CI/CD environments

4. Check code quality report

3. b

uild

ho

urly

1. check repository

2. checkout

VERACODE

GIT

Page 21: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

21

Only one type of code review is required. Code Style

Security

Business Logic only!

It is possible to visually analyze the quality of

code.

SonarQube and Veracode reduce the human error.

After improvements

Solved!

Page 22: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

22

1. Review

2. Deploy

3. Monitoring

Topics

Page 23: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

23

Issue - Deployment

Release operation took long times.

Each release operations were different every

time.

It was necessary to write and review of release

procedure every time!

Page 24: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

24

Solutions - Deployment

Standardization of operation

Write automation scripts

– For checkout

– For build

– For deploy

Page 25: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

25

Release procedure

2. checkout

Release Script3. build

Weblogic

GIT

Page 26: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

26

After improvements

• Release operation time is reduced 50%.

• We don’t need write release procedures every

time!

Page 27: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

27

1. Review

2. Deploy

3. Monitoring

Topics

Page 28: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

28

Issue - Monitoring

Multiples servers must be checked (web, api,

DB…).

It is required to log on in each server to obtain

the log files.

Each log must be analyzed.

Alert Driven Analyze– Automatic mechanism to analyze the alert messages.

Page 29: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

29

Complex monitoring

Web API-X API-Z

monitor monitor monitor

logs logs logs

Page 30: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

30

Monitoring - Solutions

Zabbix

System status monitoring

Applications monitoring

Oracle Enterprise Manager

Middleware status monitoring

Flight Recorder

To obtain Java VM detailed logs

To obtain Weblogic detailed logs

Page 31: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

31

Simple monitoring

Web API-X API-Z

Deep I

nspection

Middleware

Systems and Applications

JVM

Zabbix

Enterprise Manager

Flight Recorder

Page 32: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

32

After improvements

Centralized monitoring systems.

No need to logon in production servers every time.– It is possible to access the logs from one access point.

Predict Driven Analyze– Allows to predict the problem based on detailed log and system

status analysis.

It facilitates and increases the agility to solve the problem.

It added the ability to receive various information before the

occurrence of the problem.

Page 33: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

33

Summary

Page 34: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

34

Keywords

Automation

Visualization

Analysis

Page 35: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

35

Targets

Deployment

Review

Monitoring

Page 36: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

36

Summary

We did the following improvement to gain more

quality and agility.

We increased the automation, visualization

and analysis of our daily operation

Page 37: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

37

Page 38: [Rakuten TechConf2014] [Fukuoka] Technologies that underlie service delivery

38