Abstract
The purpose of this article is a comparative analysis of two technologies for building applications in REST architecture. A Java-based development framework - Spring, and a framework designed for JavaScript language and Node environment - Express.js were analyzed. The test application was designed and implemented in both studied technologies. Using the Apache JMeter tool, HTTP request processing times were measured by operating on simple text data. The experiment was based on 5 scenarios repeated for a different number of users in the range of 10 to 100, with a constant number of executed requests to the server. The analysis conducted showed that the application implemented in Express.js handles HTTP requests up to 249% more efficiently than its counterpart in Spring.
Reference14 articles.
1. Dokumentacja API - Meta for Developers, https://developers.facebook.com/docs/pages/publishing/, [18.06.2023].
2. Dokumentacja API - Twitter for Developers, https://developer.twitter.com/en/docs/twitter-api/tweets/
3. manage-tweets/api-reference/post-tweets, [18.06.2023].
4. M. Grudniak, M. Dzieńkowski, REST API performance comparison of web applications based on JavaScript programming frameworks, Journal of Computer Sciences Institute, 19 (2021) 121-125, https://doi.org/10.35784/jcsi.2620.
5. K. K. Dhall, A performance comparison of restful applications implemented in Spring Boot Java and MS.NET Core, Journal of Physics: Conference Series, 1933 (2021) 12-41, https://doi.org/10.1088/1742-6596/1933/1/012041.