Components of a Sample Use Case
Each use case can be considered as a collective work done by the components of SBRC, in terms of CPU, I/O, network, and latency.
For example, take the following medium, complex, and heavy utilization use case of a roaming WiMAX TTLS authentication, against an Oracle back end with foreign agent (FA) keying, IP address assignment, and using WiMAX accounting flows and an Oracle back end for accounting data.
Table 8 shows the breakdown of use case tasks done by the SBRC components.
Table 8: Sample Use Case Tasks
Task Execution Sequence | Number of Transactions | Subtasks | Description |
---|---|---|---|
EAP-TTLS authentication | 5 |
| RADIUS transaction performs EAP-TTLS authentication. This is mostly a function of CPU utilization on the front-end applications, some of which have high CPU utilization. |
Foreign agent/ gateway RADIUS transaction | 1 |
| Foreign agent or gateway RADIUS transaction queries the phantom session to return the generated keying material. |
WiMAX accounting start | 1 |
| WiMAX accounting starts with the attribute WiMAX-Beginning-Of-Session set as true to start the flow accounting session. |
Accounting start | 1 |
| Accounting start updates the CurrentSession to turn a phantom session to a live session. |
WiMAX interims | 3 (one per hour) |
| WiMAX interims with the attribute WiMAX-Session-Continue set as true. This attribute updates both the CurrentSession, and the flow to which this session belongs. |
Accounting request | 1 |
| Accounting request to stop the current session. |
EAP-TTLS re-authentication request/response | 2 to 3 |
| EAP-TTLS re-authentication request/response pairs read from the NDB TtlsResumptionCache and TtlsResumptionAttrs attributes. In addition, performs cryptography to validate re-authentication. |
Foreign agent/ gateway RADIUS transaction | 1 |
| Foreign agent or gateway RADIUS transaction queries the phantom session to return the generated keying material. |
Accounting request | 1 |
| Accounting request to start a new session within the flow. |
WiMAX interims | 3 |
| WiMAX interims with the attribute WiMAX-Session-Continue set as true update both the CurrentSessionand the flow to which the session belongs (two NDB hits each). |
Accounting request | 1 |
| Accounting request to stop the second session and delete the session. |
WiMAX stop | 1 |
| WiMAX stop to end the flow. |
From the above use case, you can see the complexity of scaling a single SBRC to support multiple use cases simultaneously, although they are additive when broken down into components. When applying complex use cases such as 3G and fixed TLS with DHCP, you will notice that scaling becomes extremely difficult to plan for due to the latency of external servers. However, by breaking the case down into component operations, you can estimate well. You can turn the above use case into a six-hour session:
Approximate Oracle transactions = 13
NDB hits = 23
RADIUS transactions (of which 8 decompose into 1 TTLS and 1 resumption) = 22