Deploy multiple traffic managers with load balance data publisher failover...
Sending all the events to several receiversThis setup involves sending all the events to more than one Traffic Manager receiver. This approach is mainly followed when you use other servers to analyze...
View ArticleFailover throttle data receiver pattern for API Gateway.(WSO2 API Manager...
In this pattern we connect gateway workers to two traffic managers. If one goes down then other can act as traffic manager for gateway. So we need to configure gateway to push throttle events to both...
View ArticleLoad balance data publishing to multiple receiver groups - WSO2 API Manager...
In previous articles we discussed about traffic Manager and different deployment patterns. In this article we will further discuss about different traffic manager deployments we can for deployments...
View ArticleWSO2 API Manager new throttling - How Blocking condition work ?
Blocking requests will be executed first as it's the least expensive check. All blocking conditions will be evaluated per node basis. Blocking conditions are just checks of certain conditions and we...
View ArticleWSO2 API Manager - How advanced API and Resource level throttling works?
If request is not blocked request then we will move to API level throttling. Here we will do throttling for API level and resource level. Here always API level throttle key will be API name. That means...
View ArticleWSO2 API Manager - How Application Level Throttling Works?
Application level throttling happens in application level and users can control total number of requests come to all APIs subscribed to given application. In this case counters will maintain against...
View ArticleWSO2 API Manager - Subscription Throttling with burst controlling works?
Next thing is subscription level API throttling. When you have API in store, subscribers will come there and subscribe to that API. Whenever subscription made we will make record saying user subscribed...
View ArticleWSO2 API Manager - Custom Throttling Policies work?
Users are allowed to define dynamic rules according to specific use cases. This feature will be applied globally across all tenants. System administrative users should define these rules and it will be...
View ArticleHow newly added Traffic Manager place in WSO2 API Manager distributed deployment
Here in this post i would like to add deployment diagrams for API Manager distributed deployment and how it changes after adding traffic manager to it. If you interested about complex traffic manager...
View ArticleWSO2 API Manager 2.0.0 New Throttling logic Execution Order
Here in this post i would like to discuss how throttling happens within throttle handler with newly added complex throttling for API Manager. This order is very important and we used this order to...
View ArticleSimple auto scaling logic for software scalling
Here in this post i will list sample code(not exact code but more like pseudo code) to explain how auto scaling components works. We can use this logic in scalable load balancers to take decisions...
View ArticleSwagger code generator support for Micro Services Framework For Java
WSO2 Microservices Framework for Java (MSF4J) is a lightweight high performance framework for developing & running microservices. WSO2 MSF4J is one of the highest performing lightweight Java...
View ArticleHow to avoid sending allowed domain details to client in authentication...
Sometimes hackers can use this information to guess correct domain and resend request with it. Since different WSO2 users expect different error formats we let our users to configure error messages....
View ArticleHow to generate large number of access tokens for WSO2 API Manager
We can generate multiple access tokens and persist them to token table using following script. With that we will generate random users and tokens. Then insert them in to access token table. At the...
View ArticleHow to use Ballerina code generator tools to generate connector from swagger...
Download samples and resource required for this project from this location.https://drive.google.com/file/d/0B3OmQJfm2Ft8ZVJXZi02S19KQ3M/view?usp=sharingGoto ballerina distribution...
View ArticleBallerina connector development sample - BallerinaLang
Ballerina is a general purpose, concurrent and strongly typed programming language with both textual and graphical syntaxes, optimized for integration. In this post we will discuss how we can use...
View ArticleSMS OTP Two Factor Authentication for WSO2 API Manager publisher
In this post, I will explain how to use SMS OTP multi factor authenticator through WSO2 Identity server. We will be using Twilio SMS Provider which was used to send the OTP code via SMS at the time...
View ArticleJWT token and its usage in WSO2 API Manager
JSON Web Token (JWT) represents claims to be transferred between two parties. The claims in a JWT are encoded as a JavaScript Object Notation (JSON) object that is used as the payload of a JSON Web...
View ArticleHow to expose sensitive services to outside as APIs
APIM 2.0.0 supports oauth 2.0.0 based security for APIs(with JWT support) out of the box and we can utilize that for secure services. Let me explain how we can use it. Lets consider how mobile client...
View ArticleHow we can update swagger definition selectively and push that change to API...
In this post i will explain how we can update swagger definition selectively and push that change to API gateway with API Manager 1.10.If we update swagger definition which is sub resource of the API...
View Article