High Performance Website with LAMPP technology

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    High Performance Website with LAMPP technology - Presentation Transcript

    1. HIGH PERFORMANCE FOR MEDIA WEBSITE Pierre Jean Duvivier Responsable WebFactory Edipresse SA
    2. WHAT IS A « BIG MEDIA WEBSITE » ?
    3. TDG.CH 50’000 unique visitor by day – up to 400’000 pages views by day 100 native edipresse news by day + breaking news via AFP, ATS
    4. 24 HEURES.CH 35’000 unique visitor by day – up to 300’000 pages views by day 100 news every day + external feed like ATP, AFS
    5. LEMATIN.CH 80’000 unique visitor by day – up to 500’000 pages views by day > 100 news by days + external Feed of all edipresse’s website
    6. WHAT IS GOOD PERFORMANCES ? Stable . It means that website is online during the maximum of time. 100 % is the maximum. A good rate is > 99.5 % Fast . It means that page are downloaded quickly by users. A good rate < 5-7 s « Right » Cost . It means that you have the right cost for the best result.
    7. OUR WORST PROBLEMS
    8. Global Architecture for 11 websites and 190’000 uniques visitors by day
      • Free & Simple well known solution (apache, mysql) to lower the complexity to maintain it (cost and knowledge)
      • Group fonctionnalities to make economy. Use Firewall to do load balancing
      • Spécialization :
        • FrontEnd (Apache)
        • Database (MySQL)
        • Cache Server (MemCache)
        • NFS (Binaries)
    9. SYSTEM ARCHITECTURE FOR 190’000 uniques visitors by days (RED)
    10. The max number of connections. What happen : with a lot of users, each user when he surf on a webpage launch severals calls to apache. (to retreive css, jpg, ect…) opening one connection each time. ( Image represent more than 66 % of the bandwith and a large part of this call) Problem : Apache & Mysql can accept only a limited number of connection Symptom for users : Users are queued and the time to load a page increase.
    11. Images consume a lof of ressources And connections
    12. Solutions to manage the Max number of connection DIVIDE THE TASKS BETWEEN YOUR SERVERS WORK WITH THE HTTP PROTOCOL (EXPIRY) BECAREFULL WITH ERROR PAGES (404, 310.ect..)
    13. Database Load Problem What happen : webmaster and user(s) use a lot database access for all the action inside our CMS. Problem : Databases servers overload when a lot of queries come. Symptom for users : Instability : website don’t work for users and journalist / webmaster.
    14. Solutions to manage the database load problem
    15. PEAK TRAFIC PROBLEM TRAFIC ON MEDIA WEBSITE IS NOT UNIFORM DURING THE DAY. THE MOST IMPORTANT TRAFIC IS SUPPORTED BETWEEN 8H and 10H.
    16. HOW TO MANAGE WITH THE PEAK PROBLEM ? We have still problem with this peak and we did not find the « right » solution
    17. What solution(s) we don’t use to manage performance problem ? SOLUTIONS WHAT IS IT ? WHY ? Reverse proxy like Squid, Varnish, Apache modProxy … It replace the front end servers serving a page already in html « cached » We will increase system complexity then cost. No so easy to setup and maintain it Alternative PHP Cache Compilation des scripts PHP We didn’t test it for the moment. An option in the future Amazon network cache system (S3) or Akamai You use a lot of servers in network (or p2p) to deliver your content We are interested to use Amazon s3 to server our image…next upgrade
    18. What solution(s) we don’t use to manage performance problem ? SOLUTIONS WHAT IS IT ? WHY ? Reverse proxy like Squid, Varnish, Apache modProxy … It replace the front end servers serving a page already in html « cached » We will increase system complexity then cost. No so easy to setup and maintain it Alternative PHP Cache Compilation des scripts PHP We didn’t test it for the moment. An option in the future Amazon network cache system (S3) or Akamai You use a lot of servers in network (or p2p) to deliver your content We are interested to use Amazon s3 to server our image…next upgrade

    + Duvivier Pierre JeanDuvivier Pierre Jean, 5 months ago

    custom

    406 views, 0 favs, 1 embeds more stats

    Edipresse's website have around 190'000 unique visi more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 406
      • 404 on SlideShare
      • 2 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 5
    Most viewed embeds
    • 2 views on http://www.slideshare.net

    more

    All embeds
    • 2 views on http://www.slideshare.net

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories