You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by "gayathri g (JIRA)" <ji...@apache.org> on 2008/01/30 10:56:36 UTC

[jira] Created: (JCS-37) JCS Lateral Cache Synchronization on Clustered deployments.

JCS Lateral Cache Synchronization on Clustered deployments.
-----------------------------------------------------------

                 Key: JCS-37
                 URL: https://issues.apache.org/jira/browse/JCS-37
             Project: JCS
          Issue Type: Wish
          Components: TCP Lateral Cache
         Environment: Weblogic 8
            Reporter: gayathri g
            Assignee: Aaron Smuts
            Priority: Minor


I am trying to develop a caching application, deployed on a cluster (two separate physical machines ) and my main requirement is to maintain consistency between both the caches. i.e, if i update a particular cache, it shud propagate to the other one too. I found that TCP lateral cache suits best for my requirement.
Can someone help me with the configuration of the auxillary cache? 

jcs.auxiliary.LTCP=org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory
jcs.auxiliary.LTCP.attributes=org.apache.jcs.auxiliary.lateral.socket.tcp.TCPLateralCacheAttributes
jcs.auxiliary.LTCP.attributes.TcpServers=gsng19d10005:8001,gsng19d10005:8001
jcs.auxiliary.LTCP.attributes.TcpListenerPort=8001
jcs.auxiliary.LTCP.attributes.AllowGet=true
jcs.auxiliary.LTCP.attributes.UdpDiscoveryEnabled=false

what s the significance of tcpListenerPort? The application is deployed on the port 8001 of both the machines. So can the TCPListnerPort be 8001?
or shud i give a different port number? If so, shud I ensure that the specific port is open on each of the machines?


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org


[jira] Updated: (JCS-37) JCS Lateral Cache Synchronization on Clustered deployments.

Posted by "gayathri g (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCS-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

gayathri g updated JCS-37:
--------------------------

    Description: 
I am trying to develop a caching application, deployed on a cluster (two separate physical machines ) and my main requirement is to maintain consistency between both the caches. i.e, if i update a particular cache, it shud propagate to the other one too. I found that TCP lateral cache suits best for my requirement.
Can someone help me with the configuration of the auxillary cache? 

jcs.auxiliary.LTCP=org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory
jcs.auxiliary.LTCP.attributes=org.apache.jcs.auxiliary.lateral.socket.tcp.TCPLateralCacheAttributes
jcs.auxiliary.LTCP.attributes.TcpServers=gsng19d10005:8001,gsng19d10006:8001
jcs.auxiliary.LTCP.attributes.TcpListenerPort=8001
jcs.auxiliary.LTCP.attributes.AllowGet=true
jcs.auxiliary.LTCP.attributes.UdpDiscoveryEnabled=false

what s the significance of tcpListenerPort? The application is deployed on the port 8001 of both the machines. So can the TCPListnerPort be 8001?
or shud i give a different port number? If so, shud I ensure that the specific port is open on each of the machines?


  was:
I am trying to develop a caching application, deployed on a cluster (two separate physical machines ) and my main requirement is to maintain consistency between both the caches. i.e, if i update a particular cache, it shud propagate to the other one too. I found that TCP lateral cache suits best for my requirement.
Can someone help me with the configuration of the auxillary cache? 

jcs.auxiliary.LTCP=org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory
jcs.auxiliary.LTCP.attributes=org.apache.jcs.auxiliary.lateral.socket.tcp.TCPLateralCacheAttributes
jcs.auxiliary.LTCP.attributes.TcpServers=gsng19d10005:8001,gsng19d10005:8001
jcs.auxiliary.LTCP.attributes.TcpListenerPort=8001
jcs.auxiliary.LTCP.attributes.AllowGet=true
jcs.auxiliary.LTCP.attributes.UdpDiscoveryEnabled=false

what s the significance of tcpListenerPort? The application is deployed on the port 8001 of both the machines. So can the TCPListnerPort be 8001?
or shud i give a different port number? If so, shud I ensure that the specific port is open on each of the machines?



> JCS Lateral Cache Synchronization on Clustered deployments.
> -----------------------------------------------------------
>
>                 Key: JCS-37
>                 URL: https://issues.apache.org/jira/browse/JCS-37
>             Project: JCS
>          Issue Type: Wish
>          Components: TCP Lateral Cache
>         Environment: Weblogic 8
>            Reporter: gayathri g
>            Assignee: Aaron Smuts
>            Priority: Minor
>
> I am trying to develop a caching application, deployed on a cluster (two separate physical machines ) and my main requirement is to maintain consistency between both the caches. i.e, if i update a particular cache, it shud propagate to the other one too. I found that TCP lateral cache suits best for my requirement.
> Can someone help me with the configuration of the auxillary cache? 
> jcs.auxiliary.LTCP=org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory
> jcs.auxiliary.LTCP.attributes=org.apache.jcs.auxiliary.lateral.socket.tcp.TCPLateralCacheAttributes
> jcs.auxiliary.LTCP.attributes.TcpServers=gsng19d10005:8001,gsng19d10006:8001
> jcs.auxiliary.LTCP.attributes.TcpListenerPort=8001
> jcs.auxiliary.LTCP.attributes.AllowGet=true
> jcs.auxiliary.LTCP.attributes.UdpDiscoveryEnabled=false
> what s the significance of tcpListenerPort? The application is deployed on the port 8001 of both the machines. So can the TCPListnerPort be 8001?
> or shud i give a different port number? If so, shud I ensure that the specific port is open on each of the machines?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org


