分布式架构下权限认证方案的优化  

Optimization of Permission Authentication Scheme under Distributed Architecture

在线阅读下载全文

作  者:刘家琳 杨怿 颜小芳 孙悦 赵亚伟 LIU Jialin;YANG Yi;YAN Xiaofang;SUN Yue;ZHAO Yawei(Hubei Normal University,Huangshi 435002,China)

机构地区:[1]湖北师范大学,湖北黄石435002

出  处:《现代信息科技》2024年第11期167-170,175,共5页Modern Information Technology

摘  要:随着科技的快速发展,有越来越多的计算机应用开始采用分布式架构模式。然而,这种架构模式却为应用程序权限体系的性能和安全带来了新的挑战。为此,文章提出一种全面的优化策略,采用多级缓存与分布式缓存相结合的方式来存储会话数据,使用户能够在认证过程中快速、高效地获取数据,并利用网关统一鉴权和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.

关 键 词:分布式架构 多级缓存 分布式缓存 权限认证 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象