University of Peloponesse
Challenges and opportunities for OSS web applications development: a study on distributed architecture efficiency, performance optimization, complexity suppression, package discoverability and issues normalization
Abstract
dc:descriptionThis thesis describes a mostly JavaScript (JS) based distributed architecture, suitable for modern Web application development, identifies incompatibility and complexity challenges, and provides potential solutions. By conducting a series of stress tests, on popular server side technologies, the conventional PHP/Apache stack was found inefficient to address the increasing demand in network traffic. NGINX performed more than 2.5 times faster in Input/Output (I/O) operations than Apache, whereas Node.js outperformed both. Node.js, although excellent in I/O operations and resource utilization, was found lacking when serving static files using its built-in Hypertext Transfer Protocol (HTTP) server, while NGINX performed great at this task. So, in order to address efficiency, an NGINX server could be placed in-front and proxy static file requests, allowing the Node.js processes to only handle dynamic content.Rust was found to enhance the performance by a factor of 5 times over the equivalent JS code without performing additional optimizations, and displayed up to 7 times greater performance than Node.js’ concurrency mechanism without alterations to the embedded scheduler. The findings provide substantial evidence that Rust is capable of providing the low-level features needed for non-blocking operations and hardware access, while maintaining high-level similarities to JS, aiding productivity.Furthermore, a prototype framework is presented, which utilizes the Rust and JS programming languages, as well as their respective ecosystems, alongside the WebAssembly state-of-the-art Web standard, for achieving boosted exposure for hard-to-find C/C++ Open Source Software (OSS) components. Provided metrics exhibit a more than twofold increase in downloads for a re-packaged library, superior discoverability compared to standard public OSS code repositories, as well as evidence that Web browser vendors invest heavily in optimizing the underlying runtime.Finally, a qualitative study has been performed on the Open Source Stack Exchange site in order to cluster and categorize common problems OSS developers encounter. The problems discussed have been separated into 26 categories of problems, and grouped into 6 clusters. Results show that posts on license texts/conditions and license/copyright notices are more common, whereas posts on license differences are the most popular in terms of views by other users.
Degree
thesis:*- Grantor dc:publisher
- University of Peloponesse
- Year dc:date
- 2023
Author and committee
dc:creator, dc:contributor.*- Authors dc:creator
-
- Kyriakou, Kyriakos- Ioannis
- Κυριακού, Κυριάκος-Ιωάννης
Subjects
dc:subject × 31- C
- C++
- Μεταγλώττιση γλωσσών σε JavaScript
- Λογισμικό ανοιχτού κώδικα
- JavaScript
- Node.js
- Rust
- Ιστός Πραγματικού-Χρόνου
- Κλιμάκωση
- Σύγκλιση λογισμικού
- Ανακάλυψη λογισμικού
- Αξιολόγηση/Βελτιστοποίηση απόδοσης λογισμικού
- Stack Exchange
- Transcompilers
- WebAssembly
- WebRTC
- WebSockets
- Compile-to-JavaScript Languages
- Free Open Source Software
- Real-time Web
- Scalability
- Software Convergence
- Software Discoverability
- Software Interoperability
- Software Performance Evaluation/Optimization
- Επιστήμη Ηλεκτρονικών Υπολογιστών και Πληροφορική
- Φυσικές Επιστήμες
- Λογισμικό (software)
- Computer and Information Sciences
- Natural Sciences
- Software
Rights
- Language dc:language
- eng
Identifiers
dc:identifier.*- Identifier
- 10.12681/eadd/53362