Transparent Restarts of Stateless Linux Services
Transparentní restart bezstavových služeb v Linuxu
bachelor thesis (DEFENDED)

View/ Open
Permanent link
http://hdl.handle.net/20.500.11956/119403Identifiers
Study Information System: 221963
Collections
- Kvalifikační práce [11325]
Author
Advisor
Consultant
Tůma, Petr
Referee
Horký, Vojtěch
Faculty / Institute
Faculty of Mathematics and Physics
Discipline
Programming and Software Systems
Department
Department of Distributed and Dependable Systems
Date of defense
7. 7. 2020
Publisher
Univerzita Karlova, Matematicko-fyzikální fakultaLanguage
English
Grade
Excellent
Keywords (Czech)
transparentní restart systemd libzedr restart bez výpadkuKeywords (English)
transparent restart systemd libzedr zero-downtime restartServery musí být čas od času aktualizovány kvůli bezpečnostním záplatám a novým funkcím. Úplné restartování provozované služby je jednoduchý způsob, jak aktualizaci provést, obvykle však vede k nákladným výpadkům. Zachováním vnitřního stavu služby a navázaných síťových spojení je možné výpadkům při restartu předejít. V současné době však neexistuje způsob, jak toho snadno a obecně dosáhnout. V práci představujeme uživatelsky přívětivou knihovnu pro Linux, která zpracovává transparentní restartování bezstavových služeb s minimálními požadavky na změnu existujícího kódu. Dále ukazu- jeme, že podpora správce služeb může výrazně zlepšit funkčnost řešení, a ke knihovně poskytujeme integraci do systemd, populárního správce služeb a init systému. 1
Services running on servers have to be updated once in a while with security patches and new features. Full-service restarts provide a simple way to update the running code, but they usually lead to costly downtime. That can, however, be avoided by preserving network connections and internal state across restarts. There is currently no general way how to do that easily. We introduce an easy-to-use library for Linux which handles transparent restarts for stateless services with minimal code requirements. We demonstrate that support from the system's service manager can significantly improve correctness. We provide an implementation of such integration into systemd, popular Linux service manager and init system. 1
Citace dokumentu
Metadata
Show full item recordRelated items
Showing items related by title, author, creator and subject.
-
Learning picture languages using restarting automata
Defence status: DEFENDEDKrtek, Lukáš (Univerzita Karlova, Matematicko-fyzikální fakulta, 2014)Date of defense: 27. 5. 2014Ačkoliv existuje mnoho modelů automatů pracujících nad dvojrozměrnými vstupy (obrázky), málokdo se dosud zabýval tématem učení těchto automatů. V této práci představujeme nový model zvaný dvojrozměrný restartovací automat ... -
Restricted Restarting Automata
Defence status: DEFENDEDČerno, Peter (Univerzita Karlova, Matematicko-fyzikální fakulta, 2015)Date of defense: 22. 9. 2015Restarting automata were introduced as a model for analysis by reduction which is a linguistically motivated method for checking correctness of a sentence. The thesis studies locally restricted models of restarting automata ... -
An environment for restarting automata
Defence status: DEFENDEDČerno, Peter (Univerzita Karlova, Matematicko-fyzikální fakulta, 2008)Date of defense: 8. 9. 2008Reštartovacie automaty sú lingvisticky motivované modely automatov, ktoré môžu byť použité napríklad na kontrolu správnosti viet. Hlavným cieľom tejto práce je vytvoriť špecializovaný program, ktorý umožní jednoduchý ...