计算机工程与应用
計算機工程與應用
계산궤공정여응용
COMPUTER ENGINEERING AND APPLICATIONS
2013年
21期
106-110
,共5页
远程过程调用(RPC)%可用性%分布式系统
遠程過程調用(RPC)%可用性%分佈式繫統
원정과정조용(RPC)%가용성%분포식계통
Remote Procedure Call(RPC)%availability%distributed systems
RPC是互联网后端分布式系统的核心组件,能够降低互联网应用开发、运维成本,提高可用性和可扩展性,但是目前流行的RPC框架不能完全满足互联网应用需求。分析了互联网应用环境下RPC系统的需求,并针对需求提出了面向互联网的RPC系统RPCI。RPCI采用三层架构,将长连接服务器独立出来,以支持无状态应用服务器设计和灵活的请求路由策略,使得系统扩容、升级、运维更加容易。基于thrift实现了RPCI,优化了性能,实验结果表明,RPCI性能优秀,相比常用开源软件thrift性能提升50%以上。
RPC是互聯網後耑分佈式繫統的覈心組件,能夠降低互聯網應用開髮、運維成本,提高可用性和可擴展性,但是目前流行的RPC框架不能完全滿足互聯網應用需求。分析瞭互聯網應用環境下RPC繫統的需求,併針對需求提齣瞭麵嚮互聯網的RPC繫統RPCI。RPCI採用三層架構,將長連接服務器獨立齣來,以支持無狀態應用服務器設計和靈活的請求路由策略,使得繫統擴容、升級、運維更加容易。基于thrift實現瞭RPCI,優化瞭性能,實驗結果錶明,RPCI性能優秀,相比常用開源軟件thrift性能提升50%以上。
RPC시호련망후단분포식계통적핵심조건,능구강저호련망응용개발、운유성본,제고가용성화가확전성,단시목전류행적RPC광가불능완전만족호련망응용수구。분석료호련망응용배경하RPC계통적수구,병침대수구제출료면향호련망적RPC계통RPCI。RPCI채용삼층가구,장장련접복무기독립출래,이지지무상태응용복무기설계화령활적청구로유책략,사득계통확용、승급、운유경가용역。기우thrift실현료RPCI,우화료성능,실험결과표명,RPCI성능우수,상비상용개원연건thrift성능제승50%이상。
RPC is one of the fundamental components of distributed systems underneath popular websites, which is critical for development, maintenance and availability of Internet applications. However, popular RPC systems rarely meet all requirements of Internet applications. This paper analyzes the common RPC requirements of Internet applications. It proposes a RPCI, a RPC system designed for Internet applications. RPCI adopts a novel three tier RPC architecture including link-server, app-server and status-server. The link-server maintains connections from clients and dispatches requests to app-server based on customized routing policy, making app-server stateless, and hence system maintenance costs are reduced. RPCI is implemented based on popular open source project thrift, and experimental results show that it outperforms thrift by 50%.