ARCHITECTURE OF INFORMATION SYSTEM FOR FOOD WASTE MINIMIZATION ACCORDING THE “ZERO WASTE” CONCEPT

Authors

DOI:

https://doi.org/10.32851/tnv-tech.2021.6.1

Keywords:

system architecture, event-driven architecture, pattern “Publisher – Subscriber”, “food waste”, CQRS pattern

Abstract

“Zero waste” is a term that implies waste reduction in order to decrease environmental polution and save planet resources. The problem with waste is very acute in Ukraine. By reducing the amount of waste from food trade and catering, we can reduce the total amount of rubbish. This study presents an information system that aims to help decrease food waste, and is devoted to the design of the architecture of this system. Three architectures were analyzed in this study, which are monolithic architecture, microservice architecture and event-driven architecture, and their advantages and disadvantages were identified. Design decision of the project is based on microservice architecture with event-driven communication which uses CQRS-pattern, which provides for the separation of read operations from write operations. The system is build as distributed and driven by events. Events are published with the help of a modern open source messaging system called NATS. Backend services communicate using publisher-subscriber pattern which NATS service provides and REST-methods are used for client-service message exchange. Implementing the CQRS pattern helps maximize application efficiency, security, and scalability; and also allows developers to separate read and write models that can be optimized for system requirements. Application has the ability to scale to cope with increased load and designed to be easy to evolve. А high-level architecture of the system is proposed in this research. At the initial stage it includes three main microservices. Four system components and one aggregate are also presented in this paper. The basic functionality of the system is outlined in this article and its implementation is represented in the form of a sequence of system elements interaction. Further development of this work is possible in the direction of improving the functionality of existing services and developing new functionality. It is planned to bring the information system to the level of the minimum viable product (MVP).

References

Technical Platform on the Measurement and Reduction of Food Loss and Waste. Food and Agriculture Organisation of United Nations : вебсайт. URL: http://www.fao.org/platform-food-loss-waste/en/ (дата звернення: 02.06.2021 р.).

Food Wastage Footprint. Food and Agriculture Organisation of United Nations : вебсайт. URL: http://www.fao.org/nr/sustainability/food-loss-and-waste/en/ (дата звернення: 02.06.2021 р.).

Buzby J.C., Wells H.F., Hyman J. The Estimated Amount, Value, and Calories of Postharvest Food Losses at the Retail and Consumer Levels in the United States, EIB-121, U.S. Department of Agriculture, Economic Research Service. February 2014. 39 p.

Food Loss and Waste in Fish Value Chains. Food and Agriculture Organisation of United Nations : вебсайт. URL: http://www.fao.org/flw-in-fish-value-chains/valuechain/retail/restaurants-and-catering/en/ (дата звернення: 02.06.2021 р.).

World hunger: facts & how to help. World Vision : вебсайт. URL: https://www.worldvision.ca/stories/food/world-hunger-facts-how-to-help (дата звернення: 05.06.2021 р.).

Đuric’ I. Digital technology and agricultural markets – Background paper for The State of Agricultural Commodity Markets (SOCO). 2020. Rome, FAO. DOI: /10.4060/cb0701en (дата звернення: 04.06.2021 р.).

Beauty (and taste!) are on the inside. FAO. Food and Agriculture Organisation of United Nations : вебсайт. URL: http://www.fao.org/fao-stories/article/en/c/1100391/(дата звернення: 04.06.2021 р.).

Застосунок Olio. Вікіпедія: вільна енциклопедія. URL: https://en.wikipedia.org/wiki/Olio_(app) (дата звернення: 02.06.2021 р.).

Застосунок FullHarvest : вебсайт. URL: https://www.fullharvest.com (дата звернення: 02.06.2021 р.).

Harris S.A. Food Waste App OLIO Has Become A Lifeline For Those Who Can’t Afford To Feed Themselves : вебсайт. URL: https://www.huffingtonpost.co.uk/entry/food-waste-app-olio-hidden-hunger_uk_595f4212e4b0d5b458e97c36 (дата звернення: 02.06.2021 р.).

Dymoke A. Food for London: Olio, the app matching surplus food to hungry Londoners : вебсайт. URL: https://www.standard.co.uk/news/foodforlondon/food-for-london-the-app-matching-surplus-food-to-hungry-londoners-a3387641.html (дата звернення: 02.06.2021 р.).

Smith M.J. Don’t Toss That Lettuce – Share It. Stanford graduate school of business : вебсайт. URL: https://www.gsb.stanford.edu/insights/dont-toss-lettuce-share-it (дата звернення: 02.06.2021 р.).

Manning L. How Full Harvest is Using Technology to Connect the Dots in the B2B Food Waste Space. AFN : вебсайт. URL: https://agfundernews.com/how-full-harvest-is-using-technology-to-connect-the-dots-in-the-b2b-food-waste-space.html (дата звернення: 02.06.2021 р.).

Sommerville I. Software engineering. Tenth edition, global edition. Boston, Mass. Amsterdam Cape Town : Pearson Education Limited, 2016. 810 p.

Dragoni N. et al. Microservices: yesterday, today, and tomorrow. URL: http://arxiv.org/abs/1606.04036 (дата звернення: 06.06.2021 р.).

Thönes J. Microservices. IEEE Software. 2015. Vol. 32. No. 1. pp. 116. DOI: 10.1109/MS.2015.11.

Encyclopedia of database systems / ed. L. Liu, Özsu M. Tamer. New York : Springer, 2009. DOI: 10.1007/978-0-387-39940-9.

Challenges and solutions for distributed data management. Microsoft Docs : вебсайт. URL: https://docs.microsoft.com/en-us/dotnet/architecture/microservices/architect-microservice-container-applications/distributed-data-management (дата звернення: 06.06.2021 р.).

Петренко О.О. Порівняння типів архітектури систем сервісів. System Research & Information Technologies. 2015. № 4. С. 48–62.

Published

2022-02-14

How to Cite

Герасименко, О., & Фекете, Д. (2022). ARCHITECTURE OF INFORMATION SYSTEM FOR FOOD WASTE MINIMIZATION ACCORDING THE “ZERO WASTE” CONCEPT. Таuridа Scientific Herald. Series: Technical Sciences, (6), 3-14. https://doi.org/10.32851/tnv-tech.2021.6.1

Issue

Section

COMPUTER SCIENCE AND INFORMATION TECHNOLOGY