当前位置:主页 > 科技论文 > 计算机论文 >

面向有状态服务的服务永续问题研究

发布时间:2018-01-18 00:07

  本文关键词:面向有状态服务的服务永续问题研究 出处:《四川师范大学》2013年硕士论文 论文类型:学位论文


  更多相关文章: 有状态服务 分布式 Paxos 算法 服务永续 模型


【摘要】:诸如银行业务、航空预定、通信、网络支付、在线文件传输、在线视频会议等诸多行业对服务器要求甚高,几分钟的服务中断可能对这些行业造成数以万计美元的损失。服务器全天候24小时不间断的工作是这些行业追求的理想目标,服务宕机会给企业带来直接的巨额经济损失,甚至影响企业在公众中的形象。因此,这些企业不惜花费巨资来提高服务器的稳定性。如何提高系统稳定性,确保服务永续,成为迫切需要解决的问题。服务分为有状态服务和无状态服务,本文主要针对有状态服务的服务永续问题展开研究,对有状态服务和无状态服务进行了区分,建立了服务永续模型,对服务状态客户端存储、服务状态共享存储以及基于改进的Paxos算法的业务同步3种策略进行了设计与实现,设计基于分布式的文件传输系统,通过这三种策略有效解决了服务的永续问题,保证服务不中断。论文的主要工作及创新点有以下几点: (1)针对服务的状态,详尽讨论了有状态服务和无状态服务,建立了有状态服务的永续模型。该模型采用分布式架构体系,通过数学推导,能有效解决服务的可续问题。 (2)对目前解决服务永续模型的技术进行了分类归纳,总结出了三种解决服务永续问题的方案,,即服务状态客户端存储技术、基于服务状态共享存储技术以及基于Paxos算法的业务同步。 (3)深入了解分析Paxos算法,通过图形化的方式对其过程进行阐述,在此基础之上,对Paxos算法进行了改进,通过引入leader角色增强了程序的可执行性,避免了proposer角色不停请求prepare服务而导致死锁情况的发生。结合消息传递和共享内存技术,将Paxos算法由单纯的消息传递变为可使用部分共享存储技术的结合体,该改进对利用Paxos算法解决分布式下服务永续问题具有较强的价值,从理论和实践意义上保证了分布式服务的永续。 (4)结合总结出的三种解决服务永续问题的技术,通过设计分布式文件传输系统分别对服务状态客户端存储、服务状态共享存储以及改进的Paxos算法进行实验验证,尤其对改进的基于Paxos算法业务同步解决服务永续问题的方案进行了验证,并与客户端存储技术、服务端服务状态共享存储进行比较,得出改进的Paxos算法解决服务永续问题更具稳定性,执行效率更高的结论。
[Abstract]:Many industries, such as banking, aviation reservation, communications, network payment, online file transmission, online video conferencing and so on, have high requirements for servers. A few minutes of service outages could cost these industries tens of thousands of dollars. Working 24 hours a day on servers is an ideal goal for these industries. Service downtime will bring direct huge economic losses to enterprises, even affect the image of enterprises in the public. Therefore, these enterprises do not hesitate to spend a lot of money to improve the stability of the server. How to improve the stability of the system. To ensure service sustainability is an urgent problem. Services are divided into stateful services and stateless services. This paper mainly focuses on the service sustainability of stateful services. The paper distinguishes stateful service from stateless service, establishes service persistence model and stores service state client. Service state sharing storage and service synchronization based on improved Paxos algorithm are designed and implemented. A distributed file transfer system is designed. Through these three strategies, we can effectively solve the problem of service sustainability and ensure that the service will not be interrupted. The main work and innovation of this paper are as follows: 1) according to the state of the service, the paper discusses the stateful service and stateless service in detail, and establishes the sustainable model of the stateful service, which adopts the distributed architecture system and is deduced by mathematics. Can effectively solve the problem of service continuity. In this paper, the current technology of service sustainability model is classified and summarized, and three solutions to service sustainability are summarized, that is, service state client storage technology. Service state sharing storage technology and service synchronization based on Paxos algorithm. 3) deeply understand and analyze the Paxos algorithm, explain its process through graphic way, and improve the Paxos algorithm on this basis. The program's executable is enhanced by introducing the leader role. Avoid deadlock caused by the proposer role constantly requesting prepare service. Combine message passing and shared memory technology. The Paxos algorithm is changed from simple message passing to a combination of partially shared storage technology. This improvement has a strong value to solve the problem of service sustainability in distributed environment by using Paxos algorithm. In the sense of theory and practice, the sustainability of distributed services is guaranteed. Combined with the three technologies to solve the service sustainability problem, the distributed file transfer system is designed to store the service state client. The service state sharing storage and the improved Paxos algorithm are tested, especially the improved service synchronization solution based on the Paxos algorithm is verified. Compared with client storage technology and server service state shared storage, the improved Paxos algorithm is more stable and more efficient to solve the service sustainability problem.
【学位授予单位】:四川师范大学
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP368.5;TP301.6

【参考文献】

相关期刊论文 前7条

1 殷昱煜;李莹;邓水光;尹建伟;;Web服务行为一致性与相容性判定[J];电子学报;2009年03期

2 王明;张春熹;伊小素;;基于自适应心跳算法的分布式系统故障检测器[J];北京航空航天大学学报;2013年07期

3 ;中国万网推出不中断服务的新技术[J];电脑编程技巧与维护;2001年04期

4 许子灿;吴荣泉;;基于消息传递的Paxos算法研究[J];计算机工程;2011年21期

5 张文涛;彭泳;陈俊亮;;会话类E-Service的接口兼容和服务组合分析[J];计算机学报;2006年07期

6 胡昊;殷琴;吕建;;虚拟计算环境中服务行为与质量的一致性[J];软件学报;2007年08期

7 许平;;Turbo Linux Cluster集群技术研究及在ISP/ICP上的应用[J];江汉大学学报(自然科学版);2007年02期



本文编号:1438566

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1438566.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户997cf***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com