Presentation is loading. Please wait.

Presentation is loading. Please wait.

8th Sakai Conference4-7 December 2007 Newport Beach Sakai JCR Content Hosting Steve Githens & Aaron Zeckoski

Similar presentations


Presentation on theme: "8th Sakai Conference4-7 December 2007 Newport Beach Sakai JCR Content Hosting Steve Githens & Aaron Zeckoski"— Presentation transcript:

1 8th Sakai Conference4-7 December 2007 Newport Beach Sakai JCR Content Hosting Steve Githens & Aaron Zeckoski

2 2 JCR Content Hosting An implementation of the ContentHostingService API which uses JCR as the storage mechanism underneath –Multiple JCR implementations available Fully compatible with the Resources tool and Webdav Migration tools are included

3 3 Key advantages Uses an industry standard API (JCR) Many implementations available –Jackrabbit, Xythos, Alfresco, etc. Highly customizable and configurable –DB/FileSystem, Caching, Tuning Uses code which is maintained and tested at thousands of sites outside Sakai –Less maintenance, reliable, supported URL:

4 4 Installation Installing JCR content is well documented on the Sakai Wiki –http://confluence.sakaiproject.org/confluence/display/RES/JSR-170http://confluence.sakaiproject.org/confluence/display/RES/JSR-170 For trunk the process is very simple –Checkout/build jackrabbit and branch (use -PJCR) For 2.4.x it is a little more involved –Upgrade 4 projects, checkout JCR, checkout/build jackrabbit and branch (with maven 2) JCR will be off by default, you can switch back and forth beween legacy and JCR using a tool or by adjusting the configuration URL:

5 5 JCR Inspector tool Switch Content from Legacy to JCR View the full JCR data tree Start/stop/monitor content migration URL:

6 6 Content Hosting usage Usage stats collected from various high load institutions Reads outweigh everything else by around 20 to 1 Content is rarely removed or updated These numbers were used to construct the simulation load tests

7 7 Load Testing A series of Test-Runner load tests have been created to test content hosting and simulate usageTest-Runner –Contact Aaron if you want to run these tests Read performance is comparable between JCR and current binary legacy trunk Mass Insert - Create 7 Collections and add 556 Resources Simulation - Simulate user accesses with around 200,000 reads, 500 inserts, 125 deletes (random), this is meant to closely match real usage Multi Thread - execute simulation on 10 threads simultaneously Mass Remove - Remove inserted collections(7)/resources(556) DOM - Legacy Content Hosting using DOM XML (2.4.0) SAX - Legacy Content Hosting using Saxalizer (2.4.x) Bin - Legacy Content Hosting using Binary Serialization (2.5.x/trunk) JCR - JCR Content Hosting with JackRabbitService underneath

8 8 Content Migration Migration of content from legacy to JCR is managed by an automated process that runs in the background –Copies data from legacy to JCR –Monitors content events to syncronize the JCR data with the existing legacy data –Delay between series of copies is configurable to keep from overloading the server –Non-destructive migration (no live data is changed) –Controllable via the JCR Inspector tool

9 9 Questions? Contact Ian Boston, Steve Githens, or Aaron Zeckoski if you are interested in trying this out or have questionsIan BostonSteve GithensAaron Zeckoski –http://confluence.sakaiproject.org/confluence/display/SAKDEV/JCR+Integrationhttp://confluence.sakaiproject.org/confluence/display/SAKDEV/JCR+Integration –http://confluence.sakaiproject.org/confluence/display/RES/JSR-170http://confluence.sakaiproject.org/confluence/display/RES/JSR-170


Download ppt "8th Sakai Conference4-7 December 2007 Newport Beach Sakai JCR Content Hosting Steve Githens & Aaron Zeckoski"

Similar presentations


Ads by Google