Squbs 用于大规模的生产部署开源项目

我要开发同款
匿名用户2016年08月19日
165阅读

技术信息

行业分类
云计算
开源地址
https://github.com/paypal/squbs/
授权协议
Apache

作品详情

Squbs是一个起源于eBay和PayPal的开源项目。

Squbs是一个软件容器,一套能实现AkkaadSpray应用/服务在大规模管理、云服务中标准化和运作的组件。

squbsCompoets

Uicomplex:Themicro-cotaierthatbootstrapsadstadardizesthedeploymetofAkka/Sprayapplicatiosadhowtheyarecofigured,allowigteamsotherthaPDtouderstadthecofiguratioadtweakthecofiguratioofapplicatios,partlyatrutime,aseeded.Iadditio,theUicomplexecouragescoexisteceofdifferetmodules,calledcubes,ad/oroperatioaltooligiaflexible,loosely-coupledfashiothatwilloticuraycodechageiordertoicludeewopstooligordropout/chagesomeopstoolig.Foristace,icaseswherewehavemixedcloudevirometssuchasprivateadpubliccloudeedigdifferetoperatioaltools,thesamecodebasewillworkwithbothallowigdeploymet-timeadditioofeviromet-specifictoolig.

TestKit:Usedtohelptestapplicatioswritteforsqubs,oreveAkkaapplicatiosaltogether.ItprovidesuittestadsmallscaleloadtestigfacilitiesthatcaberuaspartofCI.

ZKCluster:AZooKeeper-based,dataceter-awareclusteriglibraryallowigclusteredapplicatiosorservicestospadataceteradholdtheavailabilitycharacteristicsacrossdataceters.Thisiseededforapplicatiosthateeditra-clustercommuicatios.

HttpCliet:Aoperatioalized,simplifiedclietthatsupportsbothevirometadedpoitresolutiotofititodifferetoperatioaleviromets(QA,Prod)aswellasorgaizatioalrequiremets(Topo,direct).

Patter:AsetofprogrammigpattersadDSLsprovidedtousers.

OrchestratioDSLallowigdeveloperstodescribetheirorchestratiosequeceiaextremelycocisemaerwhileruigthewholeorchestratioasychroously,thuslargelysimplifyigcodeadreduceslatecyfortheapplicatio.

Asychrooussystemsdepedheavilyotimeoutsadfixedtimeoutsareeverright.TimeoutPolicyallowsuserstosetpolicy(like2.5sigma)isteadoffixedtimeoutvaluesadtakescareoftheheuristicsbyitselfallowigsystemstoadapttotheiroperatigcoditios.

Spraydoes'thavefriedlyAPIforJava,thespray.japipackageprovidesafewofHelpersadFactoriestohelpJavadeveloperstocostructsprayetitieseasily.

ValidatioprovidesaSpraydirectivefordatavalidatiobyusigAccordValidatioLibrary.

PersistetBufferprovidesahigh-performaceAkkaStreamsflowbuffercompoetthatpersistsitscotettoamemory-mappedfileadrecoversthecotetafterfailureadrestart.

ActorRegistry:Acorelookupfacilityallowigactorsofloosely-coupledmodulestofideachothers,orevetomodeldifferetservicesasactors.

ActorMoitor:Aadd-ooperatioalmodulethatusesJMXtoreportthestatsadbehaviorofactorsithesystem.ThesestatscabeseebyayJMXtoolig

Pipelie:Aifrastructureallowigsequecigadpluggigiofrequest/resposefilters.Theseareused,foristace,forsecurity,ratelimitig,loggig,etc.Eachofthecompoetshavevirtuallyodepedecyoeachothers.Theyaretrulylooselycoupled.Developersadorgaizatiosarefreetopickadchoosethecompoetseededfortheireviromet.

Cosole:Adrop-imoduleallowigwebaccesstosystemadapplicatiostatsthroughasimplewebadserviceiterfacereturigpretty-pritedJSON.

功能介绍

Squbs 是一个起源于 eBay 和 PayPal 的开源项目。 Squbs 是一个软件容器,一套能实现 Akka and Spray 应用/服务在大规模管理、云服务中标准化和运作的组件。 s...

声明:本文仅代表作者观点,不代表本站立场。如果侵犯到您的合法权益,请联系我们删除侵权资源!如果遇到资源链接失效,请您通过评论或工单的方式通知管理员。未经允许,不得转载,本站所有资源文章禁止商业使用运营!
下载安装【程序员客栈】APP
实时对接需求、及时收发消息、丰富的开放项目需求、随时随地查看项目状态

评论