How it Works
3scale’s infrastructure is cloud based and easy to set up – allowing you to focus on delivering your content and services you need to while we take care of the rest.
Our architecture means you can deploy plugins wherever you’d like your API traffic flow to be controlled and we don’t redirect your traffic through our machines – you remain in full control (read more about our no proxy architecture).
Step 1: Deploy 3scale API Plugins
3scale works using a plugin agents which can be deployed anywhere you’d like API control to be enforced. Plugins are available in multiple application languages (Java, .NET, PHP, Ruby and many others) for deployment in the application stack, for popular open source caches such as Varnish (http://www.varnish-cache.org) for deployment in front of your application and also as filters for Popular CDNs.
Once installed, agents authorize transactions on the API for valid keys, enforce rate limits and report traffic back to the management system.
There are a wide range of plugin/agent configuration options to meet different architectural needs and you can also roll your own by calling our traffic management APIs directly.
Step 2: Configure SAAS Hosted Systems
Once the plugins are set up then communicated with 3scale backend servers to make authentication and reporting calls for incoming traffic. Backend systems begin tracking traffic and enforcing rate limits in our SAAS infrastructure. The systems allow you to configure:
- Authentication Patterns
- Rate Limits
- Accessible / In-accessible methods
- Metrics to track for Analytics
- Signup policies for developers
- Alert levels
- Public facing content of all types for your developer portal.
Once the API is up and running you’ll see a operations dashboard to track all events happening on the API and administer the developer user base.
Step 3: Issue Developer Keys and Accept Traffic
Once set up, you can begin issue working API credentials directly from the management console or from your new Developer portal.
Our systems are Amazon EC2 and Rackspace hosted with multiple entry points for failover and can handle 10’s and 100’s of Millions of transactions per day per API. Once you have your API set up you let us know what you approximate traffic needs are and we make sure it’s there on tap.
For your peace of mind, for enterprise contracts we guarantee our servers will handle 5x the traffic you project as a minimum, and most likely beyond. So should you have unplanned spikes you’re covered and in control.
See more about scalability.
Step 4: Scale with No proxies or redirects
3scale systems provide a control center for the APIs you hook into the system using Agents, CDN connections or our API. However it does this is in an out of band manner – plugins/agents that you deploy and control handle traffic and communicate back to your 3scale control system but API traffic itself never passes through 3scale’s servers. This means:
- Deployment is quick and easy
- There are no privacy issues with a third party seeing your data
- There is no unknown “black box” which your traffic is running through and you don’t control as there is with other vendors.
- Last but not least you don’t pay twice for bandwidth.
See more about the architecture in the architecture section.