Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

44
©2008-16 New Relic, Inc. All rights reserved. Nic Benders - Chief Architect, New Relic ©2008-16 New Relic, Inc. All rights reserved. 1 Engineering & Autonomy In the Age of Microservices @nicbenders

Transcript of Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Page 1: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

©2008-16 New Relic, Inc. All rights reserved.  

Nic Benders - Chief Architect, New Relic

©2008-16 New Relic, Inc. All rights reserved.   1

Engineering & AutonomyIn the Age of Microservices

@nicbenders

Page 2: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

©2008-16 New Relic, Inc. All rights reserved.  

Safe HarborThis document and the information herein (including any information that may be incorporated by reference) is provided for informational purposes only and should not be construed as an offer, commitment, promise or obligation on behalf of New Relic, Inc. (“New Relic”) to sell securities or deliver any product, material, code, functionality, or other feature. Any information provided hereby is proprietary to New Relic and may not be replicated or disclosed without New Relic’s express written permission.

Such information may contain forward-looking statements within the meaning of federal securities laws. Any statement that is not a historical fact or refers to expectations, projections, future plans, objectives, estimates, goals, or other characterizations of future events is a forward-looking statement. These forward-looking statements can often be identified as such because the context of the statement will include words such as “believes,” “anticipates,” “expects” or words of similar import.

Actual results may differ materially from those expressed in these forward-looking statements, which speak only as of the date hereof, and are subject to change at any time without notice. Existing and prospective investors, customers and other third parties transacting business with New Relic are cautioned not to place undue reliance on this forward-looking information. The achievement or success of the matters covered by such forward-looking statements are based on New Relic’s current assumptions, expectations, and beliefs and are subject to substantial risks, uncertainties, assumptions, and changes in circumstances that may cause the actual results, performance, or achievements to differ materially from those expressed or implied in any forward-looking statement. Further information on factors that could affect such forward-looking statements is included in the filings we make with the SEC from time to time. Copies of these documents may be obtained by visiting New Relic’s Investor Relations website at ir.newrelic.com or the SEC’s website at www.sec.gov.

New Relic assumes no obligation and does not intend to update these forward-looking statements, except as required by law. New Relic makes no warranties, expressed or implied, in this document or otherwise, with respect to the information provided

2

Page 3: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

©2008-16 New Relic, Inc. All rights reserved.  

▪▪

©2008-16 New Relic, Inc. All rights reserved.   3

Page 4: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

©2008-16 New Relic, Inc. All rights reserved.   ©2008-16 New Relic, Inc. All rights reserved.   4

Page 5: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

©2008-16 New Relic, Inc. All rights reserved.   5

Page 6: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

©2008-16 New Relic, Inc. All rights reserved.  

Organizations which design systems ... are constrained to produce designs which are copies of the communication structures of these organizations

— Mel Conway

6

Page 7: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic
Page 8: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

©2008-16 New Relic, Inc. All rights reserved.  

Organizations which design systems ... are constrained to produce designs which are copies of the communication structures of these organizations

— Mel Conway

8

Page 9: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

©2008-16 New Relic, Inc. All rights reserved.   9

Characteristics of a Microservice Architecture (From https://martinfowler.com/articles/microservices.html)

• Componentization via Services• Organized around Business Capabilities• Products not Projects• Smart endpoints and dumb pipes• Decentralized Governance• Decentralized Data Management• Infrastructure Automation• Design for failure• Evolutionary Design

Page 10: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

©2008-16 New Relic, Inc. All rights reserved.   10

Characteristics of a Microservice Organization

• Componentization via Teams• Organized around Business Capabilities• Products not Projects (Long-Term Ownership)• Smart Teams and dumb (communication) pipes• Decentralized Governance (Teams make decisions)• Decentralized Data Management (Data skills everywhere)• Infrastructure Automation (Self-Serve Infrastructure)• Design for failure• Evolutionary Design

Page 11: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

©2008-16 New Relic, Inc. All rights reserved.   11

Durable, full-ownership teams, organized around business capabilities, with the authority to choose their own tasks and the ability to complete those tasks independently.

Reduce central control, emphasizing information flow fromthe center and decision making at the edge.

Eliminate dependencies between teams, through orgstructure changes and tooling improvements.

Page 12: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Let’s have a re-org!

Page 13: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

We’re engineers,we solve problems,let’s solve this one

Page 14: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

We hire smart people,let them be smart

Page 15: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Optimize for agility

Page 16: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

We’re data nerds

Page 17: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Engineers makethe decisions

AnalysisDesignRolloutBreak

dependencies

Page 18: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Break dependencies

DesignRollout

Engineers make

Page 19: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic
Page 20: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic
Page 21: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic
Page 22: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic
Page 23: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Make strong teams

Page 24: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Full Ownership Teams

Page 25: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

T-Shaped Engineers

Page 26: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Invert control

Page 27: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Self-selection

Page 28: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Harder thanit looks

:-/

Page 29: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Managers really didn’t like it

:-(

Page 30: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Engineers didn’t like it either

:-(

Page 31: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

We almost backed down!

:-o

Page 32: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Mitigations

Page 33: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

The Big Event

Page 34: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Self-selection reveals opportunities

Page 35: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

The power of self determination

Page 36: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Working agreements

Page 37: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

“We work together best when…”

Page 38: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Mob ProgrammingContinuous Deployment

Insights Team

Weekly Demos & Retros

Page 39: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

It really worked!

Page 40: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

You hired smart engineers…

trust them

Page 41: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Better teams make better products

Page 42: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Jim Shore

Page 43: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic
Page 44: Engineering and Autonomy in the Age of Microservices - Nic Benders, New Relic

Thank you.

Nic Benders@nicbenders