Performance Issues & Techniques for Improvement
- big bottleneck often time for database access
- try to reduce number of database calls....cache information (memcached)
- try to reduce number of database calls....cache information (memcached)
- surge/ high load
- load balancers to distribute requests among multiple web servers (if webservers simple e.g. apache + x then cheap to replecate on simple hardware)
- increase number of web servers
- reverse caching - e.g. squid, can increate # of request / second can process
- look at faster/less over head web server - e.g. lighttpd over Apache (can have other problems...tradeoffs)
- heavy data delivery
- look at distributed databases
- CDNs - content delivery networks - commercially available set over a grid of computers to purposely serve and store heavy damand data. Typically servered out of memory.
Some MORE details on Techniques TO IMPROVE Performance
web caching
|
load balancing
|
request routing
|
CDN
|
reverse caching & reverse proxy & web accelorator
|
squid
|