Optimization of Permission Authentication Scheme under Distributed Architecture
With the rapid development of technology,more and more computer applications are adopting distributed architecture.However,this architecture brings new challenges to the performance and security of application permission systems.Therefore,this paper proposes a comprehensive improved strategy that combines multi-level caching and distributed caching to store session data,enabling users to quickly and efficiently obtain data during the authentication process.It also utilizes gateway unified authentication and AOP(Aspect Oriented Programming)annotation authentication technology to achieve access control for different microservice.The experimental results show that under the same number of user requests,the improved permission authentication scheme can significantly reduce the response time of the system.This improved strategy reduces the system burden and improves the overall performance of the system by slowing down frequent access to the underlying database.