[jira] Commented: (JCS-37) JCS Lateral Cache Synchronization on Clustered deployments.

Posted by "serwah sabetghadam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCS-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587063#action_12587063 ] 

serwah sabetghadam commented on JCS-37:
---------------------------------------

Hi, 
I have done this configuration for two servers. 
I have given port numbers 1111 and 1112 to them in this way:
#Auxiliary 
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
jcs.auxiliary.LTCP.attributes.TcpServers=192.170.2.1:1112
jcs.auxiliary.LTCP.attributes.TcpListenerPort=1111
jcs.auxiliary.LTCP.attributes.PutOnlyMode=false


and 

#Auxiliary 
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
jcs.auxiliary.LTCP.attributes.TcpServers=192.170.2.2:1111
jcs.auxiliary.LTCP.attributes.TcpListenerPort=1112
jcs.auxiliary.LTCP.attributes.PutOnlyMode=false

the port number doen't relate to your program listening port. I mean if you 
use tomcat for example and listening on 8080 it is not necessary to set
your ports on it.

Hope it works for you.
Serwah

> JCS Lateral Cache Synchronization on Clustered deployments.
> -----------------------------------------------------------
>
>                 Key: JCS-37
>                 URL: https://issues.apache.org/jira/browse/JCS-37
>             Project: JCS
>          Issue Type: Wish
>          Components: TCP Lateral Cache
>         Environment: Weblogic 8
>            Reporter: gayathri g
>            Assignee: Aaron Smuts
>            Priority: Minor
>
> I am trying to develop a caching application, deployed on a cluster (two separate physical machines ) and my main requirement is to maintain consistency between both the caches. i.e, if i update a particular cache, it shud propagate to the other one too. I found that TCP lateral cache suits best for my requirement.
> Can someone help me with the configuration of the auxillary cache? 
> jcs.auxiliary.LTCP=org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory
> jcs.auxiliary.LTCP.attributes=org.apache.jcs.auxiliary.lateral.socket.tcp.TCPLateralCacheAttributes
> jcs.auxiliary.LTCP.attributes.TcpServers=gsng19d10005:8001,gsng19d10006:8001
> jcs.auxiliary.LTCP.attributes.TcpListenerPort=8001
> jcs.auxiliary.LTCP.attributes.AllowGet=true
> jcs.auxiliary.LTCP.attributes.UdpDiscoveryEnabled=false
> what s the significance of tcpListenerPort? The application is deployed on the port 8001 of both the machines. So can the TCPListnerPort be 8001?
> or shud i give a different port number? If so, shud I ensure that the specific port is open on each of the machines?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org


[jira] Closed: (JCS-37) JCS Lateral Cache Synchronization on Clustered deployments.

Posted by "Aaron Smuts (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCS-37?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aaron Smuts closed JCS-37.
--------------------------

    Resolution: Invalid

This isn't a bug.  It's a configuration question.  It should have been sent to the mailing list.

> JCS Lateral Cache Synchronization on Clustered deployments.
> -----------------------------------------------------------
>
>                 Key: JCS-37
>                 URL: https://issues.apache.org/jira/browse/JCS-37
>             Project: JCS
>          Issue Type: Wish
>          Components: TCP Lateral Cache
>         Environment: Weblogic 8
>            Reporter: gayathri g
>            Assignee: Aaron Smuts
>            Priority: Minor
>
> I am trying to develop a caching application, deployed on a cluster (two separate physical machines ) and my main requirement is to maintain consistency between both the caches. i.e, if i update a particular cache, it shud propagate to the other one too. I found that TCP lateral cache suits best for my requirement.
> Can someone help me with the configuration of the auxillary cache? 
> jcs.auxiliary.LTCP=org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory
> jcs.auxiliary.LTCP.attributes=org.apache.jcs.auxiliary.lateral.socket.tcp.TCPLateralCacheAttributes
> jcs.auxiliary.LTCP.attributes.TcpServers=gsng19d10005:8001,gsng19d10006:8001
> jcs.auxiliary.LTCP.attributes.TcpListenerPort=8001
> jcs.auxiliary.LTCP.attributes.AllowGet=true
> jcs.auxiliary.LTCP.attributes.UdpDiscoveryEnabled=false
> what s the significance of tcpListenerPort? The application is deployed on the port 8001 of both the machines. So can the TCPListnerPort be 8001?
> or shud i give a different port number? If so, shud I ensure that the specific port is open on each of the machines?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-dev-help@jakarta.apache.org