BlendMAS: A Blockchain-Enabled Decentralized Microservices Architecture for Smart Public Safety

Ronghua Xu, Seyed Yahya Nikouei, Yu Chen, Erik Blasch, Alexander J. AvedBlockchain 2019 · DOI

TL;DR

This paper introduces BlendMAS, a novel architecture for smart public safety systems that combines microservices and blockchain to create a decentralized, scalable, and secure platform for data sharing and access control. By breaking down security functions into containerized microservices deployed on edge and fog devices, BlendMAS addresses the limitations of traditional centralized systems and monolithic architectures.

What Problem Does This Paper Address?

Modern smart public safety (SPS) systems, leveraging the Internet of Things (IoT), aim to integrate numerous heterogeneous devices for public protection. However, existing Service-Oriented Architectures (SOA) often rely on monolithic structures, making them difficult to scale and extend for distributed IoT environments. Furthermore, traditional security solutions, which typically depend on a centralized authority, introduce performance bottlenecks and single points of failure. This is particularly problematic for SPS systems that require low latency and high reliability. The paper addresses the challenge of creating a secure, scalable, and decentralized framework for SPS systems that can handle the complexities of distributed IoT environments and overcome the limitations of centralized security.

Methods

The core of BlendMAS is its BLockchain-Enabled Decentralized Microservices Architecture. This architecture leverages two key technologies:

  • Microservices Architecture: The SPS system's functionalities, especially security services, are decoupled into small, independent, containerized microservices. These microservices are designed for fine granularity and loose coupling, allowing them to be developed, deployed, and maintained independently. They are deployed across a hierarchical edge-fog-cloud computing paradigm.
  • Permissioned Blockchain Network: A private blockchain network is utilized to secure data access control and sharing. Security functions are implemented as smart contracts deployed on this blockchain. This provides a decentralized and tamper-proof ledger for transactions and agreements.

Specifically, the security mechanism involves:

  • Decoupled Security Services: Security functions like identity authentication, access control, and hashed index recording are implemented as separate microservices.
  • Smart Contracts: These microservices interact with smart contracts to enforce security policies and manage access rights.
  • Containerization: Microservices are deployed using Docker containers, facilitating easy deployment and management across heterogeneous edge, fog, and cloud nodes.
  • Identity Management: An "oracle" acts as an administrator for the permissioned blockchain, managing node registration and identification policies to ensure authorized participation.

Datasets

Not discussed in the paper. The evaluation uses a simulated test scenario with physical devices.

Key Insights and Ideas

  • Decentralization as a Security Imperative: The paper strongly advocates for decentralization in SPS systems, arguing that centralized security models are inherently vulnerable to bottlenecks and single points of failure, especially in distributed IoT environments.
  • Microservices for Agility and Scalability: The microservices approach is highlighted as crucial for building flexible, scalable, and easily maintainable SPS systems, allowing for independent updates and deployments of specific functionalities.
  • Blockchain for Trustless Security: The integration of blockchain provides a trustless mechanism for data integrity and access control, eliminating the need for a central authority to validate transactions and agreements.
  • Edge and Fog Computing Synergy: The architecture effectively distributes processing and security functions across edge and fog nodes, enabling low-latency operations for critical tasks while leveraging cloud for higher-level analytics and management.
  • Smart Contracts as Policy Enforcers: Smart contracts are presented as a powerful tool to programmatically define and enforce complex security policies in a decentralized and verifiable manner.

Key Results

The paper presents experimental results validating the feasibility and performance of BlendMAS.

  • Access Control Overhead: The computational overhead for the access control process was measured at 42.4 ms on edge devices and 14.5 ms on fog nodes. The most intensive stage was querying the smart contract for CapAC tokens.
  • Hashed Index Authentication Overhead: The overhead for hashed index authentication was 23.4 ms on edge devices and 10.9 ms on fog nodes. Querying the smart contract for hashed index values was the most time-consuming part.
  • Network Latency:
    • For the monolithic framework with access control (Mono_App), network latency was 59.9 ms on fog and 140.3 ms on edge.
  • For the microservices framework with access control (Micro_App), network latency was 133.5 ms on fog and 147.1 ms on edge.
  • The BlendMAS scheme (Micro_App) introduced additional latency compared to a benchmark without access control, but the authors argue this is offset by the benefits of decentralization and security.
  • Overall Efficiency: The experimental study concluded that BlendMAS is effective and efficient in providing secured data sharing and access control, with decentralized security mechanisms mitigating performance bottlenecks and single points of failure.

Limitations and Future Work

  • Limited Scope of Evaluation: The paper focuses on the security sub-system of a complete SPS. The full SPS prototype and its experimental evaluation are not reported due to space constraints.
  • Future Work: The authors mention that their ongoing effort is focused on further exploring micro-blockchain platforms for permissioned networks and lightweight consensus algorithms suitable for IoT devices. They also suggest deeper insights are needed for a complete decentralized and lightweight security solution for IoTs and edge computing.

Summary updated

BibTeX
@inproceedings{xu2019blendmas,
  author = {Ronghua Xu and Seyed Yahya Nikouei and Yu Chen and Erik Blasch and Alexander J. Aved},
  title = {{BlendMAS: A Blockchain-Enabled Decentralized Microservices Architecture for Smart Public Safety}},
  booktitle = {Blockchain},
  year = {2019},
  doi = {10.1109/blockchain.2019.00082},
}
Figure