[Web Scalability] Web Services

Designing Web Services

  • Monolithic architecture
  • API-First Approach

API-First Approach

  • API-first: designing and building API contract first and then building clients consumig the API and the implementation of the web service
    • All of the clients use the same API interface when talking to the web application
    • Developing and changing client code becomes easier
    • Easy to scale: can using functional partitioning and divide web services layer into smaller services

Types of Web Services

Function-Centric Services