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.
