Mobile Microservices: Building Flexible Pervasive Applications
- Length: 258 pages
- Edition: 1
- Language: English
- Publisher: CRC Pr I Llc
- Publication Date: 2022-04-15
- ISBN-10: 1032222972
- ISBN-13: 9781032222974
- Sales Rank: #0 (See Top 100 Books)
In the 5G era, edge computing and new ecosystems of mobile microservices enable new business models, strategies, and competitive advantage. Focusing on microservices, this book introduces the essential concepts, technologies, and trade-offs in the edge computing architectural stack, providing for widespread adoption and dissemination.
The book elucidates the concepts, architectures, well-defined building blocks, and prototypes for mobile microservice platforms and pervasive application development, as well as the implementation and configuration of service middleware and AI-based microservices. A goal-oriented service composition model is then proposed by the author, allowing for an economic assessment of connected, smart mobile services. Based on this model, costs can be minimized through statistical workload aggregation effects or backhaul data transport reduction, and customer experience and safety can be enhanced through reduced response times.
This title will be a useful guide for students and IT professionals to get started with microservices and when studying the use of microservices in pervasive applications. It will also appeal to researchers and students studying software architecture and service-oriented computing, and especially those interested in edge computing, pervasive computing, the Internet of Things, and mobile microservices.
Cover Page Half-Title Page Title Page Copyright Page Dedication Page Contents Preface Contributors CHAPTER 1 ◾ Introduction 1.1 Book Structure CHAPTER 2 ◾ Design Concepts for Pervasive Applications 2.1 Motivating scenario: A Smart Public Space 2.1.1 Challenges 2.1.2 Possible Solutions 2.2 Locating a Provider 2.2.1 Reactive Discovery 2.2.2 Proactive Discovery 2.2.3 Concept 1: Planning-Based Composition Announcement 2.3 Request Routing 2.3.1 Controlled Flooding 2.3.2 Directory Based 2.3.3 Overlay Based 2.3.4 Concept 2: Dynamic Controlled Flooding 2.4 Composition Planning 2.4.1 Open Service Discovery 2.4.2 Goal-Oriented Planning 2.4.3 Concept 3: Decentralised Flexible Backward Planning 2.5 Service Binding 2.5.1 QoS-Based Selection 2.5.2 Adaptable Binding 2.5.3 On-Demand Binding 2.5.4 Concept 4: Path Reliability-Driven Selection 2.5.5 Concept 5: Bind Microservices On-Demand 2.6 Service Invocation 2.6.1 Fragments Distribution 2.6.2 Process Migration Approaches 2.6.3 Concept 6: Runtime Service Announcement 2.7 Fault Tolerance 2.7.1 Preventive Adaptation 2.7.2 Composition Recovery 2.7.3 Concept 7: Local Execution Path Maintenance 2.8 Chapter Summary CHAPTER 3 ◾ Microservices Deployment in Edge/Fog Computing Environments 3.1 Edge Computing: Pervasive Application's New Enabler 3.1.1 Edge Computing and Fog Computing 3.2 Features in Edge Environments 3.2.1 Latency-Sensitive 3.2.2 Mobility is Everywhere 3.2.3 Openness of Network Systems 3.2.4 Constantly Changing Environment 3.2.5 Limited Power Supply 3.3 Fog-as-a-service Model 3.4 Edge and Fog Computing Architecture 3.5 Fog Node Overlay Network 3.6 Hierarchical Microservices Management 3.6.1 Fog Services and Service Composition 3.6.2 Proxy Fog Nodes 3.6.3 Seamless Service Invocation 3.7 Adaptability at Edge 3.7.1 Monitoring Environmental Changes 3.7.2 Adaptation Analysis Based on Deep Learning 3.7.3 Adaptation Planning Based on Reinforcement Learning 3.7.4 Strategy Execution and Knowledge Base Utilisation 3.7.5 Extension of MAPE-K Framework 3.8 Microservices Deployment and Dynamic Redeployment 3.9 Examples of Pervasive Applications at Edge 3.9.1 Mobile Video 3.9.2 Smart Home 3.9.3 Computational Offloading 3.10 Open Issues to Edge-enabled Pervasive Applications 3.10.1 End-to-End Security 3.10.2 Distributed Run-Time Management 3.10.3 Scalability and Reconfigurability 3.10.4 Predictive Fault-Tolerant 3.10.5 Intelligent Edge Computing for 6G 3.11 Chapter Summary CHAPTER 4 ◾ Microservices Composition Model 4.1 Microservice Model 4.2 Dynamic Goal-Driven Composition Planning 4.2.1 Local Service Planning 4.2.2 Complex Service Flows 4.3 Heuristic Service Discovery 4.4 Execution Fragments Selection and Invocation 4.4.1 Microservice Composite Selection and Invocation 4.4.2 Service Execution and Guidepost Adaptation 4.5 Discussion 4.5.1 Quantitative Analysis 4.5.2 Service Flows 4.5.3 Privacy and Security 4.5.4 Semantic Matchmaking 4.5.5 High Composition Demand 4.6 Chapter Summary CHAPTER 5 ◾ Cooperative Microservices Provisioning 5.1 Cooperative Caching and Selfish Caching 5.1.1 Social Behaviours in Caching 5.1.2 Social Selfishness of Service Providers 5.2 Local Optimal Caching Algorithm With Social Selfishness 5.3 Cooperative Devices 5.4 Social Selfishness-based Utility 5.4.1 Access Admission Mechanism 5.4.2 Social Group Utility Mechanism 5.5 Service Deployment and Provisioning Game 5.6 Optimal Local Service Deployment 5.6.1 Algorithm for the Caching Model 5.7 Chapter Summary CHAPTER 6 ◾ Implementation I: Service Middleware 6.1 Service Composition Architecture 6.2 Client and Provider 6.2.1 Client Engine 6.2.2 Microservices Provider 6.3 Routing Controller 6.4 Guidepost Manager 6.4.1 Adapting a Guidepost 6.4.2 Guidepost Data in Service Execution 6.5 Message Helper 6.6 Prototypes 6.6.1 Prototype on Android 6.6.2 Prototype on Ns-3 6.7 Implementation Summary CHAPTER 7 ◾ Implementation II: Artificial Intelligence Services 7.1 Service Provisioning Frameworks 7.1.1 Spring Cloud 7.1.2 Service Configuration 7.1.3 Service Registration at Edge 7.1.4 Service Gateway 7.2 Deploy AI Models 7.2.1 Packed as a Microservice 7.2.2 Microservice Deployment 7.2.3 Platforms for AI Services 7.3 Challenges for AI-based Services Composition 7.3.1 Feature Heterogeneity 7.3.2 High-Dimensional Data 7.3.3 Dynamic Raw Data 7.4 Chapter Summary CHAPTER 8 ◾ Evaluation 8.1 Evaluation Methods and Criteria 8.2 Prototype Case Study 8.2.1 Case Study Configurations 8.2.2 Samples and Results 8.2.2.1 Composition Planning Case 8.2.2.2 Adaptation Case 8.3 Simulation Studies 8.3.1 Environment Configurations 8.3.1.1 General Settings 8.3.1.2 Evaluation Scenarios 8.3.2 Baseline Approach 8.3.3 Simulation Results and Analysis 8.3.3.1 Flexibility of Service Planning 8.3.3.2 Adaptability of Composite Services 8.3.3.3 Impact of Heuristic Service Discovery 8.3.3.4 Planning Complex Service Flows 8.3.3.5 Availability of Cooperative Microservices Provisioning 8.4 Evaluation Summary 8.4.1 Service Composition 8.4.2 Cooperative Service Provisioning CHAPTER 9 ◾ Discussion and Conclusion 9.1 Achievements APPENDIX A ◾ Further Implementation Detail: Prototypes A.1 GoCoMo App A.2 GoCoMo-ns3 APPENDIX B ◾ Evaluation Results' Validity B.1 Results' Validity Using 2-Sample Z-test B.1.1 CoopC and GoCoMo's Service Discovery Delay B.1.2 CoopC and GoCoMo's Service Discovery Traffic B.1.3 CoopC and GoCoMo's Response Time B.1.4 CoopC and GoCoMo's Composition Traffic APPENDIX C ◾ Glossary of Terms Bibliography
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.