Dinamisku tīmekļa risinājumu izstrāde Ruby on Rails ietvarā, izmantojot WebSocket tehnoloģiju
Author
Skrabutena, Ieva
Co-author
Latvijas Universitāte. Datorikas fakultāte
Advisor
Mikoss, Toms
Date
2020Metadata
Show full item recordAbstract
Bakalaura darba ietvaros tika apskatīta WebSocket protokola implementācija, kas ir pamatā dinamiskās tīmekļa sistēmās Ruby on Rails ietvarā – ietvarā iebūvētais Action Cable, un kopienas veidotais AnyCable, kas ir Action Cable papildinājums. Bibliotēka AnyCable piedāvā iespēju kā WebSocket serveri izmantot kādu jau no implementētajiem variantiem vai izmantot citu ar AnyCable savietojamu WebSocket serveri, kas var būt arī paša veidots. Bakalaura darba rezultātā tika izstrādāta ar AnyCable savietojama WebSocket servera programmatūra Rust programmēšanas valodā, kas ir konkurētspējīga pašreiz pieejamajiem Ruby on Rails savietojamiem WebSocket tehnoloģijas risinājumiem, etalonuzdevumos uzrādot labākus rezultātus, pateicoties Rust programmēšanas valodas īpašībām. In this bachelor's thesis the author examined the WebSocket protocol solutions used for developing dynamic systems when using the Ruby on Rails framework - the ActionCable library, which is already built into Ruby on Rails, and the AnyCable library which is an extension of the ActionCable library developed by the community. The Anycable library can be utilised in tandem with one of the already existing AnyCable-compatible servers, that have been developed by the authors of Anycable, or alternatively, one can develop a custom Anycable-compatible server. Resulting from this bachelor's thesis the author developed a new Anycable-compatible server using the Rust programming language. The created server performs comparatively to the already existing solutions, having better results in benchmarks, due to the properties of the Rust programming language.