What we can Throttle in WSO2 Stratos(1.5.1 Release) Cloud Environment - Tomcat server Based throttling
In wso2 stratos throttling we will be able to throttle few parameters related to service and bandwidth usages. In this post i will briefly describe the parameters that we can throttle with wso2 stratos 1.5.1 release.
01. Registry Resource Volume
For Registry usages we will be able to throttle following parameters
Registry incoming data actions - put/ importResource/ restore
Registry outgoing data actions - dump/ get
02. Service Bandwidth
Throttle the service incoming and out going message sizes to the Web Services(Axis2 Service/ JAX-WS Service/ Jar Service/ Jar Service) hosted at wso2 Stratos
Application Server.For each incoming and outgoing messages throttling agent check whether that tenant is exceeded incoming and outgoing bandwidths. then only that allow users to invoke services.We can use two parameters(incoming/ outgoing) related to service bandwidth for throttling rules. For this throttling agent use Handler extended from AbstractHandler and that handler act as a listener for service invocations.
Service incoming action
Service outgoing action
03. webApp bandwidth
Throttle the service incoming and out going based on message sizes to the Web Application Archive (.war) files hosted in Application server.For this webApp throttling we use valve extended from CarbonTomcatValve.That valve act as a listener and check whether tenant allow it or not. Here we can use two parameters(incoming/ outgoing) related to webApp bandwidth for throttling rules.
webApp incoming action
webApp outgoing action
04. User Count
Number of users per given tenant.
So all together we will be able to throttle 7 actions as follows for given tenant.
01. Registry incoming data actions - put/ importResource/ restore
02. Registry outgoing data actions - dump/ get
03. Service incoming action
04. Service outgoing action
05. webApp incoming action
06. webApp outgoing action
07. User count per tenant
In wso2 stratos throttling we will be able to throttle few parameters related to service and bandwidth usages. In this post i will briefly describe the parameters that we can throttle with wso2 stratos 1.5.1 release.
01. Registry Resource Volume
For Registry usages we will be able to throttle following parameters
Registry incoming data actions - put/ importResource/ restore
Registry outgoing data actions - dump/ get
02. Service Bandwidth
Throttle the service incoming and out going message sizes to the Web Services(Axis2 Service/ JAX-WS Service/ Jar Service/ Jar Service) hosted at wso2 Stratos
Application Server.For each incoming and outgoing messages throttling agent check whether that tenant is exceeded incoming and outgoing bandwidths. then only that allow users to invoke services.We can use two parameters(incoming/ outgoing) related to service bandwidth for throttling rules. For this throttling agent use Handler extended from AbstractHandler and that handler act as a listener for service invocations.
Service incoming action
Service outgoing action
03. webApp bandwidth
Throttle the service incoming and out going based on message sizes to the Web Application Archive (.war) files hosted in Application server.For this webApp throttling we use valve extended from CarbonTomcatValve.That valve act as a listener and check whether tenant allow it or not. Here we can use two parameters(incoming/ outgoing) related to webApp bandwidth for throttling rules.
webApp incoming action
webApp outgoing action
04. User Count
Number of users per given tenant.
So all together we will be able to throttle 7 actions as follows for given tenant.
01. Registry incoming data actions - put/ importResource/ restore
02. Registry outgoing data actions - dump/ get
03. Service incoming action
04. Service outgoing action
05. webApp incoming action
06. webApp outgoing action
07. User count per tenant
No comments:
Post a Comment