分布式架构下权限认证方案的优化OA
Optimization of Permission Authentication Scheme under Distributed Architecture
随着科技的快速发展,有越来越多的计算机应用开始采用分布式架构模式.然而,这种架构模式却为应用程序权限体系的性能和安全带来了新的挑战.为此,文章提出一种全面的优化策略,采用多级缓存与分布式缓存相结合的方式来存储会话数据,使用户能够在认证过程中快速、高效地获取数据,并利用网关统一鉴权和AOP(面向切面编程)注解鉴权技术实现对不同微服务的访问控制.实验结果表明,在相同的用户请求数量下,改进后的权限认证方案可显著缩短系统的响应时间.这种优化策略通过减缓对底层数据库的频繁访问,减轻了系统负担,提升了系统的整体性能.
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.
刘家琳;杨怿;颜小芳;孙悦;赵亚伟
湖北师范大学,湖北 黄石 435002
计算机与自动化
分布式架构多级缓存分布式缓存权限认证
distributed architecturemulti-level cachedistributed cachepermission authentication
《现代信息科技》 2024 (011)
167-170,175 / 5
评论