{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,10]],"date-time":"2026-05-10T06:49:47Z","timestamp":1778395787368,"version":"3.51.4"},"reference-count":66,"publisher":"MDPI AG","issue":"8","license":[{"start":{"date-parts":[[2020,4,24]],"date-time":"2020-04-24T00:00:00Z","timestamp":1587686400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Nowadays, the concept of \u201cEverything is connected to Everything\u201d has spread to reach increasingly diverse scenarios, due to the benefits of constantly being able to know, in real-time, the status of your factory, your city, your health or your smallholding. This wide variety of scenarios creates different challenges such as the heterogeneity of IoT devices, support for large numbers of connected devices, reliable and safe systems, energy efficiency and the possibility of using this system by third-parties in other scenarios. A transversal middleware in all IoT solutions is called an IoT platform. the IoT platform is a piece of software that works like a kind of \u201cglue\u201d to combine platforms and orchestrate capabilities that connect devices, users and applications\/services in a \u201ccyber-physical\u201d world. In this way, the IoT platform can help solve the challenges listed above. This paper proposes an IoT agnostic architecture, highlighting the role of the IoT platform, within a broader ecosystem of interconnected tools, aiming at increasing scalability, stability, interoperability and reusability. For that purpose, different paradigms of computing will be used, such as microservices architecture and serverless computing. Additionally, a technological proposal of the architecture, called SEnviro Connect, is presented. This proposal is validated in the IoT scenario of smart farming, where five IoT devices (SEnviro nodes) have been deployed to improve wine production. A comprehensive performance evaluation is carried out to guarantee a scalable and stable platform.<\/jats:p>","DOI":"10.3390\/s20082418","type":"journal-article","created":{"date-parts":[[2020,4,24]],"date-time":"2020-04-24T11:42:14Z","timestamp":1587728534000},"page":"2418","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":77,"title":["An IoT Platform Based on Microservices and Serverless Paradigms for Smart Farming Purposes"],"prefix":"10.3390","volume":"20","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-9304-0719","authenticated-orcid":false,"given":"Sergio","family":"Trilles","sequence":"first","affiliation":[{"name":"Institute of New Imaging Technologies, Universitat Jaume I, Av. Vicente Sos Baynat s\/n, 12071 Castell\u00f3n de la Plana, Spain"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-9016-9357","authenticated-orcid":false,"given":"Alberto","family":"Gonz\u00e1lez-P\u00e9rez","sequence":"additional","affiliation":[{"name":"Institute of New Imaging Technologies, Universitat Jaume I, Av. Vicente Sos Baynat s\/n, 12071 Castell\u00f3n de la Plana, Spain"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Joaqu\u00edn","family":"Huerta","sequence":"additional","affiliation":[{"name":"Institute of New Imaging Technologies, Universitat Jaume I, Av. Vicente Sos Baynat s\/n, 12071 Castell\u00f3n de la Plana, Spain"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2020,4,24]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"221","DOI":"10.1016\/j.future.2016.11.005","article-title":"Deployment of an open sensorized platform in a smart city context","volume":"76","author":"Trilles","year":"2017","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_2","unstructured":"Almeida, A., Mulero, R., Patrono, L., Rametta, P., Uro\u0161evi\u0107, V., and Andri\u0107, M. (2018, January 26\u201329). A Performance Analysis of an IoT-aware Elderly Monitoring System. Proceedings of the 2018 3rd International Conference on Smart and Sustainable Technologies (SpliTech), Split, Croatia."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"1645","DOI":"10.1016\/j.future.2013.01.010","article-title":"Internet of Things (IoT): A vision, architectural elements, and future directions","volume":"29","author":"Gubbi","year":"2013","journal-title":"Future Gener. Comput. Syst."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"2787","DOI":"10.1016\/j.comnet.2010.05.010","article-title":"the Internet of Things: A survey","volume":"54","author":"Atzori","year":"2010","journal-title":"Comput. Netw."},{"key":"ref_5","unstructured":"Manyika, J., Chui, M., Bughin, J., Dobbs, R., Bisson, P., and Marrs, A. (2013). Disruptive Technologies: Advances That Will Transform Life, Business, and the Global Economy, McKinsey Global Institute."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Hermann, M., Pentek, T., and Otto, B. (2016, January 5\u20138). Design principles for industrie 4.0 scenarios. Proceedings of the 2016 49th Hawaii International Conference on System Sciences (HICSS), Koloa, HI, USA.","DOI":"10.1109\/HICSS.2016.488"},{"key":"ref_7","unstructured":"Neto, A.L.M., Souza, A.L., Cunha, I., Nogueira, M., Nunes, I.O., Cotta, L., Gentille, N., Loureiro, A.A., Aranha, D.F., and Patil, H.K. (2016, January 14). AoT: Authentication and access control for the entire iot device life-cycle. Proceedings of the 14th ACM Conference on Embedded Network Sensor Systems CD-ROM, Stanford, CA, USA."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"70","DOI":"10.1109\/JIOT.2015.2498900","article-title":"Middleware for Internet of Things: A survey","volume":"3","author":"Razzaque","year":"2016","journal-title":"IEEE Internet Things J."},{"key":"ref_9","unstructured":"De, S., Barnaghi, P., Bauer, M., and Meissner, S. (2011, January 18\u201321). Service modelling for the Internet of Things. Proceedings of the Computer Science and Information Systems (FedCSIS), Szczecin, Poland."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"94","DOI":"10.5121\/ijcses.2011.2307","article-title":"Role of middleware for internet of things: A study","volume":"2","author":"Bandyopadhyay","year":"2011","journal-title":"Int. J. Comput. Sci. Eng. Surv."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"104939","DOI":"10.1016\/j.compag.2019.104939","article-title":"Architecture framework of IoT-based food and farm systems: A multiple case study","volume":"165","author":"Verdouw","year":"2019","journal-title":"Comput. Electron. Agric."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"882","DOI":"10.1016\/j.compag.2019.05.028","article-title":"MySense: A comprehensive data management environment to improve precision agriculture practices","volume":"162","author":"Morais","year":"2019","journal-title":"Comput. Electron. Agric."},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Bellavista, P., Giannelli, C., Lanzone, S., Riberto, G., Stefanelli, C., and Tortonesi, M. (2017). A middleware solution for wireless IoT applications in sparse Smart Cities. Sensors, 17.","DOI":"10.3390\/s17112525"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"139735","DOI":"10.1155\/2015\/139735","article-title":"Architecting the IoT paradigm: A middleware for autonomous distributed sensor networks","volume":"11","author":"Eleftherakis","year":"2015","journal-title":"Int. J. Distrib. Sens. Netw."},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Palade, A., Cabrera, C., White, G., Razzaque, M.A., and Clarke, S. (2017, January 12\u201315). Middleware for internet of things: A quantitative evaluation in small scale. Proceedings of the 2017 IEEE 18th International Symposium on a World of Wireless, Mobile and Multimedia Networks (WoWMoM), Macau, China.","DOI":"10.1109\/WoWMoM.2017.7974340"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Khan, R., Khan, S.U., Zaheer, R., and Khan, S. (2012, January 17\u201319). Future internet: The internet of things architecture, possible applications and key challenges. Proceedings of the  2012 10th International Conference on Frontiers of Information Technology (FIT), Islamabad, Pakistan.","DOI":"10.1109\/FIT.2012.53"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"5349894","DOI":"10.1155\/2018\/5349894","article-title":"Network protocols, schemes, and mechanisms for internet of things (iot): Features, open challenges, and trends","volume":"2018","author":"Triantafyllou","year":"2018","journal-title":"Wirel. Commun. Mob. Comput."},{"key":"ref_18","unstructured":"Marz, N., and Warren, J. (2015). Big Data: Principles and Best Practices of Scalable Real-Time Data Systems, Manning Publications Co."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"103","DOI":"10.1080\/17538947.2016.1209583","article-title":"A domain-independent methodology to analyze IoT data streams in real-time. A proof of concept implementation for anomaly detection from environmental data","volume":"10","author":"Trilles","year":"2017","journal-title":"Int. J. Digit. Earth"},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Abdmeziem, M.R., Tandjaoui, D., and Romdhani, I. (2016). Architecting the internet of things: State of the art. Robots and Sensor Clouds, Springer.","DOI":"10.1007\/978-3-319-22168-7_3"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Granell, C., Kamilaris, A., Kotsev, A., Ostermann, F.O., and Trilles, S. (2020). Internet of Things. Manual of Digital Earth, Springer.","DOI":"10.1007\/978-981-32-9915-3_11"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Villamizar, M., Garc\u00e9s, O., Castro, H., Verano, M., Salamanca, L., Casallas, R., and Gil, S. (2015, January 21\u201325). Evaluating the monolithic and the microservice architecture pattern to deploy web applications in the cloud. Proceedings of the 2015 10th Computing Colombian Conference (10CCC), Bogota, Colombia.","DOI":"10.1109\/ColumbianCC.2015.7333476"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Vresk, T., and \u010cavrak, I. (June, January 30). Architecture of an interoperable IoT platform based on microservices. Proceedings of the 2016 39th International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), Opatija, Croatia.","DOI":"10.1109\/MIPRO.2016.7522321"},{"key":"ref_24","first-page":"24","article-title":"On micro-services architecture","volume":"2","author":"Dmitry","year":"2014","journal-title":"Int. J. Open Inf. Technol."},{"key":"ref_25","unstructured":"Newman, S. (2015). Building Microservices: Designing Fine-Grained Systems, O\u2019Reilly Media, Inc."},{"key":"ref_26","doi-asserted-by":"crossref","unstructured":"Baldini, I., Castro, P., Chang, K., Cheng, P., Fink, S., Ishakian, V., Mitchell, N., Muthusamy, V., Rabbah, R., and Slominski, A. (2017). Serverless computing: Current trends and open problems. Research Advances in Cloud Computing, Springer.","DOI":"10.1007\/978-981-10-5026-8_1"},{"key":"ref_27","unstructured":"Lowery, C. (2016). Emerging Technology Analysis: Serverless Computing and Function Platform as a Service, Gartner Research."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Bandyopadhyay, S., Sengupta, M., Maiti, S., and Dutta, S. (2011). A survey of middleware for internet of things. Recent Trends in Wireless and Mobile Networks, Springer.","DOI":"10.1007\/978-3-642-21937-5_27"},{"key":"ref_29","unstructured":"Buschmann, F., Meunier, R., Rohnert, H., Sommerlad, P., and Stal, M. (1996). Software Patterns, Wiley."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Naik, N. (2017, January 11\u201313). Choice of effective messaging protocols for IoT systems: MQTT, CoAP, AMQP and HTTP. Proceedings of the 2017 IEEE International Systems Engineering Symposium (ISSE), Vienna, Austria.","DOI":"10.1109\/SysEng.2017.8088251"},{"key":"ref_31","doi-asserted-by":"crossref","unstructured":"Singhal, C., and De, S. (2017). Resource Allocation in Next-Generation Broadband Wireless Access Networks, IGI Global.","DOI":"10.4018\/978-1-5225-2023-8"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"5555","DOI":"10.3390\/s150305555","article-title":"SEnviro: A Sensorized Platform Proposal Using Open Hardware and Open Standards","volume":"15","author":"Trilles","year":"2015","journal-title":"Sensors"},{"key":"ref_33","doi-asserted-by":"crossref","unstructured":"Trilles, S., Gonz\u00e1lez-P\u00e9rez, A., and Huerta, J. (2018). A Comprehensive IoT Node Proposal Using Open Hardware. A Smart Farming Use Case to Monitor Vineyards. Electronics, 7.","DOI":"10.3390\/electronics7120419"},{"key":"ref_34","doi-asserted-by":"crossref","unstructured":"Yassein, M.B., and Shatnawi, M.Q. (2016, January 22\u201324). Application layer protocols for the Internet of Things: A survey. Proceedings of the 2016 International Conference on Engineering & MIS (ICEMIS), Agadir, Morocco.","DOI":"10.1109\/ICEMIS.2016.7745303"},{"key":"ref_35","unstructured":"Da Cruz, M.A., Rodrigues, J.J., Paradello, E.S., Lorenz, P., Solic, P., and Albuquerque, V.H.C. (2018, January 26\u201329). A Proposal for Bridging the Message Queuing Telemetry Transport Protocol to HTTP on IoT Solutions. Proceedings of the 2018 3rd International Conference on Smart and Sustainable Technologies (SpliTech), Split, Croatia."},{"key":"ref_36","doi-asserted-by":"crossref","unstructured":"Yokotani, T., and Sasaki, Y. (2016, January 7\u201310). Comparison with HTTP and MQTT on required network resources for IoT. Proceedings of the 2016 International Conference on Control, Electronics, Renewable Energy and Communications (ICCEREC), Nadi, Fiji.","DOI":"10.1109\/ICCEREC.2016.7814989"},{"key":"ref_37","unstructured":"(2020, April 14). RabbitMQ. Available online: https:\/\/www.rabbitmq.com\/."},{"key":"ref_38","unstructured":"(2020, April 14). Micro-mu. Available online: https:\/\/micro.mu\/."},{"key":"ref_39","unstructured":"(2020, April 14). InfluxDB. Available online: https:\/\/www.influxdata.com\/."},{"key":"ref_40","unstructured":"(2020, April 14). Firebase. Available online: https:\/\/firebase.google.com."},{"key":"ref_41","unstructured":"(2020, April 14). Consul by HashiCorp. Available online: https:\/\/www.consul.io\/."},{"key":"ref_42","unstructured":"(2020, April 14). Docker. Available online: https:\/\/www.docker.com."},{"key":"ref_43","doi-asserted-by":"crossref","unstructured":"Bramley, R. (2010). Precision Viticulture: Managing vineyard variability for improved quality outcomes. Managing Wine Quality: Viticulture and Wine Quality, Elsevier.","DOI":"10.1533\/9781845699284.3.445"},{"key":"ref_44","unstructured":"Goid\u00e0nich, G. (1964). Manuale di Patologia Vegetale, Edagricole."},{"key":"ref_45","doi-asserted-by":"crossref","first-page":"1137","DOI":"10.1094\/PHYTO.2003.93.9.1137","article-title":"Effects of humidity on the development of grapevine powdery mildew","volume":"93","author":"Carroll","year":"2003","journal-title":"Phytopathology"},{"key":"ref_46","doi-asserted-by":"crossref","first-page":"1649","DOI":"10.1016\/j.cropro.2011.07.020","article-title":"Simulating the susceptibility of clusters to grape black rot infections depending on their phenological development","volume":"30","author":"Molitor","year":"2011","journal-title":"Crop Prot."},{"key":"ref_47","doi-asserted-by":"crossref","first-page":"97","DOI":"10.1094\/Phyto-85-97","article-title":"Development of an infection model for Botrytis bunch rot of grapes based on wetness duration and temperature","volume":"85","author":"Broome","year":"1995","journal-title":"Phytopathology"},{"key":"ref_48","doi-asserted-by":"crossref","unstructured":"Trilles Oliver, S., Gonz\u00e1lez-P\u00e9rez, A., and Huerta Guijarro, J. (2019). Adapting Models to Warn Fungal Diseases in Vineyards Using In-Field Internet of Things (IoT) Nodes. Sustainability, 11.","DOI":"10.3390\/su11020416"},{"key":"ref_49","doi-asserted-by":"crossref","unstructured":"Gaudioso, V. (2010). Mvvm: Model-view-viewmodel. Foundation Expression Blend 4 with Silverlight, Springer.","DOI":"10.1007\/978-1-4302-2974-2_15"},{"key":"ref_50","doi-asserted-by":"crossref","unstructured":"Vandikas, K., and Tsiatsis, V. (2014, January 10\u201312). Performance evaluation of an IoT platform. Proceedings of the 2014 Eighth International Conference on Next Generation Mobile Apps, Services and Technologies, Oxford, UK.","DOI":"10.1109\/NGMAST.2014.66"},{"key":"ref_51","unstructured":"(2020, April 14). Jmeter. Available online: https:\/\/jmeter.apache.org\/."},{"key":"ref_52","unstructured":"Bobin, J. (2020, April 14). Visualizing Your Smart Home Data with the Web of Things. Available online: https:\/\/hacks.mozilla.org\/2018\/05\/visualizing-your-smart-home-data-with-the-web-of-things\/."},{"key":"ref_53","unstructured":"(2020, April 14). Cadviser. Available online: https:\/\/github.com\/google\/cadvisor."},{"key":"ref_54","doi-asserted-by":"crossref","unstructured":"Seno\u017eetnik, M., Herga, Z., \u0160ubic, T., Brade\u0161ko, L., Kenda, K., Klemen, K., Pergar, P., and Mladeni\u0107, D. (2018). IoT middleware for water management. Multidiscip. Digit. Publ. Inst. Proc., 2.","DOI":"10.3390\/proceedings2110696"},{"key":"ref_55","doi-asserted-by":"crossref","unstructured":"Cambra, C., Sendra, S., Lloret, J., and Garcia, L. (2017, January 21\u201325). An IoT service-oriented system for agriculture monitoring. Proceedings of the 2017 IEEE International Conference on Communications (ICC), Paris, France.","DOI":"10.1109\/ICC.2017.7996640"},{"key":"ref_56","doi-asserted-by":"crossref","first-page":"931","DOI":"10.1016\/j.promfg.2017.07.197","article-title":"A microservice-based middleware for the digital factory","volume":"11","author":"Ciavotta","year":"2017","journal-title":"Procedia Manuf."},{"key":"ref_57","first-page":"31","article-title":"An IoT Middleware Framework for Industrial Applications","volume":"7","author":"Gaitan","year":"2016","journal-title":"Int. J. Adv. Comput. Sci. Appl."},{"key":"ref_58","doi-asserted-by":"crossref","unstructured":"Nastic, S., Truong, H.L., and Dustdar, S. (2016, January 27\u201328). A middleware infrastructure for utility-based provisioning of iot cloud systems. Proceedings of the 2016 IEEE\/ACM Symposium on Edge Computing (SEC), Washington, DC, USA.","DOI":"10.1109\/SEC.2016.35"},{"key":"ref_59","doi-asserted-by":"crossref","unstructured":"Akpolat, C., Sahinel, D., Sivrikaya, F., Lehmann, G., and Albayrak, S. (2017, January 3\u20136). CHARIOT: An IoT Middleware for the Integration of Heterogeneous Entities in a Smart Urban Factory. Proceedings of the 2017 Conference on Computer Science and Information System, Czech Republic, Prague.","DOI":"10.15439\/2017F527"},{"key":"ref_60","unstructured":"Mandava, T., Chen, S., Isafiade, O., and Bagula, A. (2018, January 9\u201311). An IoT Middleware for Air Pollution Monitoring in Smart Cities: A Situation Recognition Model. Proceedings of the IST Africa 2018 Conference, Gabarone, Botswana."},{"key":"ref_61","doi-asserted-by":"crossref","unstructured":"Zaragoz\u00ed, B.M., Trilles, S., and Navarro-Carri\u00f3n, J.T. (2020). Leveraging Container Technologies in a GIScience Project: A Perspective from Open Reproducible Research. ISPRS Int. J. Geo-Inf., 9.","DOI":"10.3390\/ijgi9030138"},{"key":"ref_62","doi-asserted-by":"crossref","unstructured":"Pramukantoro, E.S., Yahya, W., and Bakhtiar, F.A. (2017, January 28\u201329). Performance evaluation of IoT middleware for syntactical Interoperability. Proceedings of the 2017 International Conference on Advanced Computer Science and Information Systems (ICACSIS), Bali, Indonesia.","DOI":"10.1109\/ICACSIS.2017.8355008"},{"key":"ref_63","doi-asserted-by":"crossref","first-page":"4143","DOI":"10.1109\/JSEN.2014.2339931","article-title":"Mobile access to sensor networks by using GIS standards and restful services","volume":"14","author":"Trilles","year":"2014","journal-title":"IEEE Sens. J."},{"key":"ref_64","unstructured":"Liang, S., Huang, C., and Khalafbeigi, T. (2016). OGC\u00ae SensorThings API, Open Geospatial Consortium."},{"key":"ref_65","doi-asserted-by":"crossref","unstructured":"Botts, M., Percivall, G., Reed, C., and Davidson, J. (2008). OGC\u00ae sensor web enablement: Overview and high level architecture. GeoSensor Networks, Springer.","DOI":"10.1007\/978-3-540-79996-2_10"},{"key":"ref_66","first-page":"154176","article-title":"A socio-physical and mobility-aware coalition formation mechanism in public safety networks","volume":"4","author":"Tsiropoulou","year":"2018","journal-title":"EAI Endorsed Trans. Future Internet"}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/20\/8\/2418\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,13]],"date-time":"2025-10-13T13:45:25Z","timestamp":1760363125000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/20\/8\/2418"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2020,4,24]]},"references-count":66,"journal-issue":{"issue":"8","published-online":{"date-parts":[[2020,4]]}},"alternative-id":["s20082418"],"URL":"https:\/\/doi.org\/10.3390\/s20082418","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2020,4,24]]}}}