Devopsdays.pl 2015 krzysztof_debski (2)

34
From core Java to Devops. One year of the Team

Transcript of Devopsdays.pl 2015 krzysztof_debski (2)

From core Javato Devops.

One year of the Team

Who am I?

15 years as an IT professional

6 years in Allegro Group

1 year as a Product Owner http://hermes.allegro.tech

@DebskiChris

Allegro Group

500+ people in IT

50+ independent teams

16 years on market

3 years after technical revolution

Years ago

Spawn instances

Prepare environment

Separate teams

Code

Spawn instances

Prepare environment

Separate teams

Scale

Code

Spawn instances

Prepare environment

Separate teams

Scale

Code

Devs + Ops

Devs + Ops sprint

13 completed issues

7 not completed issues

Devs + Ops sprint

13 0 ops completed issues

7 2 ops not completed issues

Devs + Ops

Kanban vs. Scrum?

Better solution

Responsibility and knowledge

Bare Metal

Application

Hermes

Hermes Frontend

Hermes Frontend

Hermes Frontend

Hermes Consumer

Hermes ConsumerREST

REST, JMS

Performance testing

Developers’ tests

60k / s

Throughput or latency?

75%

99%

99,9%

resp

onse

tim

e

Performance testing

Co-ordinated omission

Coordinated omission

http://github.com/giltene/wrk2

Slow responses

75%

99%

99,9%

resp

onse

tim

e

Slow responses

kernel 3.2.x

Slow responses

kernel 3.2.x kernel >= 3.8.x

Can’t connect to a service

Client

Service unavailable?

Can’t connect to a service

Client

Too many open files?

Can’t connect to a service

Client

Conntrack limits

Can’t connect to service

Nagle’s algorithm

Too many open files

lsof: can’t identify protocol

Too many open files

POST /myEvent HTTP/1.1Content-Type: application/jsonTransfer-Encoding: chunked

26{"name": "test", "value": "testvalue"}0

Configuration

vs.

Configuration

Spring cloud config

HTTP/2 + SSL

Lessons Learned

Lessons learned

Mixing devs and ops doesn’t make devops

Lessons learned

Building high performance application

is impossible without devops.

Lessons learned

If you look only from one viewpoint,

you can only fix some problems.

Blog: http://allegro.tech

Twitter: @allegrotechblog

@debskichris