Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
How devops improved my dev
Florian Gilcher
April 18, 2013
Programming
5
1.3k
How devops improved my dev
Florian Gilcher
April 18, 2013
Tweet
Share
More Decks by Florian Gilcher
See All by Florian Gilcher
A new contract with users
skade
1
340
Using Rust to interface with my dive computer
skade
0
52
async/.await with async-std
skade
1
610
Training Rust
skade
1
49
Internet of Streams - IoT in Rust
skade
0
46
How DevRel is failing communities
skade
0
46
The power of the where clause
skade
0
310
Three Years of Rust
skade
1
110
Rust as a CLI language
skade
1
96
Other Decks in Programming
See All in Programming
Amazon Aurora の v1 が EOL になるので 10 クラスタアップグレードして出てきたノウハウ
dekokun
0
860
Chart実装が楽になりました。
keisukeyamagishi
0
120
IE Graduation Certificate
jxck
6
4.8k
JetPackComposeは宣言型プログラミングパラダイムって実はよくわかってないんですが、別に使ってもいいんですよね、
conigashima
0
180
即、New Relic / New Relic NOW!
uzulla
0
330
【Scrum Fest Osaka 2022】スクラムチームに放り込まれた若手エンジニアの皆さん、どのように技術のキャッチアップをしていくかイメージはついていますか?
miiiki
0
110
A Philosophy of Software Design 後半
yosuke_furukawa
PRO
10
2.8k
Reactive Java Microservices on Kubernetes with Spring and JHipster
deepu105
1
170
[월간 데이터리안 세미나 6월] 스스로 성장하는 분석가 커리어 이야기
datarian
0
210
「混ぜるな危険」を推進する設計
minodriven
4
750
GitHub Actions を導入した経緯
tamago3keran
1
430
Android スキルセットをフル活用して始めるスマートテレビアプリ開発
satsukies
1
190
Featured
See All Featured
Building Applications with DynamoDB
mza
83
4.7k
For a Future-Friendly Web
brad_frost
166
7.4k
GitHub's CSS Performance
jonrohan
1020
420k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
212
20k
Reflections from 52 weeks, 52 projects
jeffersonlam
337
17k
Docker and Python
trallard
27
1.6k
Statistics for Hackers
jakevdp
781
210k
Raft: Consensus for Rubyists
vanstee
126
5.4k
Testing 201, or: Great Expectations
jmmastey
21
5.4k
Web development in the modern age
philhawksworth
197
9.3k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
105
16k
Unsuck your backbone
ammeep
659
55k
Transcript
None
None
The hotel wireless was terrible, sorry for the lack of
pictures.
$ whoami
$ whoami $ cat .profile | grep export export GIT_AUTHOR="Florian
Gilcher" export GIT_AUTHOR_EMAIL="florian.gilcher@asquera.de" export GITHUB_NICK="skade" export GITHUB_ORGANIZATIONS="asquera,padrino" export TWITTER_NICK="@argorak" export TM_COMPANY="Asquera GmbH"
@argorak
$ whoami Ruby Programmer since 2003 Now a consultant specialising
in backends... ... and team building. I run usergroups and organize conferences as a hobby.
http://asquera.de
http://padrinorb.com
http://eurucamp.org
“I don’t want to be woken up at night, so
I call myself a developer.”
I set out to present a more dev-minded perspective on
devops.
That was harder then I thought...
There’s a talk about the “transforming devs to devops” later
on.
git push developer mindsets/devops
Whats the benefit, if you don’t do a lot of
ops?
Vagrant Puppet Chef
Vagrant Puppet Chef
How did a devops mindset improve the software I write?
A bit of history about myself
I started my career in a typical agency job.
LAMP and the DEV/OPS split.
It wasn’t even that bad...
...until projects got special.
scale scope
Suddenly it turned out that one of the most efficient
teams was an admin, a programmer and a cup of coffee.
Example
An example One of our clients imports and reencodes videos
from a constantly changing number of sources each day.
Sources FTP upload FTP fetch RSS feeds RSS feeds that
are no RSS feeds And some more...
Destinations All of them need to be reencoded to a
standard set of sizes and bitrates.
Simple approach
Single program with architecture
Same architecture, 3 processes
Why?
Videos per day
Critical failures last year
Deployments last year
New ways of discussing things.
None
None
Practical things learned in the process.
... beyond writing daemons and stuff.
A different perspective on code.
Infrastructure as code.
Code for infrastructure.
Common CLI tools Common configurations styles Common way of doing
things
Gives insight Well managable Well automatable
In general, I care less about internal quality of programs
nowadays then about external quality.
My ugliest piece of code ran 1,5 years in production
without a change.
Nobody ever noticed how horrible it was.
I evaluate new software differently.
“Ease of setup” is a red flag.
This especially applies to new and fancy databases.
Not having to push any buttons to start working a
database is problematic, if not dangerous.
You might miss things along the way.
“Ease of non-trivial configuration” is far more important.
How to grade that?
Set up a production-like system.
Keep tally marks on how often it leaves you puzzled.
There is no such thing as “setting up production too
early.”
Everything before that is childs play.
The big bangs always happen in production.
My favourite: Expensive loadbalancers that die during configuration and need
to be shipped to the manufacturer.
Teams need to get used to their own systems.
Metrics and Logging are important in complex systems.
Most pure development teams underrate them and implement them too
late.
They should be there from day one.
Last but not least: internal tooling can save you a
lot of work.
Creative ways to talk about it even more.
None
But what about the humans?
Giving people say in many things makes them discuss many
things.
There are two things I rarely see in teams with
strict roles.
1. Platform refactorings
Why? It always means that individual roles loose ground.
Why? This can get political very quick.
Why? Lack of skill.
2. Code reviews
Why? Not enough staff that “is qualified” to review certain
code.
The devops mindset takes away a lot of friction.
Less asking permission, more doing.
When your frontend developer changes your backend API, your varnish
config, your deployment scripts and the puppet manifests before handing stuff off to review to implement a new feature, you are there.
Bonus points if said developer is the companies apprentice.
The devops mindset can be incredibly empowering.
Devops-minded teams can cope with missing team members easier.
Everyone knows what everything is roughly doing anyways.
Find hacks to gather and spread that knowledge across your
team!
None
To sum up:
Teams with a strong devops culture: can handle more complexity
Teams with a strong devops culture: can handle more complexity
can find more alternative approaches to problems.
Teams with a strong devops culture: can handle more complexity
can find more alternative approaches to problems. are more likely to find solutions that handle well in production.
Their immediate answers are more complex.
Thank you for listening.
How did devops change your development style?