Log of /jakarta/jcs/trunk/project.xml
Parent Directory
|
Revision Log
Revision
699369 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 26 15:37:01 2008 UTC
(13 months, 4 weeks ago)
by
asmuts
File length: 10284 byte(s)
Diff to
previous 696472
(
colored)
Cleaning up javadocs here and there. Added a timeout configurable custom socket factory. Increased the version in preparation for temp build.
Revision
647264 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 11 18:43:26 2008 UTC
(19 months, 2 weeks ago)
by
asmuts
File length: 10198 byte(s)
Diff to
previous 543926
(
colored)
Committing a patch by Chris Fairbanks. It allows clients to retrieve multple items from the cache with a single call.
Revision
541896 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat May 26 14:05:16 2007 UTC
(2 years, 6 months ago)
by
tv
File length: 10267 byte(s)
Diff to
previous 541083
(
colored)
- Make sure the NOTICE and LICENSE.txt files are included in all
published artifacts
- Add a couple of settings to the project.properties
Revision
539250 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri May 18 03:58:30 2007 UTC
(2 years, 6 months ago)
by
seade
File length: 9919 byte(s)
Diff to
previous 536904
(
colored)
Update the version number to 1.3-rc1.
Update a few of the optional dependencies.
Exclude a number of the test classes from automatic execution.
Revision
536904 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu May 10 16:03:42 2007 UTC
(2 years, 6 months ago)
by
tv
File length: 8896 byte(s)
Diff to
previous 529237
(
colored)
JCS has officially been wrestled. Sorry, guys, this is going to be
one *big* commit again.
- Re-Licensed everything according to the current ASF policy
- Reformatted headers
- Removed trailing blanks
Revision
529237 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 16 13:36:28 2007 UTC
(2 years, 7 months ago)
by
seade
File length: 8118 byte(s)
Diff to
previous 449068
(
colored)
Bring dependencies up to date.
Various other corrections to the project descriptor.
Explicitly specify Java source and compile versions.
Revision
433672 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 22 15:19:11 2006 UTC
(3 years, 3 months ago)
by
asmuts
File length: 6390 byte(s)
Diff to
previous 432032
(
colored)
Added license header to several new files.
Updated servlet dependency to 2.3.
Added a utility servlet context listener that can be used to shutdown JCS.
Revision
432032 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Aug 16 20:59:26 2006 UTC
(3 years, 3 months ago)
by
asmuts
File length: 6390 byte(s)
Diff to
previous 420957
(
colored)
Fixed JCS-1
Recyle bin was returning the last element even if it was smaller.
I added tests and updated the changes file.
I started a new sub.sub version for this and the previous fix JCS-5
Revision
420957 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 11 19:36:02 2006 UTC
(3 years, 4 months ago)
by
asmuts
File length: 6390 byte(s)
Diff to
previous 419436
(
colored)
I added a MySQL Disk Cache to JCS that extends the base JDBC Disk Cache.
The MySQL child has two new features. It can optimize on a schedule and balk.
The optimization schedule is a simple list of time in hh:mm:ss format.
The optimizer knows how to detect optimization failures and will try to
repair the table is the optimization fails.
It also logs the table status after optimization and how long it took to perform the optimization.
It can also be configured to balk during optimizations.
If you are running a JCS server cluster, it can be configured such that nodes will try to get from each other.
If the mysql disk cache balks, the primary will to try and fetch data from the failover. If the primary and failover are scheduled to optimize a few minute apart, then there should be no client impact.
I added a new pool access class and a table status object that is used to keep track of what processes might be working on a particular table.
I also changed the get to use toString rather than assume that the key is a string.
Revision
419436 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jul 6 05:05:26 2006 UTC
(3 years, 4 months ago)
by
seade
File length: 6237 byte(s)
Diff to
previous 416808
(
colored)
Updated issue tracking URL.
Some of the dependency versions could certainly be updated.
What is jgroups still doing in here?
Revision
415433 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Jun 19 21:39:27 2006 UTC
(3 years, 5 months ago)
by
asmuts
File length: 6245 byte(s)
Diff to
previous 412853
(
colored)
I fixed bug in sorted preferential array remove method.
It was generating error log messages from an array index out of bounds exception.
The new call to system arraycopy didn't work. I reverted it to the old manual copy.
I made a test that exposed the bug and verified the fix.
I increased the JCS temp build version and added an entry to the changes.xml
Revision
412853 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 8 20:50:22 2006 UTC
(3 years, 5 months ago)
by
asmuts
File length: 6245 byte(s)
Diff to
previous 407378
(
colored)
fixed udp discovery configuration bug that i introduced in the last build.
fixed old udp discovery xdoc, that had a bad tcp cache config.
added a brief jdbc disk cache xdoc.
updated the changes file.
increased the temp build version to 1.2.7.6
improved log messages for lateral tcp and udp discovery.
added a manual test that puts lots of stuff in the disk cache.
added a new 1.2.7.6 temp build compiled under jdk 1.3.1
Revision
399469 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed May 3 22:37:04 2006 UTC
(3 years, 6 months ago)
by
asmuts
File length: 6245 byte(s)
Diff to
previous 396575
(
colored)
Fixed bug where the remote cache client tried to de-serialize the payload when it was in cluster mode. Cluster remote cache clients no longer try to deserialize.
Revision
386388 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 16 17:18:28 2006 UTC
(3 years, 8 months ago)
by
asmuts
File length: 6051 byte(s)
Diff to
previous 378165
(
colored)
added the ability to get from a remote cluster
trying to get the udp discovery stuff into a reusable form
reduced synchronization block in disk cache to allow other children of the abstract disk cache to use more threads.
increased version to 1.2.7.1
I will add a jdbc disk cache soon
Revision
378165 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Feb 16 05:15:17 2006 UTC
(3 years, 9 months ago)
by
asmuts
File length: 6051 byte(s)
Diff to
previous 377847
(
colored)
updated version to 1.2.7.0 to mark the significant difference in
the required dependencies.
added to xdocs and faq.
included eh performance comparison.
Revision
377847 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 14 21:52:01 2006 UTC
(3 years, 9 months ago)
by
asmuts
File length: 6052 byte(s)
Diff to
previous 377781
(
colored)
Removed dependencies from the core of jcs on commons collections and commons lang.
With the next version of JCS, the core will only depend on util concurrent and commons logging.
Organizing unit tests and moving to a new test naming convention.
Revision
294960 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 5 01:06:28 2005 UTC
(4 years, 1 month ago)
by
asmuts
File length: 7524 byte(s)
Diff to
previous 293412
(
colored)
Added a 1.2.6.8 temp build with new TCP refactoring.
TCP lateral is very stable at this point. UDP discovery work great.
Added the start of an FAQ. Added FAQ link to left nav. Added FAQ report to project.xml.
Revision
291763 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 26 22:01:16 2005 UTC
(4 years, 2 months ago)
by
asmuts
File length: 7328 byte(s)
Diff to
previous 291015
(
colored)
Updated xdocs for new TCP config.
Updated some config files.
Added eclipse project and classpath files, modified cvsignore.
Changed log level for tests.
Revision
289380 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 16 04:38:13 2005 UTC
(4 years, 2 months ago)
by
asmuts
File length: 7591 byte(s)
Diff to
previous 264665
(
colored)
Finshed refactoring tcp lateral to use its own attributes, factory and manager.
I added allowGet, allowPut, issueRemoveOnPut, and filterRemoveByHashCode attributes
for TCP lateral, as discussed on the user list. I Added unit test for all new features.
I will add documentation on the new features later.
I still need to get the jgroups factory in order after the lateral refactoring.
Revision
264665 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Aug 30 01:10:34 2005 UTC
(4 years, 2 months ago)
by
asmuts
File length: 7455 byte(s)
Diff to
previous 240226
(
colored)
Fixed shutdown for lateral.
Added shutdown observer framework.
Changed listener thread to a daemon.
Made executor on listener use a daemon setting thread factory.
1.2.6.7 was compiled under jdk 1.4. The new jgroups jar forces a 1.4 compilation.
I will move jgroups to the 1.4 extension build later so we can continue with 1.3.
Revision
240226 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Aug 26 12:47:59 2005 UTC
(4 years, 3 months ago)
by
asmuts
File length: 7455 byte(s)
Diff to
previous 234393
(
colored)
fixed more javadocs.
created tests for jisp and hsql -- both are non functional.
tried to created unit test for remote.
changed inner class references in queues for jikes.
changed source url's to svn.
Revision
234393 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 22 00:12:06 2005 UTC
(4 years, 3 months ago)
by
asmuts
File length: 7060 byte(s)
Diff to
previous 230748
(
colored)
Properties are loaded using the current thread's classloader by default.
When a config file is not found a descriptive error message is printed to the logs.
Made an interface for the cache manager to improve testability.
Auxiliaries are assigned a cache manager and the lateral TCP has a settable source id, so it can be tested.
Increased JGroups version to 2.2.8. It works again. The old JGroups didn't work for unknown reasons.
Cleaned up some javadocs.
Improved info level logging for TCP lateral.
Added configuration properties xdocs for TCP lateral, indexed disk, and memory cache.
Created concurrent tests for TCP lateral to verify correct region behavior.
Made BDBJE work with new auxiliary changes.
UDP discovery no longer activates if the lateral type isn't TCP.
Reduced lateral get timeout to 1 second, rather than 10. We still need to disable gets when a timeout occurs.
Revision
230748 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Aug 8 04:21:01 2005 UTC
(4 years, 3 months ago)
by
asmuts
File length: 6940 byte(s)
Diff to
previous 224354
(
colored)
Added system properties override functionality to the configure stage.
You can set system properties that will be put into the cache properties prior to configuration.
Added a simple test for the feature.
Removed soem unused interfaces. There is inconsistency in the way interfaces are named. . . .
Changed auxiliary cache interface to use the cache factory. Many auxiliary listeners were
getting the factory by its get instance method. This made it
almost impossible to unit test them. I'm in the process of converting them all
to use the passed in cache manager. This will allow us to mock
out the manager and the composite cache and create tests for the auxiliaries.
This is a work in progress. The getCache method in the manager need to return an interface.
Revision
224345 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 3 20:25:55 2005 UTC
(4 years, 5 months ago)
by
asmuts
File length: 6814 byte(s)
Diff to
previous 224343
(
colored)
Added 2 new features to the TCP Lateral cache, some test files, and some unit tests.
New features:
1. Can send but not receive using the TCP lateral cache
By default you do both.
jcs.auxiliary.LTCP.attributes.Receive=false
This turns off receiving. If you just want to broadcast invalidations or puts this is useful.
Not all nodes need to receive. A data producer might not want to get messages.
This is very useful.
2. Configurationless TCP lateral cache
You can configure the TCP lateral to use UDP discovery.
Lateral caches will broadcast to a multicast address and port, letting
all listeners know where they are. One startup each lateral will request a broadcast from the others.
Broadcasts occur every 30 seconds. (to be made configurable)
Regions that don't receive don't broadcast anythign but requests.
When a lateral receives a discovery message it will try to add the lateral to the nowait facade for the
region. If it already exists nothing happens. If a region is not configured to send laterally, nothing happens,
since it doesn't have a no wait.
This allows you to have the same configuration on every machine.
Here is a sample config section:
jcs.auxiliary.LTCP=org.apache.jcs.auxiliary.lateral.LateralCacheFactory
jcs.auxiliary.LTCP.attributes=org.apache.jcs.auxiliary.lateral.LateralCacheAttributes
jcs.auxiliary.LTCP.attributes.TransmissionTypeName=TCP
#you can put something here or not
#jcs.auxiliary.LTCP.attributes.TcpServers=
jcs.auxiliary.LTCP.attributes.TcpListenerPort=1118
jcs.auxiliary.LTCP.attributes.PutOnlyMode=true
jcs.auxiliary.LTCP.attributes.UdpDiscoveryAddr=228.5.6.8
jcs.auxiliary.LTCP.attributes.UdpDiscoveryPort=6780
jcs.auxiliary.LTCP.attributes.UdpDiscoveryEnabled=true
jcs.auxiliary.LTCP.attributes.Receive=true
I'll add documentation later.
Revision
224332 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed May 18 01:27:31 2005 UTC
(4 years, 6 months ago)
by
asmuts
File length: 6769 byte(s)
Diff to
previous 224328
(
colored)
Added a method to cacheAccess that lets you get teh wrapper fromt he cache. This is very useful.
Added a simple test for this.
Updated the mailing list links.
Added links to old archive.
Updated version to 1.2.6
Added a jcs-1.2.6 jar to the tempbuilds.
Updated Javadocs.
Added method to get raw stats from the CacheAccess
Revision
224295 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 1 04:54:25 2005 UTC
(4 years, 9 months ago)
by
asmuts
File length: 6237 byte(s)
Diff to
previous 224292
(
colored)
Changed read write lock in abstract disk cache to just simple synchronization. It is a tad bit slower but I cannot cause any problems. I've run millions of operations against the disk cache alone (memeory = 0) with no memory increase.
Changed version to 1.2.4-dev
Revision
224292 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Feb 1 00:09:57 2005 UTC
(4 years, 9 months ago)
by
asmuts
File length: 6237 byte(s)
Diff to
previous 224284
(
colored)
fixed behavior problem when the disk is unreadable, fixed is spool problem, added an event test, and clean some java docs.
Revision
224261 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jan 28 04:52:50 2005 UTC
(4 years, 9 months ago)
by
asmuts
File length: 6164 byte(s)
Diff to
previous 224259
(
colored)
updated documentation:
added some docs on element configuration;
described how to chain remote servers;
fixed some missing info in other docs.
Revision
224259 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jan 27 22:45:11 2005 UTC
(4 years, 9 months ago)
by
asmuts
File length: 6143 byte(s)
Diff to
previous 224194
(
colored)
1. Fixed remote clustering (or server chaining) and failover.
I've tested with up to 3 remote servers.
You can chain remote servers. Basically, gets can be distributed.
Since gets are the most common operation, this will help a system scale.
Also you can set servers to failover. This allows you to have a hot standby.
2. Cleaned up javadocs all over the place. There is still more to do.
Revision
224194 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jan 13 09:12:58 2005 UTC
(4 years, 10 months ago)
by
asmuts
File length: 6114 byte(s)
Diff to
previous 224193
(
colored)
Fixed a bug that caused remote push to fail.
The event queues have an isAlive and an isWorking status. Originally isAlive meant that it hadn't died. No isAlive means are there any threads that are running. isWorking used to mean that there were threads working; now it means that the queue is in working order. This terminology isn't clear and lead to a bug. I will come up with new names.
The remote server used to check to see if a queue was alive before trying to send an update to a local. When we made the queues shutdown from inactivity, they started setting the isAlive to false. The remote server would then think they were bad and not try to add events. I now made the remote server check to see if the queue is working.
updated to bug fix version 1.2.1
Revision
224193 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Jan 12 01:23:06 2005 UTC
(4 years, 10 months ago)
by
asmuts
File length: 6068 byte(s)
Diff to
previous 224190
(
colored)
Optional, configurable thread pools can be set for all auxiliaries. By default
the single queue is used. (Will document later.)
Shrinkers for all regions now share one thread and are executed by a Doug Lea
Clock Daemon.
The disk cache now has more configuration options exposed. You can set the purgatory size,
recycle bin size, etc. Alos, you can set a bound on the purgatory. This solves the possibility
or an ever growing purgatory with a bounded queue.
Uped version to 1.2-dev to mark the changes.
Updated some documentation. I need to rebuild the site. I published the new
disk cache config page already.
The disk cache options are described on the web site.
jcs.auxiliary.DC.attributes.MaxPurgatorySize=10000
jcs.auxiliary.DC.attributes.MaxKeySize=10000
jcs.auxiliary.DC.attributes.MaxRecycleBinSize=5000
jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=300000
Revision
224190 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jan 6 01:27:44 2005 UTC
(4 years, 10 months ago)
by
asmuts
File length: 6070 byte(s)
Diff to
previous 224184
(
colored)
Put in a solution for the RMI bug. Now, gets can be done asynchronously with a configurable timeout.
You can specify that your remote region should timeout gets.
see the cache.ccf in the src/conf for details
Revision
224095 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jun 12 02:34:28 2004 UTC
(5 years, 5 months ago)
by
asmuts
File length: 5706 byte(s)
Diff to
previous 224088
(
colored)
Antonio Gallardo's formatting and import cleanup patch.
I may have missed a few things in the patch. Also, I could not update to the new version of util concurrent in the project.xml, since maven couldn't find the 1.3.4 specified in the patch.
Revision
223998 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Jul 20 01:19:18 2002 UTC
(7 years, 4 months ago)
by
jtaylor
File length: 4127 byte(s)
Diff to
previous 223997
(
colored)
Got rid of the JCSComponent based on stratum's component stuff, and removed
the dependency on stratum.
Since turbine has decided to go with avalon instead of creating our own
component stuff, stratum will be disolved. I do not think it would be a
good idea to release with a dependency on it, hopefully an avalon component
can be in the next release.
PR:
Obtained from:
Submitted by:
Reviewed by:
Revision
223985 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu May 30 12:59:20 2002 UTC
(7 years, 5 months ago)
by
jvanzyl
File length: 4201 byte(s)
Diff to
previous 223980
(
colored)
Updating project.xml
- <organization> element
- removing <jar> and <type> elements
- updated the repo to reflect any changes made here
PR:
Obtained from:
Submitted by:
Reviewed by:
Revision
223977 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat May 18 02:11:31 2002 UTC
(7 years, 6 months ago)
by
jtaylor
File length: 5020 byte(s)
Diff to
previous 223970
(
colored)
Reintroducing the Servlet interface to the cache. I rewrote it using velocity
which makes the code a little cleaner. I still would like to add a detail page
for viewing the items in the cache and removing one (or perhaps more than one).
Seems like a decent start.
Revision
223922 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Apr 13 04:01:33 2002 UTC
(7 years, 7 months ago)
by
jtaylor
File length: 4575 byte(s)
Diff to
previous 223918
(
colored)
Added another unit test that pounds the SAME region with 3 different threads,
rather than different regions.
This quickly showed a couple of synchronization problems in memory cache. I
changed some synchronization around and tried to to make the list remove cope
with the case where another thread has already removed the element. Before it
was just treating it like the only element, and quietly dropping the list (but
not the map -- yikes!)
Also, moved synchronization of spool to disk from Cache to LRUMemoryCache to
avoid a deadlock which occurred occasionally. Makes much more sense since that
method doesn't affect any of the volatile state in Cache.
Revision
223918 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 12 01:39:57 2002 UTC
(7 years, 7 months ago)
by
jtaylor
File length: 4492 byte(s)
Diff to
previous 223909
(
colored)
- Implemented an internal queue for CacheEventQueue instead of the one from
util.concurrent. Looking at the unit tests this gets us a performance
increase from 25% ( for TestSimpleLoad ) to 75% ( The other two tests,
yes three times faster! ) More room for improvement I hope, but this
gets us back to where we were (it's actually a little faster then it
was when we were using JGL, but lots of other things have changed since
then. A big chunk of change came from moving the object creation for the
new node outside of the synchronized block -- who knew!
- Big changes to the way configuration works, trying to make things more
flexible, you can now get an unconfigured cache and configure it in a
couple different ways, possibly even more then once (that part is not
yet tested)
- Component wrapper for JCS! Still unsure about getting the properties
from the configuration, may just scrap it and move JCS to using the
configuration interfaces internally.
Revision
223909 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 8 14:27:38 2002 UTC
(7 years, 7 months ago)
by
jtaylor
File length: 4265 byte(s)
Diff to
previous 223904
(
colored)
- Renamed CompositeCache to CacheHub, per todo.xml. Will post to the mailing
list regarding this shortly.
- Removed associated factory and put getInstance method in CacheHub (removing
DCL in the process =)
- Added some hackery to build.xml to allow the tests to run -- need to find a
more maveny way to do this in the long run.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.