You are on page 1of 17

Optimizing Traffic

CNS 205-5I: Citrix NetScaler 10.5 Essentials and Networking

Overview
After completing this module, you will be able to:

Implement compression policies to optimize traffic.


Cache frequently served web content to relieve servers and reduce response time.
Use templates to optimize web traffic from specific applications.
Route traffic based on specific parameters.

2014 Citrix Systems

Introduction to Compression
For all browsers, the NetScaler system compresses:
Text/HTML
Text/plain Multipurpose Internet Mail Extensions (MIME)

For other (text/*) MIME formats, the NetScaler system compresses traffic based
on the format supported by the browser

2014 Citrix Systems

Compression Policies
1. A NetScaler with compression policies configured intercepts requests from
compression-aware clients.
2. NetScaler applies the compression policies to determine whether the client can
accept compressible content.
3. NetScaler examines the content again to determine if it is compressible.
4. If compressible, NetScaler compresses the content and forwards it to the client.
5. The response header is modified to indicate the type of compression
performed.

2014 Citrix Systems

Compression Considerations
Items to consider for using compression on the NetScaler:

Compression algorithm
Compression ratio
Browser awareness
HTTPS compression
HTTP versions

2014 Citrix Systems

Compression Responses
Responses are compressed
Requests are not compressed
Only responses with a 200 status code are compressed

2014 Citrix Systems

Compression Parameters
Compression parameters include:

Compression level
Quantum size
Minimum HTTP-response size
Bypass compression on CPU usage
Server-side compression

2014 Citrix Systems

Compression Policies
Compression policies enable the NetScaler system to identify the content that
needs to be compressed.
Each compression policy consists of an expression and an action.
An expression is created to identify the files entering the system.
An action defines the action the system performs on the file identified by the
expression.

2014 Citrix Systems

Setting Compression Policies Globally


Either the classic or default compression global policy set can be used for
compression policy evaluation for entities:
HTTP/HTTPS load-balancing or content-switching virtual servers with no compression policies
bound
Transparent HTTP/HTTPS services

2014 Citrix Systems

Compression Actions
There are four built-in compression actions:

10

COMPRESS
NOCOMPRESS
GZIP
DEFLATE

2014 Citrix Systems

Action Analytics
The system aggregates the following statistics:

11

Number of requests
Bandwidth consumed by the requests
Response time
Number of concurrent connections

2014 Citrix Systems

AppExpert Templates
AppExpert templates:
Are reusable bundles of configuration information
Provide an easy way to configure the NetScaler system to optimize the traffic of specific
applications

12

2014 Citrix Systems

Applications Pane

13

2014 Citrix Systems

Planning for Applications


The creation and use of AppExpert templates can be divided into two major tasks
Both tasks can be carried out by the same person or team in an organization:
1. Create the AppExpert template and application units

2. Import the AppExpert template

14

2014 Citrix Systems

Deploying NetScaler for Applications


The methodology behind deploying a NetScaler configuration for an application
requires two steps:
1. Identification of application workflows of interest according to the type of content they generate

from server to client


2. Creation of application units based on the identified workflows, defining specific rules that allow
the NetScaler system to recognize each workflow

15

2014 Citrix Systems

AppExpert Template Deployment


To deploy an application template:
1. Configure the back-end services and public endpoints
2. Create application units
3. Apply the desired features

16

2014 Citrix Systems

WORK BETTER. LIVE BETTER.

17

2014 Citrix Systems

You might also like