Characterizing Types of Traffic Flow for New Network Applications

As mentioned, a network flow can be characterized by its direction and symmetry. Direction specifies whether data travels in both directions or in just one direction. Direction also specifies the path that a flow takes as it travels from source to destination through an internetwork. Symmetry describes whether the flow tends to have higher performance or QoS requirements in one direction than the other direction. Many network applications have different requirements in each direction. Some data link layer transmission technologies, such as Asymmetric Digital Subscriber Line (ADSL), are fundamentally asymmetric. A good technique for characterizing network traffic flow is to classify applications as supporting one of a few well-known flow types:

• Terminal/host traffic flow

• Client/server traffic flow

• Peer-to-peer traffic flow

• Server/server traffic flow

Distributed computing traffic flow

In his book Network Analysis, Architecture, and Design, Second Edition, James D. McCabe does an excellent job of characterizing and distinguishing flow models. The following description of flow types is partially based on McCabe's work.

Terminal/Host Traffic Flow

Terminal/host traffic is usually asymmetric. The terminal sends a few characters and the host sends many characters. Telnet is an example of an application that generates terminal/host traffic. The default behavior for Telnet is that the terminal sends in a single packet each character a user types. The host returns multiple characters, depending on what the user typed. As an illustration, consider the beginning of a Telnet session that starts with the user typing a username. Once the host receives each packet for the characters in the name, the host sends back a message (such as Password Required) in one packet.

NOTE

Default Telnet behavior can be changed so that instead of sending one character at a time, the terminal sends characters after a timeout or after the user types a carriage return. This behavior uses network bandwidth more efficiently but can cause problems for some applications. For example, the vi editor on UNIX systems must see each character immediately to recognize whether the user has pressed a special character for moving up a line, down a line, to the end of a line, and so on.

With some full-screen terminal applications, such as some IBM 3270-based terminal applications, the terminal side sends characters typed by the user and the host side returns data to repaint the screen. The amount of data transferred from the host to the terminal equals the size of the screen plus commands and attribute bytes. Attribute bytes specify the color and highlighting of characters on the screen. The screen is usually 80 characters wide by 24 lines long, which equals 1920 characters. The full transfer is a few thousand bytes once attribute bytes and commands are added. More modern terminal applications just send changes to the user's screen, thus reducing network traffic.

Terminal/host traffic flows are less prevalent on networks than they once were, but they have not disappeared. In fact, so-called thin clients, which have become quite popular, can behave like terminal/host applications. Thin clients are covered following the next section on client/server traffic flow.

Client/Server Traffic Flow

Client/server traffic is the best known and most widely used flow type. Servers are generally powerful computers dedicated to managing disk storage, printers, or other network resources. Clients are PCs or workstations on which users run applications. Clients rely on servers for access to resources, such as storage, peripherals, application software, and processing power.

Clients send queries and requests to a server. The server responds with data or permission for the client to send data. The flow is usually bidirectional and asymmetric. Requests from the

client are typically small frames, except when writing data to the server, in which case they are larger. Responses from the server range from 64 bytes to 1500 bytes or more, depending on the maximum frame size allowed for the data link layer in use.

Client/server protocols include Server Message Block (SMB), Network File System (NFS), Apple Filing Protocol (AFP), and NetWare Core Protocol (NCP). In a TCP/IP environment, many applications are implemented in a client/server fashion, although the applications were invented before the client/server model was invented. For example, the File Transfer Protocol (FTP) has a client and server side. FTP clients use FTP applications to talk to FTP servers. X Windows is an example of a server (the screen manager) that actually runs on the user's machine. This can lead to a great deal of traffic in both directions, such as when the user enables a blinking cursor or ticking clock that needs continual updating across the network, even when the user isn't present.

These days, Hypertext Transfer Protocol (HTTP) is probably the most widely used client/server protocol. Clients use a web browser application, such as Netscape, to talk to web servers. The flow is bidirectional and asymmetric. Each session often lasts just a few seconds because users tend to jump from one website to another.

The flow for HTTP traffic is not always between the web browser and the web server because of caching. When users access data that has been cached to their own systems, there is no network traffic. Another possibility is that a network administrator has set up a cache engine. A cache engine is software or hardware that makes recently accessed web pages available locally, which can speed the delivery of the pages and reduce WAN bandwidth utilization. A cache engine can also be used to control the type of content that users are allowed to view.

A content delivery network (CDN) can also affect the flow of HTTP traffic. A CDN is a network of servers that delivers web pages to users based on their geographic location. A CDN copies the pages of a web site to a network of servers that can be dispersed at different locations. When a user requests a web page that is part of a CDN, the CDN redirects the request to a server that is closest to the user and delivers the cached content. The CDN can also communicate with the originating server to deliver any content that has not been previously cached. CDNs speed the delivery of content and can protect a website from large surges in traffic.

Continue reading here: Thin Client Traffic Flow

Was this article helpful?

+8 -1

Readers' Questions

  • FRANZISKA GAERTNER
    What is the types of netwark traffics?
    1 year ago
  • jackson
    How much yraffic does a terminal screen?
    1 year ago
  • It depends on the type of terminal screen. Some terminal screens may have higher traffic than others.
    • Kaitlin
      How can the design of the network can be affected be traffic flow?
      1 year ago
    • The design of the network can be affected by traffic flow in a number of ways. Increasing traffic on a network can cause congestion which affects the performance of devices on the network, as well as the network itself. As traffic increases, routers and switches may need to be upgraded or reconfigured to accommodate the additional data. Additionally, increasing traffic may also require additional network devices to be added, such as firewalls or load balancers, in order to ensure that traffic is routed properly.
      • kristiina
        Does network traffic flow server to client or client to server?
        1 year ago
      • Network traffic can flow in either direction - from server to client or client to server.
        • Habaccuc
          What kind of traffic flows in each network port?
          1 year ago
        • Network ports can vary depending on the type of network. Generally, network ports are used to send and receive data. Commonly found traffic flows through network ports include: web traffic, email and other messaging traffic, FTP traffic, video streaming traffic, and SSH traffic.
          • Linda
            How applications and taffic flow can affect the design of the network?
            1 year ago
          • Applications and traffic flow can significantly affect the design of a network. For example, if there is a large amount of traffic moving through a network, the network must be designed to accommodate the increased bandwidth requirements. Furthermore, the type of applications that are running on the network has a significant impact on the design of the network as well. Different applications may require different types of network connections and protocols to operate optimally. Additionally, the design of the network must also take into account any potential security threats from malicious applications or traffic.
            • Aisha
              What is application and traffic flow in network design?
              1 year ago
            • Application and traffic flow in network design refers to the way that data is sent and received over a network. It includes the design of the physical and logical topologies, the protocols and services used, as well as the routing algorithms and policies that govern the flow of traffic. It is important to ensure that the flow of traffic follows an efficient design and meets the needs of the network and its users.
              • arturo
                What is a terminal/host traffic flow?
                1 year ago
              • Terminal/host traffic flow is the flow of data between two computing devices, typically a host computer and a user's terminal that is connected to that host. This traffic flow is typically accomplished using the Transmission Control Protocol (TCP) and Internet Protocol (IP) protocols. The data that is flowing between the two computing devices can be either data that is sent from the terminal to the host or data that is sent from the host to the terminal. This traffic flow is essential in order for the terminal to send commands to the host and receive data back from the host.