Upload
wso2-inc
View
495
Download
1
Embed Size (px)
Citation preview
WSO2DeploymentPa@erns—Standalone
Separate runtimes
Shared runtimes (Combined Instances)
Publisher + Store
TheApproach:Solu;onsArchitecture• Gatherrequirements• PicturethearchitectureofaSolu9on• Iden9fylogicalcomponents(basedondomain)• tomodelwithWSO2products
TheApproach:CapacityPlanning• DetermineVolume(s)tobehandled
– throughput– concurrency– latency– averagedatapacketsize– workpertransac9on
• Using,– monitoringsystems– business/marke9ngsta9s9cs– availabledatavolumes– Future/projecteddata
• Takecapacityrequirementsofthesolu;oncomponents• Checkthecapacityofeachproduct• Determinehowmanyinstancesrequiredinacluster• Consideravailabilityandfailoverscenarios
CapacityPlanning:InstancesCounts
CapacityPlanning:ExampleCalcula;oncntd• IfaninstanceofWSO2ESBhandles
– xrequests/transac9ons– withinasecond
• tohandle– yrequests/transac9ons– withinasecond
• AclusterofWSO2ESBrequires– nnumberofnodes/instances
• When– n=(y+y(30/100))/x
• and– nx>y+y(30/100)
+ =
A1 A2 A3 An
LB
Deploymentofproducts• Choosedeployment-modeandinfrastructure
– eg.on-premise/cloud,LINUXboxes/AmazonAWS• ReadWSO2hardwarespecifica;on• Preparemachines/virtual-machines• ExtractbinarypackagesofWSO2products• Configureclustersandconstructthesolu;on
HardwareRequirementsSpecifica;on• IsbasedonthenumberofJVM/WSO2instances• Typically,
– 1CPUperJVMinstance– 2GBofRAMperJVMinstance– 10GBofHarddiskspace
• and,– 1CPUforopera;ngsystem– 2GBforopera;ngsystem
• Followingthebasics,– VMsareconfiguredorSelected(egAmazonEC2c1.large)
WSO2Documenta;on:WSO2API-Manager(Example)
h@ps://docs.wso2.com/display/CLUSTER420/API+Manager+Clustering+Deployment+Pa@erns