Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
txt
README.txt 66.9 kB 4 04-Feb-2006 07:18 148.221.80.109
java
VersioningFileProvider.java 15.2 kB 1 21-Feb-2005 21:48 MikeOliverAZ

This page (revision-88) was last changed on 10-Oct-2011 16:01 by Janne Jalkanen  

This page was created on 12-Apr-2002 18:10 by JanneJalkanen

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 83 removed 3 lines
* ''How much disk space? What is a decent way to think about the ratio?'' -- MatthewSimpson
* ''These pages tend to be relatively small, so disk usage isn't a huge issue -- in my opinion -- especially given the size of modern drives. It also depends upon how many times a page is revisioned. For example, the main page on [JSPWiki|http://www.jspwiki.org/], as of the time I am writing this, has been versioned 175 times. Let's say it fits into a 3KB file (it's not that big), which gives us 175 * 3KB = 525KB for a highly active front page (not counting disk block sizes, etc). This still isn't too bad, especially given the fact that the VersioningFileProvider is much faster than the RCSFileProvider. As for attachments, RCS is not efficient at versioning binary files -- it makes a complete copy of it just like VersioningFileProvider. I've also gone in and manually edited some of the pages on the intranet server I have running where people made some simple beginner mistakes and I didn't want to create a new version of the page and it is much easier to do that if you have separate copies of every page (this shouldn't be encouraged, by the way). If you find yourself running low on space, you could always delete some pr0n. [Pic/smile.png] --MichaelGentry''
At line 93 added 19 lines
----
!How much space does VersioningFileProvider need with respect to RCSFileProvider?
Q: What is a decent way to think about the ratio?'' -- MatthewSimpson
A: These pages tend to be relatively small, so disk usage isn't a huge issue -- in my opinion -- especially given the size of modern drives. It also depends upon how many times a page is revisioned. For example, the main page on [JSPWiki|http://www.jspwiki.org/], as of the time I am writing this, has been versioned 175 times. Let's say it fits into a 3KB file (it's not that big), which gives us 175 * 3KB = 525KB for a highly active front page (not counting disk block sizes, etc). This still isn't too bad, especially given the fact that the VersioningFileProvider is much faster than the RCSFileProvider. As for attachments, RCS is not efficient at versioning binary files -- it makes a complete copy of it just like VersioningFileProvider. I've also gone in and manually edited some of the pages on the intranet server I have running where people made some simple beginner mistakes and I didn't want to create a new version of the page and it is much easier to do that if you have separate copies of every page (this shouldn't be encouraged, by the way). If you find yourself running low on space, you could always delete some pr0n. [Pic/smile.png]
--MichaelGentry
The RCS store of Main is 45802 bytes at the writing of this. So we would guess that the VersioningFileProvider takes about eleven times as much space as the RCSFileProvider. Take into account blocks (assume 32k blocks for FAT, for example, and you suddenly gain more:
* VersioningFileProvider: 32 k * 175 = 5600 kb
* RCSFileProvider: 45802/32767 = 2 blocks = 64 kb.
Thus the ratio is about 87.5/1 with large block sizes...
-- JanneJalkanen
Version Date Modified Size Author Changes ... Change note
88 10-Oct-2011 16:01 7.813 kB Janne Jalkanen to previous
87 10-Oct-2011 15:11 7.585 kB 193.30.140.141 to previous | to last added Q: Can I switch back and forth with FileProviders?
86 10-Oct-2010 16:39 7.043 kB Dirk Frederickx to previous | to last remove spam
85 09-Oct-2010 00:23 7.171 kB Razan Abbass to previous | to last
84 26-Sep-2007 23:44 7.043 kB JanneJalkanen to previous | to last
83 26-Sep-2007 02:51 7.057 kB 161.200.255.162 to previous | to last
82 16-Jan-2007 04:25 7.043 kB 24.110.6.81 to previous | to last
81 09-Nov-2006 15:23 6.89 kB SergeBakhteiarov to previous | to last
« This page (revision-88) was last changed on 10-Oct-2011 16:01 by Janne Jalkanen  
G’day (anonymous guest) My Prefs
JSPWiki v2.8.4-svn-9