Forum Discussion
juan_salinas_47
Nimbostratus
Jul 14, 2010cache age per extensions and server side traffic
hi devcentral community,
i have this situation:
1.-an irule in production handling 5gbps of traffic at peak time in the client side:
when CACHE_REQUEST timing on {
set httppath [string tolower [HTTP::path]]
log local0. "mycache $httppath"
if { $httppath ends_with ".jpg" } {
set TTL 240
}
elseif { $httppath ends_with ".swf" } {
set TTL 660
}
else {
set TTL 3610
}
if { [CACHE::age] > $TTL } {
CACHE::expire
if { $TTL == 3610 } {
log "mycache ttl $TTL expired $httppath "
}
}
}
2.-in the server side LTM has two 1gbps links in etherchannel or link agreggation with 200mbps utilization.
3.-the content files on the pool servers are jpg,gif,flv,swf,mp3 (1-2GBytes).
4.-all content is publlshed at the the same time(aprox) in the servers and overwrited if a previous version exist.
The problem is....
when i use the command CACHE::expire the traffic grow and limit to 2gbps .
this peaks appears in intervals defined in the irule,
each 240s and 660s i have 900mbps server side peaks.
each 3610s the LinkAggregation collapse because the server side is traffic is too high (>2gbps).
My questions are...
when a object is expired (using irules) simultaneous request wait for the first request is complete and then serve the content from cache?
or
all requests are served from the pool until the first request complete?
any idea how to solve? (add more links is not possible, we need save server side bandwidth)
thanks and excuse my english.
- hoolio
Cirrostratus
Hi Juan, - juan_salinas_47
Nimbostratus
hi Aaron,
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects