Interface Evolution Patterns — Balancing Compatibility and Extensibility across Service Life Cycles

Interface Evolution Patterns — Balancing Compatibility and Extensibility across Service Life Cycles

Abstract

Remote Application Programming Interfaces (APIs) are technology enablers for distributed system trends such as cloud-native application development. API providers find it hard to design their remote APIs so that they can be evolved easily; refactoring and extending an API while preserving backward compatibility is particularly challenging. If APIs are evolved poorly, clients are critically impacted; high costs to adapt and compensate for downtimes may result. For instance, if an API provider publishes a new incompatible API version, existing clients might break and not function properly until they are upgraded to support the new version. Hence, applying adequate strategies for evolving service APIs is one of the core problems in API governance, which in turn is a prerequisite for successfully integrating service providers with their clients in the long run. Although many patterns and pattern languages are concerned with API and service design and related integration technologies, patterns guiding the evolution of APIs are missing to date. Extending our pattern language on Microservice API Patterns (MAP), we introduce a set of patterns focusing on API evolution strategies in this paper: API Description, Version Identifier, Semantic Versioning, Eternal Lifetime Guarantee, Limited Lifetime Guarantee, Two in Production, Aggressive Obsolescence, and Experimental Preview. The patterns have been mined from public Web APIs and industry projects the authors have been involved in.

Grafik Top
Authors
  • Lübke, Daniel
  • Zimmermann, Olaf
  • Pautasso, Cesare
  • Zdun, Uwe
  • Stocker, Mirko
Grafik Top
Shortfacts
Category
Paper in Conference Proceedings or in Workshop Proceedings (Paper)
Event Title
24th European Conference on Pattern Languages of Programs
Divisions
Software Architecture
Subjects
Software Engineering
Event Location
Irsee, Germany
Event Type
Conference
Event Dates
3rd-7th July
Date
July 2019
Export
Grafik Top