The OAuth 2.0 framework is a protocol that allows third-party applications to gain authorized access to user resources. However, inefficient token management and storage can adversely affect the workload of OAuth 2.0 systems, especially when system traffic is high, such as performance degradation, slow response time and security vulnerabilities. Therefore, token management and storage are essential in the OAuth 2.0 ecosystem to ensure user security and convenience. This research aims to analyze the impact of Redis in-memory database implementation on token management on OAuth 2.0 system performance. In addition, the research focuses on the results of load testing conducted on the OAuth 2.0 system, referring to software quality based on performance efficiency in accordance with ISO 25010, including aspects of time response, throughput and resource utilization. Load testing simulates the authentication and authorization process using the OAuth 2.0 system to observe the effect after the implementation of Redis in token management at user load levels of 100, 300, and 500. The results show that Redis has an influence on the performance of the OAuth 2.0 system on response time, throughput, and memory usage. On the aspect of CPU usage, it does not show any influence, even after Redis is implemented. The advantages of Redis can be attributed to the memory-based storage that enables faster read-write operations, especially for single data with low latency.
Mahmudin et al. (Thu,) studied this question.