Bachelor's Thesis
Plugins for Efficient Datastore in the Sysrepo Library
Final Thesis 856.24 kB Appendix 2.25 MBAuthor of thesis: Bc. Ondrej Kušnírik
Acad. year: 2023/2024
Supervisor: Ing. Jiří Matoušek, Ph.D.
Reviewer: doc. Ing. Tomáš Martínek, Ph.D.
Abstract:This work concerns an introduction to the sysrepo library and its datastore plugins, problems with storing data to files and solving these problems by connecting a database to the sysrepo library. In short, this library serves as a complex repository for configuration YANG data on Unix/Linux systems. Data, which the default plugin stores in files, cannot be managed fast and efficiently enough causing overall slowdown of data management. A database connected to the sysrepo library via a datastore plugin could however solve this issue. After comparing different databases, two were selected (MongoDB and Redis) based on work efficiency with YANG data and other qualities. The datastore plugins were then implemented for these databases, optimized and tested for performance at the end. In comparison to the original plugin based on files, the plugins based on databases primarily excel at management of low amounts of data, where for instance the loading of an element from one hundred thousand is faster by up to three orders of magnitude.
sysrepo, YANG, database, datastore plugin, MongoDB, Redis
Date of defence
12.06.2024
Result of the defence
Defended (thesis was successfully defended)
Grading
A
Process of defence
Student nejprve prezentoval výsledky, kterých dosáhl v rámci své práce. Komise se poté seznámila s hodnocením vedoucího a posudkem oponenta práce. Student následně odpověděl na otázky oponenta a na další otázky přítomných. Komise se na základě posudku oponenta, hodnocení vedoucího, přednesené prezentace a odpovědí studenta na položené otázky rozhodla práci hodnotit stupněm A.
Topics for thesis defence
- Jakým způsobem výkonnost pluginů ovlivňují úpravy spojené s uživatelem řazenými seznamy?
- Jaký vliv na výkonnost má samotná knihovna sysrepo? Co se vyplatí optimalizovat jako první?
- Co byste optimalizoval jako první?
Language of thesis
Czech
Faculty
Department
Study programme
Information Technology (BIT)
Composition of Committee
doc. Dr. Ing. Dušan Kolář (předseda)
Ing. Vladimír Bartík, Ph.D. (člen)
Ing. Jaroslav Dytrych, Ph.D. (člen)
doc. Mgr. Adam Rogalewicz, Ph.D. (člen)
Ing. Marcela Zachariášová, Ph.D. (člen)
Supervisor’s report
Ing. Jiří Matoušek, Ph.D.
Grade proposed by supervisor: A
Reviewer’s report
doc. Ing. Tomáš Martínek, Ph.D.
Grade proposed by reviewer: B