Table of Contents
Fetching ...

LEISA: A Scalable Microservice-based System for Efficient Livestock Data Sharing

Mahir Habib, Muhammad Ashad Kabir, Lihong Zheng

TL;DR

LEISA presents a scalable microservice-based architecture for real-time livestock event data sharing, addressing interoperability, data integrity, and ownership. It combines Domain-Driven Design with a hybrid API and message-broker approach, implemented on Azure with RabbitMQ and a two-table LEISA database schema, to decouple producers and consumers while enabling dynamic routing. The evaluation demonstrates strong performance, scalability, and reliability across core microservices under increasing load, supported by rigorous metrics including mean execution time, throughput, and CV. Collectively, LEISA enables real-time decision support, improved data standardisation, and broader data sharing across stakeholders in the red meat supply chain. The work lays a foundation for extensibility to additional data types and integration with AI or blockchain-enabled workflows in future work.

Abstract

In the livestock sector, the fragmented data landscape across isolated systems presents a significant challenge, necessitating interoperability and integration. In this article, we introduce the Livestock Event Information Sharing Architecture (LEISA), a novel architecture designed to facilitate the sharing of livestock event information among various stakeholders, such as farmers and service providers. We comprehensively analysed both functional and non-functional requirements of such an architecture to ensure data integrity, standardisation, validation, ownership, and real-time data dissemination across various stakeholders while maintaining reliability, scalability, and interoperability. We designed and implemented LEISA using a cloud-based microservice architecture incorporating advanced technologies such as RESTful APIs and message brokers. We evaluated the efficiency and effectiveness of LEISA in terms of performance, scalability, and reliability, and examined its applicability through several real-world use-case scenarios. LEISA facilitates seamless data sharing, system interoperability, and enhanced decision-making capabilities, promoting synergy among stakeholders.

LEISA: A Scalable Microservice-based System for Efficient Livestock Data Sharing

TL;DR

LEISA presents a scalable microservice-based architecture for real-time livestock event data sharing, addressing interoperability, data integrity, and ownership. It combines Domain-Driven Design with a hybrid API and message-broker approach, implemented on Azure with RabbitMQ and a two-table LEISA database schema, to decouple producers and consumers while enabling dynamic routing. The evaluation demonstrates strong performance, scalability, and reliability across core microservices under increasing load, supported by rigorous metrics including mean execution time, throughput, and CV. Collectively, LEISA enables real-time decision support, improved data standardisation, and broader data sharing across stakeholders in the red meat supply chain. The work lays a foundation for extensibility to additional data types and integration with AI or blockchain-enabled workflows in future work.

Abstract

In the livestock sector, the fragmented data landscape across isolated systems presents a significant challenge, necessitating interoperability and integration. In this article, we introduce the Livestock Event Information Sharing Architecture (LEISA), a novel architecture designed to facilitate the sharing of livestock event information among various stakeholders, such as farmers and service providers. We comprehensively analysed both functional and non-functional requirements of such an architecture to ensure data integrity, standardisation, validation, ownership, and real-time data dissemination across various stakeholders while maintaining reliability, scalability, and interoperability. We designed and implemented LEISA using a cloud-based microservice architecture incorporating advanced technologies such as RESTful APIs and message brokers. We evaluated the efficiency and effectiveness of LEISA in terms of performance, scalability, and reliability, and examined its applicability through several real-world use-case scenarios. LEISA facilitates seamless data sharing, system interoperability, and enhanced decision-making capabilities, promoting synergy among stakeholders.
Paper Structure (26 sections, 4 equations, 17 figures, 4 tables)

This paper contains 26 sections, 4 equations, 17 figures, 4 tables.

Figures (17)

  • Figure 1: The Livestock Event Information Sharing Architecture (LEISA) Overview
  • Figure 2: LEISA layers overview
  • Figure 3: Domain-Driven Design layers for microservice-based application (adopted from torre2023designing)
  • Figure 4: DDD structure for five core microservices—MessageValidator, ServiceRegistration, SetQueueMapping, PublishMessage, and consumeMessage—demonstrating the distinct responsibilities of each layer
  • Figure 5: Registration process for producers and consumers within the LEISA architecture, showing interaction with the ServiceRegistration microservice to establish service credentials and queue associations
  • ...and 12 more figures