• No results found

Dynamically reconfigurable resource-aware component framework: architecture and concepts

N/A
N/A
Protected

Academic year: 2021

Share "Dynamically reconfigurable resource-aware component framework: architecture and concepts"

Copied!
5
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

Dynamically reconfigurable resource-aware component

framework: architecture and concepts

Citation for published version (APA):

Orlic, B., David, I., Mak, R. H., & Lukkien, J. J. (2011). Dynamically reconfigurable resource-aware component framework: architecture and concepts. In I. Crnkovic, V. Gruhn, & M. Book (Eds.), Software Architecture (5th European Conference, ECSA 2011, Essen, Germany, September 13-16, 2011. Proceedings) (pp. 212-215). (Lecture Notes in Computer Science; Vol. 6903). Springer. https://doi.org/10.1007/978-3-642-23798-0_23

DOI:

10.1007/978-3-642-23798-0_23 Document status and date: Published: 01/01/2011

Document Version:

Publisher’s PDF, also known as Version of Record (includes final page, issue and volume numbers)

Please check the document version of this publication:

• A submitted manuscript is the version of the article upon submission and before peer-review. There can be important differences between the submitted version and the official published version of record. People interested in the research are advised to contact the author for the final version of the publication, or visit the DOI to the publisher's website.

• The final author version and the galley proof are versions of the publication after peer review.

• The final published version features the final layout of the paper including the volume, issue and page numbers.

Link to publication

General rights

Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. • Users may download and print one copy of any publication from the public portal for the purpose of private study or research. • You may not further distribute the material or use it for any profit-making activity or commercial gain

• You may freely distribute the URL identifying the publication in the public portal.

If the publication is distributed under the terms of Article 25fa of the Dutch Copyright Act, indicated by the “Taverne” license above, please follow below link for the End User Agreement:

www.tue.nl/taverne

Take down policy

If you believe that this document breaches copyright please contact us at:

openaccess@tue.nl

providing details and we will investigate your claim.

(2)

I. Crnkovic, V. Gruhn, and M. Book (Eds.): ECSA 2011, LNCS 6903, pp. 212–215, 2011. © Springer-Verlag Berlin Heidelberg 2011

Component Framework: Architecture and Concepts

Bojan Orlic, Ionut David, Rudolf H. Mak, and Johan J. Lukkien

Eindhoven University of Technology, Eindhoven, The Netherlands

{b.orlic,i.david,r.mak,j.j.lukkien}@tue.nl

Abstract. Applications executed on a shared distributed platform compete for

resources provided by the platform. In case these applications have highly fluc-tuating resource demands, a software architecture is required that provides sup-port for runtime resource management. In position paper [1], we have proposed such architecture and have introduced its key concepts and entities. In this pa-per, we introduce a metamodel that captures the key concepts and we identify lifecycle models for both applications and individual components. A set of dy-namic reconfiguration strategies is introduced and their relationship to the stag-es of the application lifecycle is given.

Keywords. Component framework, networked services, resource management,

dynamic reconfiguration, application lifecycle, component lifecycle.

1 Introduction

The key idea behind the component-based software engineering (CBSE) approach to software development is to enable 3rd party composition in the process of system engineering and in that way facilitate building complex systems from predefined building blocks [2]. Composition of components is supported by component frame-works which address the component model, as well static (design time) and dynamic (run time) aspects of composition. We are interested in CBSE for distributed systems with limited resources, where resources concern processing power, memory capacity and network bandwidth. Resource management, however, is rarely addressed by a software component framework, and if it is, it is limited to static resource reserva-tions. We target applications with highly fluctuating resource demands (e.g. video processing applications) in which static reservations are not suitable as they result in inefficient resource usage. For the combination of efficient runtime resource man-agement and dynamic component composition a special architecture is needed. In this paper we further develop the architecture proposed in [1]. We choose to realize applications using the SOA style by connecting networked services, which allows us to include structural reconfiguration in our resource management strategies.

2 Architecture Description

Figure 1 gives a metamodel that specifies key abstractions of our architecture. The system layer contains a single resource manager that is in charge of all resources

(3)

Dynamically Reconfigurable Resource-Aware Component Framework 213

Fig. 1. Metamodel defining basic concepts, entities and interconnection mechanisms

provided by the nodes of the distributed platform. To perform its management tasks it deploys the services of local device managers, as shown in the resource layer. These services comprise installation and instantiation of components, monitoring their re-source usage, and enforcement of rere-source reservations (budgets). In the application layer, orchestrator entities are responsible for the composition, deployment and opera-tion of an applicaopera-tion. Each applicaopera-tion in the system will have a dedicated orchestra-tor. Since our applications are built from reusable and discoverable components whose instantiation, composition, and deployment can be performed in the SOA style, the system layer of our architecture also contains a repository of services and corres-ponding components that are available in the system. Applications are composed from services through binding provided and required interfaces. Docks are units of the deployment of the system that can host one or more components.

The lifecycles of applications and components, depicted in Figure 2, involve two main stakeholders – application designer and application operator. A designer can create applications either ad-hoc at runtime or he can define and save an application as a set of possible configurations. In the latter case, the operator chooses when to start the application, and the actual configuration is selected at runtime through nego-tiation between the resource manager, the orchestrator and the operator. The applica-tion lifecycle consists of composiapplica-tion, deployment and operaapplica-tion phases. In general, resource management decisions taken in the operation phase (marked 1 to 5) require revision of activities in the other two phases (steps A to E). In step A, the application designer composes an application from services available in the repository. In step B, he selects components that implement those services. During the composition phase, the application designer is also allowed to enter constraints for steps of the deploy-ment phase, such as mapping of components to nodes (C), setting of QoS levels (D)

