Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Archiving in eZ PublishWhat to do with all your content            Peter Keung                          http://www.mugo.ca
Site architecture:eZ DFS behind a CDN         Akamai   Web   Web      Web Editor   NFS   MySQL         MySQL              ...
Why archive?Performance and costSigns:  ezcontentobject_attribute table: how many million?  ezdfsfile  MySQL master-slave ...
Delay archivingOptimize your sitePrune old versionsPrune and combine attributes                               http://www.m...
RequirementsKeep same URLRelate archive and live content to each otherSometimes edit old content                          ...
OptionsSolrCreate static HTML archiveeZ Publish 5Another eZ Publish install                             http://www.mugo.ca
More eZ Publish!    Custom object relation(s) attribute    Online Editor links to full URLs    Apache redirect proxy rules...
More eZ Publish!!!!!!Caching headers on archive installUse Solr to display unified search and archiveresults on topic page...
More eZ Publish!!!!!!Caching headers on archive installUse Solr to display unified search and archiveresults on topic page...
Implementation stepsAdd a new “Archive” object state to markarticles to be movedMigrate and purge contentUpdate existing o...
More challengesMaintaining two code bases (small differences)Maintaining two installsSubsequent migrations: more precise  ...
Execute!Fingers crossed...Questions? hi@mugo.ca                           http://www.mugo.ca
Upcoming SlideShare
Loading in …5
×

Archiving in eZ Publish: What to do with all your content

1,167 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Archiving in eZ Publish: What to do with all your content

  1. 1. Archiving in eZ PublishWhat to do with all your content Peter Keung http://www.mugo.ca
  2. 2. Site architecture:eZ DFS behind a CDN Akamai Web Web Web Editor NFS MySQL MySQL http://www.mugo.ca
  3. 3. Why archive?Performance and costSigns: ezcontentobject_attribute table: how many million? ezdfsfile MySQL master-slave replication delays Growing cache size: disk performance and sizeDistribute traffic to more machinesDifferent caching needs for archived content http://www.mugo.ca
  4. 4. Delay archivingOptimize your sitePrune old versionsPrune and combine attributes http://www.mugo.ca
  5. 5. RequirementsKeep same URLRelate archive and live content to each otherSometimes edit old content http://www.mugo.ca
  6. 6. OptionsSolrCreate static HTML archiveeZ Publish 5Another eZ Publish install http://www.mugo.ca
  7. 7. More eZ Publish! Custom object relation(s) attribute Online Editor links to full URLs Apache redirect proxy rules Having date-based URLs helpsRewriteCond %{HTTP_HOST} origin(|m).csmonitor.comRewriteRule ^(/[0-9]{4}/.*)$ http://stagearchives.csmonitor.com$1 [P,L] http://www.mugo.ca
  8. 8. More eZ Publish!!!!!!Caching headers on archive installUse Solr to display unified search and archiveresults on topic pagesAjax or ESI driven widgets in sidebarsRename var folder http://www.mugo.ca
  9. 9. More eZ Publish!!!!!!Caching headers on archive installUse Solr to display unified search and archiveresults on topic pagesAjax or ESI driven widgets in sidebarsRename var folder http://www.mugo.ca
  10. 10. Implementation stepsAdd a new “Archive” object state to markarticles to be movedMigrate and purge contentUpdate existing object relations and OnlineEditor linksRe-index contentApache proxy redirect regular expressions http://www.mugo.ca
  11. 11. More challengesMaintaining two code bases (small differences)Maintaining two installsSubsequent migrations: more precise http://www.mugo.ca
  12. 12. Execute!Fingers crossed...Questions? hi@mugo.ca http://www.mugo.ca

×