- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
网络服务的高并发请求处理的实现和优化
摘 要
负载均衡技术则是如何分配服务器资源的关键方法。负载均衡可以将高并发的请求分流到我们的服务器集群之中,使每台服务器都可以在自己的负载范围之内快速的处理请求并且响应。其中,如何进行请求的分配则是一个非常重要的问题。在现实中采用的负载均衡算法,不但可以保证请求顺利的被服务器执行,而且往往可以充分的利用集群中服务器的资源,使得请求的响应时间最短,从而提升用户体验。
在过去的负载均衡算法中,往往多多少少存在一些性能问题。本文在分析与总结过去常见的负载均衡算法的优缺点之后,并结合现有的一些预测模型,提出一种基于反向传播模型的负载均衡算法。本文的主要贡献:
1.提出了基于反向模型的负载均衡算法。首先从现在常见的基于预测的负载均衡算法开始研究,讨论他们的优点与缺点。然后,针对缺点,结合现有模型,提出解决方法。更重要的是,最后根据仿真,从请求响应时间、请求失败数目等关键变量验证基于反向传播模型的负载均衡算法的优势。
2.利用session集中存储来验证性的解决session不一致的问题。总结业界较为常见的解决方案,并且会采用session集中存储的方式来验证方案的有效性。
关键字:
THE IMPLEMENTATION AND OPTIMIZATION OF HIGH CONCURRENT REQUEST PROCESSING IN NETWORK SERVICE
ABSTRACT
In the rapid development of the Internet today,The Internet company will use distributed systems to deal with the massive amounts of user access.But it is a problem that how to distribute the server resources fairly in the distributed system.
Load balancing technology is the key method to allocate server resources.Load balancing can split high concurrent requests into our server cluster so that each server can handle requests and respond quickly.Among them, how to allocate the request is a very important problem.Using load balancing algorithm, not only can ensure the smooth implementation of the server, but also can make full use of the resources of the server in the cluster, so that the response time is the shortest, so as to enhance the user experience.
There are more or less problems in the load balancing algorithm of past.After analyzing and summarizing the advantages and disadvantages of the those load balancing algorithms, this paper proposes a load balancing algorithm based on the back propagation model.The main contribution of this paper:
1.The author proposed a load balancing algorithm based on the back propagation model.First of all,we will take a study on the present load balancing algorithm based on some prediction model and discuss their advantages and disadvantages. Then, according to the shortcomings of the existing model, wo will propose a metho
文档评论(0)