GLOBAL AGENCY: e-communication    e-technology   e-systemesInstant Publishing and Greater TrafficHow to create a more dyna...
SUMMARYCHALLANGES AND OBJECTIVES  !   Managing heavy web traffic using eZ Publish  !   Achieving greater responsiveness du...
Challanges and ObjectivesChallanges   !   eZ Publish is the most powerful Open-Source CMS       !   Meets all the needs of...
Native SolutionseZ Publish 4.X     eZ Accelerator   14/10/2011   4
1. Classic Architecture     eZ Accelerator       14/10/2011   5
1. Classic Architecture                                  Visitors                         eZ                              ...
2. eZ DFS Classic Architecture     eZ Accelerator              14/10/2011   7
2. eZ DFS Classic Architecture                                          Visitors                          Load Balancer  e...
2. Classic and eZ DFS ArchitectureBenefits   !   Optimal cache management   !   Instant publishingDisadvantages   ! Databa...
3. Classic + Static Cache Architecture     eZ Accelerator               14/10/2011   10
3. Classic + Static Cache Architecture                                  Visitors                         Static           ...
4. eZ DFS + Static Cache Architecture    eZ Accelerator              14/10/2011   12
4.eZ DFS+Static Cache Architecture–Multi Front                                                 Visitors                   ...
4. eZ DFS + Static Cache ArchitectureBenefits   !   Perfect reliability when experiencing high traffic   !   Does not requ...
Other solution:Adding a cache server on topFor example: Varnish      eZ Accelerator           14/10/2011   15
1. Classic Architecture + Varnish     eZ Accelerator                 14/10/2011   16
1. Classic Architecture + Varnish                                  Visitors                        Varnish                ...
2. eZ DFS Architecture + Varnish    eZ Accelerator                 14/10/2011   18
2. eZ DFS Architecture + Varnish                                Load Balancer   Visitors                     Varnish      ...
2. Architecture eZ DFS + VarnishBenefits   !   No development is needed (except connected party)   !   Flexible cache mana...
How to do better?    eZ Accelerator   14/10/2011   21
Novactive ObjectivesCombine advantages of each solution   !   Classic eZ DFS Cluster       !   Optimal cache management   ...
Our solutioneZ Accelerator     eZ Accelerator   14/10/2011   23
eZ Accelerator        A connector between Varnish and eZ PublishPrinciple:   !   Clear specific and targeted Varnish Cache...
eZ AcceleratoreZ Accelerator in details:   !   a control interface to clear specific Varnish caches   !   The management o...
eZ AcceleratoreZ Accelerator in details:   !   Multi-site access managment   ! Varnish cache purging     !   On publicatio...
eZ Accelerator       eZ Accelerator   14/10/2011   27
eZ Accelerator       eZ Accelerator   14/10/2011   28
eZ Accelerator  !   No slowdown in the publication process (daemon)  !   StaleCache management, which in turn does not hid...
To be resume: without eZ AcceleratorProcess without extension                                                             ...
To be resume: avec eZ AcceleratorProcess with extension                                                                  V...
For simple sites, eZ Accelerator alsoworks with a single server!     eZ Accelerator               14/10/2011   32
eZ AcceleratorOnly one eZ Publish instance   ! Only one web server (Apache)   !   N SiteAccess   ! Only one database      ...
eZ Accelerator – Advanced usage  !   Managing cache-block  !   Varnish became an application piece of the platform  !   ES...
eZ Accelerator – Advanced usagePagelayout standard eZ Publish: With cache-block   Pagelayout    Header (cache-block)    Me...
eZ Accelerator – Advanced usagePagelayout with eZ Accelerator: Without cache-block   Pagelayout    Header (/content/view/h...
eZ Accelerator in clonclusion     eZ Accelerator             14/10/2011   37
eZ Accelerator in conclusionObjectives Attained   !   In production on several websites, eZ Accelerator has proved its eff...
Address: 42-44, rue de Paradis         75010 PARIS         FRANCEPhone: +331.48.24.33.60Fax: +331.48.24.33.54Email: info@n...
Upcoming SlideShare
Loading in …5
×

eZ publish - Instant Publishing and Greater Traffic

2,591 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,591
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

eZ publish - Instant Publishing and Greater Traffic

  1. 1. GLOBAL AGENCY: e-communication e-technology e-systemesInstant Publishing and Greater TrafficHow to create a more dynamic presence for yournews website with eZ Publish and Varnish?Discover the newest extension eZ Accelerator! eZ Accelerator 14/10/2011 1
  2. 2. SUMMARYCHALLANGES AND OBJECTIVES ! Managing heavy web traffic using eZ Publish ! Achieving greater responsiveness during publishingSTATE OF THE ART: EXISTING SOLUTIONS !   Natives solutions ! Classic ! eZ DFS Cluster ! Static Cache ! Specific solution ! Specific static publishing ! Third-party solution !   Cache server on top (Varnish or CDN)THE NOVACTIVE SOLUTION: A NEW EXTENSION ! eZ Accelerator eZ Accelerator 14/10/2011 2
  3. 3. Challanges and ObjectivesChallanges ! eZ Publish is the most powerful Open-Source CMS !  Meets all the needs of content management ! Allows all types of design !   Has high scalability ! However greater flexibility and performance come at price: over loading database requests !   This can create performance problems in the event of heavy images and/or high trafficObjectives ! Deploy eZ Publish for news websites so they may handle high traffic requests ! Load balancing of traffic ! Preserving the scalability ! Seeking an instant publication tool: current challenge of news websites ! Avoiding multiple specific developments !   Long and costly ! Reduces the scalability of a platform eZ Accelerator 14/10/2011 3
  4. 4. Native SolutionseZ Publish 4.X eZ Accelerator 14/10/2011 4
  5. 5. 1. Classic Architecture eZ Accelerator 14/10/2011 5
  6. 6. 1. Classic Architecture Visitors eZ Contributors MySQL eZ Accelerator 14/10/2011 6
  7. 7. 2. eZ DFS Classic Architecture eZ Accelerator 14/10/2011 7
  8. 8. 2. eZ DFS Classic Architecture Visitors Load Balancer eZ eZ eZ eZ Contributors eZ DFS NFS MySQL eZ Accelerator 14/10/2011 8
  9. 9. 2. Classic and eZ DFS ArchitectureBenefits !   Optimal cache management !   Instant publishingDisadvantages ! Database will be under significant demand !   Performance is directly related to the quality of code and design choice ! Heavily dependent on the amount of content and users / contributorsUse Case ! Inadequate for objectives: !   > 100 pages/sec !   > 150 K objects eZ ! Suitable for sites with limited traffic eZ Accelerator 14/10/2011 9
  10. 10. 3. Classic + Static Cache Architecture eZ Accelerator 14/10/2011 10
  11. 11. 3. Classic + Static Cache Architecture Visitors Static Cache eZ Contributors MySQL eZ Accelerator 14/10/2011 11
  12. 12. 4. eZ DFS + Static Cache Architecture eZ Accelerator 14/10/2011 12
  13. 13. 4.eZ DFS+Static Cache Architecture–Multi Front Visitors Load Balancer Static Static Static Static Cache Cache Cache Cache eZ eZ eZ eZ Contributors eZ DFS NFS MySQL eZ Accelerator 14/10/2011 13
  14. 14. 4. eZ DFS + Static Cache ArchitectureBenefits ! Perfect reliability when experiencing high traffic ! Does not require a cache serverDisadvantages !   Not very flexible: Does not offer solutions for transverse block management (Ex: Site menu / footer / ...) ! Very heavy cache clearing ! Does not handle all potential node views of a content ! Problem in connected mode (Full AJAX or no cache) !   Apache is always solicited (and less powerful than Varnish)Use cases ! Adapted for sites with high traffic with institutional content !   Not suitable for sites with many transverse blocks and high contribution, as for example media and/or news sites. eZ Accelerator 14/10/2011 14
  15. 15. Other solution:Adding a cache server on topFor example: Varnish eZ Accelerator 14/10/2011 15
  16. 16. 1. Classic Architecture + Varnish eZ Accelerator 14/10/2011 16
  17. 17. 1. Classic Architecture + Varnish Visitors Varnish eZ Contributors MySQL eZ Accelerator 14/10/2011 17
  18. 18. 2. eZ DFS Architecture + Varnish eZ Accelerator 14/10/2011 18
  19. 19. 2. eZ DFS Architecture + Varnish Load Balancer Visitors Varnish Varnish eZ eZ eZ eZ Contributors eZ DFS NFS MySQL eZ Accelerator 14/10/2011 19
  20. 20. 2. Architecture eZ DFS + VarnishBenefits !   No development is needed (except connected party) !   Flexible cache management ! Transparency with the applicationDisadvantages ! Managing the connected party? !   Works on a short TTL (Time To Live) ! Delaying the publication with 2xTTL time ! Induced time lag of contents !   The permanent dilemma: !   The greater the TTL is, the less responsive it is. !   The more you reduce the TTL, the less capable you are of handling high traffic eZ Accelerator 14/10/2011 20
  21. 21. How to do better? eZ Accelerator 14/10/2011 21
  22. 22. Novactive ObjectivesCombine advantages of each solution ! Classic eZ DFS Cluster !   Optimal cache management !   Instant publishing ! eZ DFS Cluster - Static Cache ! Reliability !   Cache Server !   Flexible cache management ! Transparency of the application.…and remove all disadvantages. eZ Accelerator 14/10/2011 22
  23. 23. Our solutioneZ Accelerator eZ Accelerator 14/10/2011 23
  24. 24. eZ Accelerator A connector between Varnish and eZ PublishPrinciple: ! Clear specific and targeted Varnish Cache at the end of the publication process. !   On all relatives URLs: !   Of a content !   Of related node connections with the content view caching process !   In other words, all rules of the content view cache are respected in Varnish purge! eZ Accelerator 14/10/2011 24
  25. 25. eZ AcceleratoreZ Accelerator in details: !   a control interface to clear specific Varnish caches !   The management of several Varnish servers. eZ Accelerator 14/10/2011 25
  26. 26. eZ AcceleratoreZ Accelerator in details: !   Multi-site access managment ! Varnish cache purging !   On publication (take care of workflow process), ! Manually via !   A new button in the adminsitration interface !   A CLI script eZ Accelerator 14/10/2011 26
  27. 27. eZ Accelerator eZ Accelerator 14/10/2011 27
  28. 28. eZ Accelerator eZ Accelerator 14/10/2011 28
  29. 29. eZ Accelerator !   No slowdown in the publication process (daemon) !   StaleCache management, which in turn does not hide any obsolete pages in Varnish !   Some template operators for managing ESI (and block) !   A Varnish 3 configuration file optimized for eZ Publish !   Interface available in FR and EN eZ Accelerator 14/10/2011 29
  30. 30. To be resume: without eZ AcceleratorProcess without extension Visitors TTL very short> Varnish performance panics with high traffic eZ eZ eZ eZ ViewCache Publication eZ DFS System process Contributors NFS MySQL Trageted purge of eZ Cache eZ Accelerator 14/10/2011 30
  31. 31. To be resume: avec eZ AcceleratorProcess with extension Visitors Trageted purge of TTL very long > noeZ Accelerator Varnish Varnish solicitation of database (even Cache in high traffic period) eZ eZ eZ eZ ViewCache Publication eZ DFS System process Contributors NFS MySQL Trageted purge of eZ Cache eZ Accelerator 14/10/2011 31
  32. 32. For simple sites, eZ Accelerator alsoworks with a single server! eZ Accelerator 14/10/2011 32
  33. 33. eZ AcceleratorOnly one eZ Publish instance ! Only one web server (Apache) !   N SiteAccess ! Only one database VisitorseZ Accelerator extension ! With only one VarnishOnly on Varnish ! Varnish ! Very long TTL VarnishNo cluster modeNo NFS eZ Accelerator ContributorsA simple architecture eZ MySQLVery efficient!!! eZ Accelerator 14/10/2011 33
  34. 34. eZ Accelerator – Advanced usage !   Managing cache-block !   Varnish became an application piece of the platform !   ESI System !   Deleting cache-block and using benefit of ESI views !   Update these caches (old cache-block) with the ezpublish view caching system.Example: !   The left menu is unique per node of depth 2 ! We want: ! Generate the menu once a node of depth 2 !   Update this menu directly when a change is made eZ Accelerator 14/10/2011 34
  35. 35. eZ Accelerator – Advanced usagePagelayout standard eZ Publish: With cache-block Pagelayout Header (cache-block) Menu (cache-block) View Footer (cache-block) eZ Accelerator 14/10/2011 35
  36. 36. eZ Accelerator – Advanced usagePagelayout with eZ Accelerator: Without cache-block Pagelayout Header (/content/view/header/2) Menu (/content/view/menu/N) View Footer (/content/view/footer/2) eZ Accelerator 14/10/2011 36
  37. 37. eZ Accelerator in clonclusion eZ Accelerator 14/10/2011 37
  38. 38. eZ Accelerator in conclusionObjectives Attained !   In production on several websites, eZ Accelerator has proved its efficiency on high traffic sites: ! Varnish caches 98% of requests !   Apache handle 2% of actual traffic !   The database is dedicated to the backoffice and to the generation of new content ! We see a significant slowdown of usage of the NFS ! Beyond speed, more security: the website is always available due to the shield protection of Varnish (even if have server problems occur)Certified extension by eZ Systems !   In production on Sport24.com, deployed on a daily news site ! Easy to install ! Available in the eZ Market since mid-October 2011Since August 2011 Novactive, is a certified Varnish partner ! Provides support for the extension eZ Accelerator !   May advise in the setup of your Varnish servers eZ Accelerator 14/10/2011 38
  39. 39. Address: 42-44, rue de Paradis 75010 PARIS FRANCEPhone: +331.48.24.33.60Fax: +331.48.24.33.54Email: info@novactive.comSite: www.novactive.comSARL au capital de 132.576 eurosRCS Paris B 408 999 233 eZ Accelerator 14/10/2011 39

×