Statistics application for DSpace (initial proposal) Federico Paparoni
Architecture
Request Layer <ul><li>Informations are collected by different sources </li></ul><ul><li>The main points that will log the ...
Request Layer/2 <ul><li>These point of logging will use a particular logger, defined in a new Log4j file properties </li><...
Request Layer/3 <ul><li>A possible layout of this log file: </li></ul><ul><li>2007-04-19 17:10:28,031 INFO  [Filter] Page ...
Request Layer/4 <ul><li>The work that has to be done for this layer is : </li></ul><ul><li>Identify points of logging </li...
Core Layer <ul><li>This layer, as the old stats application, will parse the log file and will submit informations on the D...
Core Layer/2 <ul><li>Tables created and managed by Core Module will mantain the statistics informations </li></ul><ul><li>...
Web Layer <ul><li>The Web Layer will create different views, containing the informations collected </li></ul><ul><li>Commu...
Open questions <ul><li>Open questions: </li></ul><ul><li>Private access or Public access? </li></ul><ul><li>Configuration ...
Upcoming SlideShare
Loading in …5
×

Initial proposal for DSpace statistics application

2,143 views
2,084 views

Published on

Initial proposal for DSpace statistics application

Published in: Technology, Education
1 Comment
1 Like
Statistics
Notes
  • hi....nice presentation...however, to avail all sorts of web services click on www.webcatalyst.org
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
2,143
On SlideShare
0
From Embeds
0
Number of Embeds
47
Actions
Shares
0
Downloads
71
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide

Initial proposal for DSpace statistics application

  1. 1. Statistics application for DSpace (initial proposal) Federico Paparoni
  2. 2. Architecture
  3. 3. Request Layer <ul><li>Informations are collected by different sources </li></ul><ul><li>The main points that will log the statistics data are: </li></ul><ul><li>Filter : a filter that logs informations about general hits and visitors of the DSpace platform </li></ul><ul><li>View: every JSPTag (ItemTag, CollectionListTag and so on) will log informations about hits and everything that can be read from HttpRequest </li></ul><ul><li>Search : searches on the DSpace platform will log searched queries </li></ul>
  4. 4. Request Layer/2 <ul><li>These point of logging will use a particular logger, defined in a new Log4j file properties </li></ul><ul><li>So the structure of DSpace logging will not change and a more detailed log, for statistics purposes, will be created </li></ul>
  5. 5. Request Layer/3 <ul><li>A possible layout of this log file: </li></ul><ul><li>2007-04-19 17:10:28,031 INFO [Filter] Page hits from 151.100.41.12 </li></ul><ul><li>2007-04-19 17:10:30,031 INFO [Filter] Page hits from 151.100.41.12 </li></ul><ul><li>2007-04-19 17:11:40,031 INFO [View] ItemView : NameOfItem : 151.100.41.12 </li></ul><ul><li>2007-04-19 17:11:41,031 INFO [View] ItemView : HttpReferer : http://www.somehost.com </li></ul><ul><li>2007-04-19 17:11:42,031 INFO [View] CollectionView : HttpReferer : http://www.somehost.com </li></ul>
  6. 6. Request Layer/4 <ul><li>The work that has to be done for this layer is : </li></ul><ul><li>Identify points of logging </li></ul><ul><li>Identify informations logged </li></ul><ul><li>Create a logfile with a suitable format </li></ul>
  7. 7. Core Layer <ul><li>This layer, as the old stats application, will parse the log file and will submit informations on the DB </li></ul><ul><li>The communications between Core Module and DB can be created in different ways: </li></ul><ul><li>DSpace lib: Org.dspace.storage.rdbms </li></ul><ul><li>Hibernate </li></ul><ul><li>iBatis </li></ul>
  8. 8. Core Layer/2 <ul><li>Tables created and managed by Core Module will mantain the statistics informations </li></ul><ul><li>There will be also a “Cleanup module”, that will aggregate old informations on some tables, to don’t have a waste of resources </li></ul><ul><li>This “Cleanup module” can be also executed from the Web interface </li></ul>
  9. 9. Web Layer <ul><li>The Web Layer will create different views, containing the informations collected </li></ul><ul><li>Communication with DB using some library (as Core Module) </li></ul><ul><li>Informations will be organized in different views, using different formats </li></ul>
  10. 10. Open questions <ul><li>Open questions: </li></ul><ul><li>Private access or Public access? </li></ul><ul><li>Configuration based views? </li></ul><ul><li>JMS logging based? </li></ul>

×