CH-3-1
CH-3-1
Listens • Load
request balancer
• Scheduler
Assigns round
request robin/ w
round robin
Conti..
• A session ticket is created by the load balancer so that
traffic from the client can be properly routed to requested
resource.
• Without this session record or persistence, a load balancer
would not be able to correctly failover a request from one
resource to another.
• Persistence can be enforced using session data stored in a
database and replicated across multiple load balancers.
• a session cookie stored on the client has the least amount
of overhead for a load balancer because it allows the load
balancer an independent selection of resources.
Advanced load balancing
Features:
• the response time, the work queue length, connection
latency and capacity,
• the ability to bring standby servers online (priority
activation)
• workload weighting based on a resource’s capacity
(asymmetric loading),
• HTTP traffic compression, TCP offload and buffering,
• security and authentication,
• Packet shaping using content filtering and priority
queuing.
Application Delivery Controller
●Application Portability
●Platform Portability
Data Portability
● Data portability enables re-use of data components across
different applications.
● Suppose that an enterprise uses a SaaS product for Customer
portability.
that can be done using the current technology and then adds
resources to do more work as needed.
• Capacity planning is an iterative process with the following steps:
2. Measure the workload for the different resources in the system: CPU, RAM,
3. Load the system until it is overloaded, determine when it breaks, and specify
fail under load and what factor(s) is responsible for the failure is the critical
• Because many developers create cloud-based applications and Web sites based on a
Apache HTTP Server, the Web server based on the work of the Apache
Software Foundation
MySQL, the database server developed by the Swedish company MySQL AB,
PHP, the Hypertext Preprocessor scripting language developed by The PHP Group
Baseline measurements
• Let’s assume that a capacity planner is working with a system that
has a Web site based on APACHE, and let’s assume the site is
processing database transactions using MySQL.
WT, you need to integrate the area under the curve for the time
period of interest.
servers, with the workload for those servers measured in transactions per
second.
As part of the capacity planning exercise, the workload for the Web
These two factors, the growth in demand over time is the most important
• You need to know what happens to a system when the load increases.
› Which resource(s) represents the bottleneck in the current system that limits the
upon a server’s configuration, any resource can have a bottleneck removed, and the
› How does this server’s performance relate to your other servers that might have
different characteristics?