[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/3312614.3312645acmotherconferencesArticle/Chapter ViewAbstractPublication PagescoinsConference Proceedingsconference-collections
research-article

Towards Distributed Runtime Monitoring with C++ Contracts

Published: 05 May 2019 Publication History

Abstract

Design by Contract supports the specification of the intended behavior of a software component at its interfaces. Out of these specifications, runtime monitors can be generated. While those runtime monitors check the correct behavior of the software component, they are usually executed on the same processor as the monitored software and therefore prone against the same possible hardware failures.
This work proposes an approach for distributed runtime monitors in order to increase the overall robustness of the system. Runtime monitors will be derived from contract specifications and then check the fulfillment of assumptions and guarantees during runtime. While deployed onto a multiprocessing system the contract checks can detect permanent hardware failures. Also, there are some scenarios where the parallel execution of the contract checks might be sensible. Therefore, this approach arguably increases the safety benefit of contracts and at the same time, leaves potential to further decrease the added execution time overhead.
A first prototype of our approach was implement and tested. Experiments regarding the performance showed that the execution time doubled when distributed runtime monitors were used.

References

[1]
Boost.Contract 1.0.0 - 1.68.0, Aug 2018.
[2]
Support for contract based programming in C++, Oct 2018.
[3]
Ferrante, O., Passerone, R., Ferrari, A., Mangeruca, L., Sofronis, C., and D'Angelo, M. Monitor-based runtime contract verification of distributed systems. In SIES, 2014 (2014), IEEE, pp. 1--4.
[4]
Illarramendi, M., Etxeberria, E., Sagardui, G., and Elkorobarrutia Letona, X. Runtime Contracts Checker: Increasing Robustness of Component-Based Software Systems.
[5]
Meyer, B. Object-Oriented Software Construction, 1st ed. 1988.
[6]
Nandi, C., Monot, A., and Oriol, M. Stochastic contracts for runtime checking of component-based real-time systems. CoRR abs/1501.02336 (2015).

Cited By

View all
  • (2020)Measurement-based Online Verification of Timing Properties in Distributed Systems2020 International Conference on Omni-layer Intelligent Systems (COINS)10.1109/COINS49042.2020.9191647(1-6)Online publication date: Aug-2020

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Other conferences
COINS '19: Proceedings of the International Conference on Omni-Layer Intelligent Systems
May 2019
241 pages
ISBN:9781450366403
DOI:10.1145/3312614
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 05 May 2019

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Design by Contract
  2. runtime monitoring

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Funding Sources

Conference

COINS '19

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)2
  • Downloads (Last 6 weeks)0
Reflects downloads up to 20 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2020)Measurement-based Online Verification of Timing Properties in Distributed Systems2020 International Conference on Omni-layer Intelligent Systems (COINS)10.1109/COINS49042.2020.9191647(1-6)Online publication date: Aug-2020

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media