Handling Communication via APIs for Microservices

08/02/2023
by   Vini Kanvar, et al.
0

Enterprises in their journey to the cloud, want to decompose their monolith applications into microservices to maximize cloud benefits. Current research focuses a lot on how to partition the monolith into smaller clusters that perform well across standard metrics like coupling, cohesion, etc. However, there is little research done on taking the partitions, identifying their dependencies between the microservices, exploring ways to further reduce the dependencies, and making appropriate code changes to enable robust communication without modifying the application behaviour. In this work, we discuss the challenges with the conventional techniques of communication using JSON and propose an alternative way of ID-passing via APIs. We also devise an algorithm to reduce the number of APIs. For this, we construct subgraphs of methods and their associated variables in each class and relocate them to their more functionally aligned microservices. Our quantitative and qualitative studies on five public Java applications clearly demonstrate that our refactored microservices using ID have decidedly better time and memory complexities than JSON. Our automation reduces 40-60% of the manual refactoring efforts.

READ FULL TEXT

page 2

page 3

page 5

page 6

page 8

page 10

research
07/08/2023

Enhancing Room Security and Automating Class Attendance Using ID Cards

With the rapid advancements in technology, automation has emerged as the...
research
03/14/2018

How to Implement Dependencies in Server Pages of JEE Web Applications

Java Enterprise Edition (JEE) applications are implemented in terms of a...
research
07/18/2022

Calibrated ensembles can mitigate accuracy tradeoffs under distribution shift

We often see undesirable tradeoffs in robust machine learning where out-...
research
04/03/2019

CloudCAMP: Automating Cloud Services Deployment and Management

Users of cloud platforms often must expend significant manual efforts in...
research
09/02/2020

Towards Practical Implementations of Person Re-Identification from Full Video Frames

With the major adoption of automation for cities security, person re-ide...
research
06/06/2022

Sports Re-ID: Improving Re-Identification Of Players In Broadcast Videos Of Team Sports

This work focuses on player re-identification in broadcast videos of tea...
research
09/22/2022

Google Coral-based edge computing person reidentification using human parsing combined with analytical method

Person reidentification (re-ID) is becoming one of the most significant ...

Please sign up or login with your details

Forgot password? Click here to reset