(4)

and allocation of budgets to components (E). Thus, prior to runtime, it is possible to specify a number of different configurations as well as the reconfiguration strategy (the logic that stipulates when to select which configuration).

Fig. 2. Application and component lifecycles

In the operation phase, resource supply and usage is monitored and analyzed. If needed, dynamic reconfiguration is applied. In order of increasing severity we distin-guish: 1) Realigning resource budgets. 2) QoS adaptation, in which service levels are adjusted to resource availability. It includes realigning local resource reservations and resolving dependencies between QoS levels of an application’s components, e.g., the frame rate. 3) Reallocation, where components are migrated to nodes that better fit their resource demands. 4) Replacement of components by others that offer the same service but at a different resource demand. 5) Reconstruction of application structure, in which services are added, replicated, replaced, or removed.

The component lifecycle is specific to our framework and in accordance with the application lifecycle. The component development phase includes specification, im-plementation and instrumentation. The outcome of the instrumentation is a component deployable on a specific OS and compatible with our framework. Such a wrapped component is stored in the repository. The component deployment phase starts when a component is needed in some application and includes activities such as installation, instantiation, termination and uninstalling. In the component operation phase, the instantiated component can undergo binding, activation, deactivation and unbinding.

(5)

Dynamically Reconfigurable Resource-Aware Component Framework 215

3 Conclusions and Future Work

In this paper, we have described a resource-aware component based architecture. Similar to others we identify three layers [3], and distinguish between local and global resource management [4], [5] and [6]. As in [7] and [8] resource management is com-bined with plugin framework and SOA technologies. In contrast to all frameworks cited, our framework allows structural changes as part of resource management strat-egies, and defines application and component lifecycles.

Current work involves implementing the framework and definition of models for resource usage prediction. Future work includes introducing resource management policies and assigning those activities to framework entities.

References

1. David, I., Orlic, B., Mak, R., Lukkien, J.J.: Towards Resource-Aware Runtime Reconfigur-able Component-Based Systems. In: Proceedings of the 6th World Congress on Services, SERVICES 2010, Miami FL, USA, pp. 465–466 (2010)

2. Szyperski, C.: Component Software: Beyond Object-Oriented Programming, 2nd edn. Ad-dison-Wesley, Reading (2002)

3. Koulamas, C., Prayati, A., Papadopoulos, G.: A Framework for the implementation of Adaptive Streaming Systems. In: Proceedings of the 3rd ACM Workshop on Wireless Mul-timedia Networking and Performance Modeling (WMuNeP 2007), pp. 23–26 (2007) 4. Sachs, D.G.: A New Framework for Hierarchical Cross-layer Adaptation, Ph.D.

disserta-tion, University of Illinois at Urbana-Champaign (2006)

5. Rizvanovic, L., Fohler, G.: The MATRIX: A Framework for Streaming in Heterogeneous Systems. In: RTMM - International Workshop on Real-Time for Multimedia, Italy (2004) 6. Kersten, B., van Rens, K., Mak, R.: ViFramework: A framework for networked video

streaming components. In: Proceedings of the 2011 International Conference on Parallel and Distributed Processing Techniques and Applications, PDPTA 2011 (2011)

7. Korostelev, A., Lukkien, J.J., Nesvadba J., Qian Y.: QoS Management in Distributed Ser-vice Oriented Systems. In: Parallel and Distributed Computing and Networks (2007) 8. Chen, S., Lukkien, J.J., Verhoeven, R., Vullers, P., Petrovic, G.: Context- Aware Resource

Management for End-to-End QoS Provision in Service Oriented Applications. In: Proceed-ings of the Workshop on Service Discovery and Composition in Ubiquitous and Pervasive Environments (SUPE 2008), pp. 1–6 (2008)

Referenties

GERELATEERDE DOCUMENTEN

H3: Consumers will have more positive behavioural intentions towards food companies with an environmental focus of CSR communication than with a socioeconomic focus; and the

Tabel 7.1 Overschotten (geschat) voor stikstof, fosfaat en kali in 1997 voor de provincie Zuid-Holland, naar de belangrijkste grondgebruiksvormen grasland, akkerbouw en glastuinbouw

Note on the spatial distance of lines, line bisectors and certain related linear complexes.. (Eindhoven University of Technology : Dept of Mathematics :

’n Studie deur Odendaal (2016) oor Weg!- tydskrifte se gebruik van sosiale media, maak melding van die titel se druk- en nie-media- uitbreidings, maar die onderwerp word nie in

Ontvangt de bewoner niet de zorg zoals in het kwaliteitskader staat?. Dan kunnen bewoners en naasten daar met medewerkers of managers van het verpleeghuis

Wolharige mammoet Splinters van grote ledemaatbeenderen, zoals Fragmenten van verschillende grote beenderen.. Weinig Mammuthus primigenius humerus (opperarmbeen), femur (dijbeen),

The staff of the National Archives of South Africa, Pretoria; the University of the Free State library, Bloemfontein; the National Archive of the United

• “.. produce and promote a Forest Code for visitors for responsible use”.. D) Green Belt & Colne Valley & regional plans Colne Valley Regional Park. Partnership of