Core Concepts
Microservices present unique data management challenges that require innovative benchmarks like Online Marketplace to address.
Abstract
The content delves into the challenges faced in managing data within microservices, introducing the Online Marketplace benchmark. It covers the abstract, application scenarios, microservice details, workload descriptions, and data management criteria. The implementation on Orleans and Statefun platforms is also discussed.
Abstract:
Introduces microservice architecture and the need for understanding data management challenges.
Presents Online Marketplace as a benchmark to address core data management issues.
Introduction:
Discusses benefits and challenges of microservice architecture.
Highlights key data management requirements in this architecture.
Application Scenario:
Describes various functionalities like Cart Management, Catalog Management, Customer Checkout, Payment Processing, etc.
Explains how different microservices interact to fulfill business transactions.
Microservices:
Details the functions of each microservice like Cart, Product, Stock, Order, Payment, Shipment, Customer, Seller.
Explains their roles in managing different aspects of the application scenario.
Workload:
Outlines four business transactions reflecting complexities in microservice interactions.
Describes continuous queries for real-time monitoring and decision-making.
Data Management Criteria:
Discusses functional decomposition, atomicity requirements, caching or replication strategies.
Covers state management constraints and event processing considerations.
Metrics & Driver:
Introduces metrics like throughput and end-to-end latency for benchmark evaluation.
Explains the functionalities of the benchmark driver in managing experiments and collecting metrics.
Example Implementations:
Orleans:
Implements Online Marketplace on Orleans framework using actors for parallelism and minimizing latency.
Statefun:
Implements Online Marketplace on Statefun platform based on stateful functions for distributed applications.
Stats
Microservices are designed to function independently but often rely on each other's data. - Rodrigo Laigner et al., University of Copenhagen
Online Marketplace is a valuable tool for testing properties sought by microservice practitioners. - Rodrigo Laigner et al., University of Copenhagen
Existing benchmarks do not fully capture real-world requirements for microservices. - Rodrigo Laigner et al., University of Copenhagen
Quotes
"Microservices are designed to function independently but often rely on each other's data." - Rodrigo Laigner et al., University of Copenhagen
"Online Marketplace is a valuable tool for testing properties sought by microservice practitioners." - Rodrigo Laigner et al., University of Copenhagen
"Existing benchmarks do not fully capture real-world requirements for microservices." - Rodrigo Laigner et al., University of Copenhagen