节点文献
基于Reactor模式的高性能反向代理服务器设计
Design of High Performance Reverse Proxy Server Based on Reactor Mode
【摘要】 针对当前很多中小型网站并发性能不佳,提出了一种Linux平台下基于Reactor模式的反向代理服务器XProxy的设计和实现。XProxy通过C++网络编程实现,支持内存级缓存、分布式缓存,同时采用智能指针和互斥锁来优化读写锁、基于业务优化Hybrid缓存置换算法,支持大并发,兼具好可靠性和低延迟等特点。分别就XProxy整体架构和设计思路进行了说明,并对XProxy进行压力测试。
【Abstract】 Aiming at the problem of the concurrent bad performance of small and medium sized websites, a design and implementation of the high performance reverse proxy at Linux platform named XProxy is proposed. This system is realized by C++ network program, and it has support memory cache, distributed cache. At the same time, smart pointer and mutex are used to optimize read-write lock, and Hybrid cache replacement algorithm is optimized based on the business. In this paper, the overall structure and design idea of XProxy are described, XProxy is tested by webBench.
【Key words】 reverse proxy server; Reactor mode; memory cache; concurrent performance;
- 【文献出处】 自动化技术与应用 ,Techniques of Automation and Applications , 编辑部邮箱 ,2019年03期
- 【分类号】TP368.5
- 【被引频次】6
- 【下载频次】140