Microservices: Granularity vs. Performance
This addresses performance concerns for developers and businesses using microservices in IoT applications, but it is incremental as it focuses on a specific deployment aspect.
The study investigated the impact of microservice granularity on application latency by simulating two deployment approaches: single-container versus multiple-container setups, finding a negligible increase in latency for the multiple-container deployment.
Microservice Architectures (MA) have the potential to increase the agility of software development. In an era where businesses require software applications to evolve to support software emerging requirements, particularly for Internet of Things (IoT) applications, we examine the issue of microservice granularity and explore its effect upon application latency. Two approaches to microservice deployment are simulated; the first with microservices in a single container, and the second with microservices partitioned across separate containers. We observed a neglibible increase in service latency for the multiple container deployment over a single container.