Ingeniería y Microservicios

URI permanente para esta colección:

Artículos en la categoría Ingeniería y Microservicios publicados en las Actas de las XVII Jornadas de Ingeniería de Ciencia e Ingeniería de Servicios (JCIS 2022).
Notificar un error en esta colección


Envíos recientes

Mostrando 1 - 5 de 5
  • Artículo
    Automated Code Generation for Inter-parameter Dependencies in REST APIs
    Barakat, Saman; Barba Roque, Enrique; Sánchez Jerez, Ana Belén; Segura Rueda, Sergio. Actas de las XVII Jornadas de Ingeniería de Ciencia e Ingeniería de Servicios (JCIS 2022), 2022-09-05.
    The generation of code templates from REST API specifications is a common practice in industry. However, existing tools neglects the dependencies among input parameters (so called inter-parameter dependencies), extremelly common in practice and usually described in natural language. As a result, developers are responsible for implementing the corresponding validation logic manually, a tedious and error-prone process. In this paper, we present an approach for the automated generation of code for inter-parameter dependencies specified using the IDL4OAS extension. As a proof of concept, we present an extension of the popular openapi-generator tool ecosystem, automating the generation of Java and Python code for the management of inter-parameter dependencies in both, servers and clients. Preliminary results show the effectiveness of the approach in accelerating the development of APIs while making them potentially more reliable.
  • Resumen
    Osmotic management of distributed complex systems: A declarative decentralised approach
    Forti, Stefano; Lera, Isaac; Guerrero, Carlos; Brogi, Antonio. Actas de las XVII Jornadas de Ingeniería de Ciencia e Ingeniería de Servicios (JCIS 2022), 2022-09-05.
    Osmotic computing encompasses emerging Cloud-Internet of Things (IoT) computing paradigms, by featuring the possibility for application services to adapt into different functionally equivalent flavours, depending on the contextually available resources and on specific requirements of running applications. This article proposes a fully decentralised declarative framework that enables both application and infrastructure operators to declare management policies for the service instances and the nodes they manage, respectively. Policies are composed of a simple and well-defined set of management operations, declared in Prolog, which trigger based on locally available contextual information on application requests and infrastructure resources. A prototype implementation of the framework is showcased and assessed via simulation over a lifelike Smart Campus use case with multiple applications, at increasing infrastructure sizes and number of mobile users. Experimental results show that the proposed management framework scales to large infrastructure sizes and suits the needs of multiflavoured Osmotic applications in dynamic deployment conditions, by improving the trade-off between their response times and suitable service usage.
  • Artículo
    Adaptación en tiempo de ejecución de fragmentos BPMN coreografiados mediante un bucle MAPE-K
    Ortiz, Jesús; Torres, Victoria; Valderas, Pedro. Actas de las XVII Jornadas de Ingeniería de Ciencia e Ingeniería de Servicios (JCIS 2022), 2022-09-05.
    Las organizaciones que basan su lógica en arquitecturas de microservicios necesitan de la composición de estos para alcanzar sus objetivos. Con el objetivo de mantener un bajo nivel de desacoplamiento entre microservicios, estos se suelen componer como coreografías basadas en eventos. Sin embargo, uno de los principales problemas que presentan las coreografías es la evolución de la composición, ya que los cambios introducidos en cualquiera de las partes deben propagarse al resto de los participantes. Basándonos en anteriores trabajos donde proponemos una arquitectura de microservicios basada en la coreografía de fragmentos BPMN para llevar a cabo composiciones de fragmentos, en este trabajo abordamos la evolución de composiciones en tiempo de ejecución. Para ello, proponemos expandir la arquitectura anteriormente propuesta con un nuevo componente que implementa un bucle de control MAPE-K. Dicho componente se encargará de identificar y clasificar los cambios producidos en tiempo de ejecución en los fragmentos que forma la composición, esto es en los microservicios, y, a partir de la aplicación de técnicas de inteligencia artificial crear un plan de adaptación que garantice la integridad de dicha composición.
  • Artículo
    Adapting embeded Tomcat to develop event-driven serverless functions
    Gutiérrez-Aguado, Juan. Actas de las XVII Jornadas de Ingeniería de Ciencia e Ingeniería de Servicios (JCIS 2022), 2022-09-05.
    The deployment of software has suffered major transformations in the last decade. The path has led us to the advent of serverless, where resources are not required to be allocated in advance, scale to zero if there are no requests thus paying only for the time the functions are running. If functions are allowed to scale to zero, it is possible that the first call will have to wait for the activation of the function and then for the generation of the response, this is known as cold start. Another important consideration, related to the previous one, is that the orchestrator will schedule the execution in a node, and if that node does not have the container image it has to be downloaded before the contanier can be started. Therefore, startup time and image size matters. This work describes an adaptation of embeded Tomcat to ease the development of event-driven functions. This approach can lead to small images, compared with other frameworks, and thus smaller response times in cold starts. Besides, smaller images and applications with less memory consumption are suitable to run in edge devices with smaller computational capabilities and memory constraints. To test the proposed modification, a function that uses YOLOv3 to detect objects in images, has been developed and deployed on Knative.
  • Artículo
    Smart LAMA API: Automated Capacity Analysis of Limitation-Aware Microservices Architectures
    Fresno-Aranda, Rafael; Fernández Montes, Pablo; Ruiz Cortés, Antonio. Actas de las XVII Jornadas de Ingeniería de Ciencia e Ingeniería de Servicios (JCIS 2022), 2022-09-05.
    The use of microservices architectures (MSA) to develop web applications has experimented a considerable increase over the last year. In an MSA, developers tend to consume external services provided by third parties. These external services usually include a pricing that comprises different plans that impose capacity limits (aka limitations) for a given price. To name an MSA which consumes external APIs with limitations, we have coined the concept of Limitation-Aware Microservices Architecture (LAMA). In this situation, when developing a LAMA, it is necessary to analyse its capacity to know how many requests it is able to serve according to the subscribed plans. This is a tedious and error-prone activity, so its automation is very valuable. In this paper we present Smart LAMA API, which is a public API that allows developers to analyse the capacity of any LAMA through three different endpoints, optimising the capacity, the cost or the time. From these endpoints, an unbounded number of other operations can be modelled.