Log of /jakarta/jcs/trunk/.cvsignore
Parent Directory
|
Revision Log
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: 34 byte(s)
Diff to
previous 224345
(
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
224345 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Jun 3 20:25:55 2005 UTC
(4 years, 5 months ago)
by
asmuts
File length: 54 byte(s)
Diff to
previous 224061
(
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.
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.