Many problems that are found in a production system may not occur until the system has been operating for a prolonged period of time. For example, when specific combinations of services are rendered to clients, memory leaks, filling of file systems with log files, and/or degradation of overall system performance may not become apparent until applications have been in use for days, weeks, months or years.
The following detailed description refers to the accompanying drawings. The same reference numbers in different drawings may identify the same or similar elements.
Although implementations are described below in the context of SIP and an Internet Protocol (IP)-based network, other communication protocols (e.g., Common Channel Signaling System Number 7 (SS7), International Telecommunication Union (ITU) H.323,) and/or types of transport networks (e.g., public switched network (PSN), asynchronous transfer mode (ATM), frame relay, etc.) may be used. Both the ITU H.323 standard and the IETF's SIP are examples of protocols that may be used for establishing a communications session among terminals connected to a network. Although SIP-type calls are shown for convenience, any type of protocol or a mixture of such protocols may be applied in various parts of the overall system.
Many problems in a network may be detected by feeding the network with different test traffic loads for prolonged periods of time. In the following implementations, a throttle controller may simulate a specified profile of network traffic load over any duration. The throttle controller may relay network calls from a traffic producer to other elements of the network based on the profile of network traffic. The profile may indicate the network traffic load for different types of network services and for Time of Day (TOD), Day of Week (DOW), Day of Month (DOM), and Day of Year (DOY).
Test traffic producer 102 may include one or more computer systems for hosting applications and/or hardware components for generating network test traffic. For example, traffic producer 102 may generate Session Initiation Protocol (SIP) calls and/or Common Channel Signaling System Number 7 (SS7) calls. A “SIP call,” as the term is used herein, is to be broadly interpreted to include any out-of-dialog or dialog-establishing SIP method (e.g., a SIP INVITE request, a SIP SUBSCRIBE request, a SIP REFER request, a SIP OPTIONS request, a SIP MESSAGE request, a SIP REGISTER request, etc.).
Application server device 104 may include one or more computer systems for hosting computer programs that include an application server. Examples of an application server include IBM WebSphere, BEA WebLogic, and JAIN Session Initiation Protocol (JSIP) Servlet. In a SIP setting, the hosted programs may facilitate SIP-based communications, e.g., Internet-based telephone calls, multimedia distribution, multimedia conferences, instant messaging conferences, interactive voice response (IVR), automated and manual operator services, automatic call distribution, call routing, etc.
SUT 106 may include one or more computer systems and/or network components for receiving network calls that originate from test traffic producer 102. SUT 106 may include monitors for detecting, recording, and/or trapping errors within SUT 106. For example, SUT may include a program that detects and records computer errors to a log file.
Service provider 108 may include one or more computer systems for receiving network calls that pass through SUT 106. Service provider 108 may be external or internal to a network that includes test traffic producer 102, application server 104, and SUT 106, and may deliver specific services, such as hosting live chat conferences.
Network 110 may include the Internet, an ad hoc network, a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), a cellular network, a public switched telephone network (PSTN), any other network, or combinations of networks.
Computer system 200 may include memory 202, processing unit 204, input/output devices 206, network interface 208, and communications bus 210. Memory 202 may include static memory, such as read only memory (ROM), and/or dynamic memory, such as random access memory (RAM), for storing data and machine-readable instructions. Memory 202 may also include storage devices, such as a floppy disk, CD ROM, CD read/write (R/W) disc, and/or flash memory, as well as other types of storage devices. Processing unit 204 may include one or more processors, microprocessors, and/or processing logic capable of controlling computer system 200. Input/output devices 206 may include a display, printer, keyboard, mouse, speaker, microphone, and/or other types of devices for converting physical events or phenomena to and/or from digital signals that pertain to computer system 200. Network interface 208 may interface computer system 200 to network 100 and may include a modem, an Ethernet interface or any other type of network interface for communicating with other nodes of network 100. Communications bus 210 may provide an interface through which components of computer system 200 can communicate with one another.
Operating system 302 may include a computer program for managing hardware and software resources of application server device 104. Application server 304 may include software components for providing middleware services between server resources and client applications. Examples of application server components include a JAIN SIP Servlet Container and an Enterprise JavaBeans Server. Test load throttle controller 306 may include software programs or components for throttling network calls that it receives in accordance with a profile of network traffic load.
Server application(s) 308 may include a browser and programs for rendering services that are not part of application server 304. Examples of server application(s) 308 include an FTP server, an email server, a telnet server, a fire wall, and other applications that either interact with client applications or operate in stand-alone mode.
Database 310 may include files and records and may act as an information repository for application server 304, test load throttle controller 306, server application(s) 308, and/or traffic profile/schedule editor 312. For example, application server 308 may obtain information from database 310 for rendering services to client applications and may place information received from client applications in database 310. In another example, test load throttle controller 306 may obtain profiles of test traffic loads or scheduled rates of calls from database 310.
Test profile/schedule editor 312 may include a computer program for creating and editing traffic load profiles/schedules in database 310. While test profile/schedule editor 312 is shown in
While
Test traffic load profile/schedule 400 may be created or edited by a user, using traffic profile/schedule editor 312.
In
The preceding paragraphs describe system elements that are related to controlling a test load throttle, such as test traffic producer 102, application server device 104, SUT 106, and service provider 108 and software applications and components that may be hosted on the elements. The following describes processes performed by the elements for controlling the test load throttle.
At block 606, the calls that are received at test load throttle controller 306 may be relayed to SUT 106. To vary a network load over an extended period of time based on TOD, DOW, DOM, and/or DOY, the calls are relayed based on schedules/profiles of test traffic loads from database 310.
In one implementation, test load throttle controller 306 may control the flow of traffic to SUT 106 based TOD and DOW. For example, as illustrated in
In another implementation, test load throttle controller 306 may control the flow of traffic to SUT 106 based on service type, as well as TOD/DOW. For example, as illustrated in
Many changes to the components and the process for controlling a test load throttle as described above may be implemented. In one implementation, test load throttle controller 306 may be configured so that it can be inserted into various call paths. For example,
In yet another implementation, test load throttle controller 306 may make either gradual or immediate changes to its rate of relayed calls in accordance with schedule/profile of traffic load in database 310, depending on test load throttle controller configuration. For example, in
The following example illustrates processes that may be involved in controlling a test load throttle in accordance with implementations described with respect to
Assume, for the sake of the example, that a user wishes to test a protocol gateway under a production network traffic load for a year and that the user's network is configured for testing as illustrated in
Assume further that application server device 104, network 110, and service provider 108 are already in operation to support other tests and/or services in network 100. The user begins testing the protocol gateway, or SUT 106, by starting test traffic producer 102, the protocol gateway (SUT 106), and test load throttle controller 306. Test load throttle controller 306 loads traffic load profile/schedule 400 in
For each day of week, test load throttle controller 306 uses traffic load profile/schedule 400 to route or relay test calls from test traffic producer 102. For instance, from 6:00 a.m. to 10:00 a.m., on Monday through Friday, test load throttle controller 306 relays only 30% of calls it receives from test traffic producer 102.
The protocol gateway receives the calls relayed from test load throttle controller 306 and routes them to service provider 108. In addition, the protocol gateway logs the calls in its log file.
Because the protocol gateway does not rotate its log files, the protocol gateway fills its storage space with logs of the calls. On the eleventh month of its operation, the protocol gateway fills up its file system and continuously writes file system error messages into its system logs. When the protocol gateway can no longer write error messages to system directories that are full, the protocol gateway locks up. The user examines the protocol gateway and isolates the problem.
The above example illustrates how a logging problem may be found by feeding the network with test traffic loads. By using the throttle controller that relays network calls to the SUT, it is possible to generate test loads that last for days, weeks, months, and/or years in accordance with desired test traffic profiles. Given the ability to generate test load profiles over prolonged periods of time, many problems may be determined, including those related to memory leaks, filling of file systems, and/or degradation of overall system performance when specific combinations of services are rendered to clients.
The foregoing description of embodiments provides illustration, but is not intended to be exhaustive or to limit the embodiments to the precise form disclosed. Modifications and variations are possible in light of the above teachings or may be acquired from practice of the teachings.
For example, while series of blocks have been described with regard to processes illustrated in
It will be apparent that systems and methods described herein may be implemented in many different forms of software, firmware, and hardware in the implementations illustrated in the figures. The actual software code or specialized control hardware used to implement aspects does not limit the invention. Thus, the operation and behavior of the these systems and methods were described without reference to the specific software code—it being understood that software and control hardware can be designed to implement the systems and methods based on the description herein.
No element, act, or instruction used in the present application should be construed as critical or essential to the invention unless explicitly described as such. Also, as used herein, the article “a” is intended to include one or more items. Where only one item is intended, the term “one” or similar language is used. Further, the phrase “based on” is intended to mean “based, at least in part, on” unless explicitly stated otherwise.
Further, certain portions of the invention have been described as “logic” that performs one or more functions. This logic may include hardware, such as a processor, an application specific integrated circuit, or a field programmable gate array, software, or a combination of hardware and software.
Number | Date | Country | |
---|---|---|---|
Parent | 11615110 | Dec 2006 | US |
Child | 13595418 | US |