Engineering the Future of Software
Feb 25–26, 2018: Training
Feb 26–28, 2018: Tutorials & Conference
New York, NY

Learning RESTful microservices from the ground up

Mike Amundsen (Amundsen.com, Inc.)
9:00am–12:30pm Monday, February 26, 2018
Secondary topics:  Best Practice, Overview
Average rating: ***..
(3.86, 7 ratings)

Who is this presentation for?

  • Service designers, software architects, and developers

Prerequisite knowledge

  • A working knowledge of Node.js and implementing services on the web
  • Familiarity with microservices

Materials or downloads needed in advance

  • A laptop with Node.js and the text editor and coding environment of your choice installed
  • A GitHub account
  • A Heroku account (optional)

What you'll learn

  • Understand the role REST can play in microservice design, the importance of stable interfaces in front of changing code, and the value and challenges of supporting runtime discovery
  • Learn how to design for emergent adaptability without adding needless complexity

Description

A RESTful approach to microservices can improve the stability and resilience of services, reduce the need for extensive changes and redeployment when the domain model changes, and greatly increase the flexibility of individual services, including the ability to automatically work with other newly discovered services. Mike Amundsen walks you through building adaptable microservices that take advantage of the features of REST, including statelessness, self-description, and using hypermedia to discover and modify application state. You’ll learn how to design services that advertise themselves to the network, discover their own “partner” services, and can adapt to subtle changes to existing services without relying only on recode-and-redeploy patterns for maintaining overall system operation.

Outline

What are RESTful microservices?

  • Microservices
  • RESTful-ness
  • A new kind of service
  • Hands-on exercise: Analysis

Models, messages, and vocabularies

  • Models on the inside
  • Messages on the outside
  • Vocabularies everywhere
  • Hands-on exercise: Design

Runtime service infrastructure

  • Advertising
  • Discovery
  • Heath
  • Hands-on exercise: Discovery

An adaptable system

  • Evolvable providers
  • Adaptable consumers
  • The power of numbers
  • Hands-on exercise: Adaptation

Wrap-up

  • A RESTful Approach
  • Message-oriented implementation
  • Discovery constraints
  • Emergent adaptability
Photo of Mike Amundsen

Mike Amundsen

Amundsen.com, Inc.

An internationally known author and speaker, Mike Amundsen travels the world discussing network architecture, Web development, and the intersection of technology and society. He works with companies large and small to help them capitalize on the opportunities provided by APIs, Microservices, and Digital Transformation.

Amundsen has authored numerous books and papers. He contributed to the O’Reilly book, “Continuous API Management” (2018). His “RESTful Web Clients”, was published by O’Reilly in February 2017 and he co-authored “Microservice Architecture” (June 2016). His latest book — “Design and Build Great APIs” — for Pragmatic Publishing is scheduled for release in late 2019.

Comments on this page are now closed.

Comments

Picture of Mike Amundsen
Mike Amundsen | AUTHOR, TRAINER, ADVISOR
03/04/2018 2:49pm EST

slides, notes, and examples code are all in a public repo here:
https://github.com/mamund/2018-02-sacon-workshop

Picture of Ruben Sousa
Ruben Sousa | INFORMATION SYSTEMS MANAGER
03/04/2018 5:21am EST

Hi Mike, are there any slides available for this tutorial? Thanks, Ruben.