[jboss-jira] [JBoss JIRA] (WFLY-6733) Improve toString() representation of web session cache keys (org.wildfly.clustering.infinispan.spi.distribution.Key subclasses)

Radoslav Husar (JIRA) issues at jboss.org
Thu Jun 16 18:09:00 EDT 2016


     [ https://issues.jboss.org/browse/WFLY-6733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radoslav Husar moved JBEAP-5059 to WFLY-6733:
---------------------------------------------

              Project: WildFly  (was: JBoss Enterprise Application Platform)
                  Key: WFLY-6733  (was: JBEAP-5059)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
       Target Release:   (was: 7.backlog.GA)
    Affects Version/s: 10.0.0.Final
                           (was: 7.0.0.GA)


> Improve toString() representation of web session cache keys (org.wildfly.clustering.infinispan.spi.distribution.Key subclasses)
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-6733
>                 URL: https://issues.jboss.org/browse/WFLY-6733
>             Project: WildFly
>          Issue Type: Enhancement
>    Affects Versions: 10.0.0.Final
>            Reporter: Radoslav Husar
>            Assignee: Radoslav Husar
>            Priority: Minor
>
> It might be just my ignorance, but it seems kinda weird anyway :)
>  * [^clusterbench-ee7.ear] from [web-cache-investigator|https://github.com/Karm/clusterbench/tree/web-cache-investigator] branch
>  * 1 server, no balancer, trivial standalone-ha startup
>  * result is way too many records in the cache for a single session id:
> {noformat}
> karm at localhost:~/Projects/MOD_CLUSTER/httpd-2.4.20-build/bin$ curl -c cookie.txt -b cookie.txt http://127.0.0.1:8080/clusterbench/debug
> Serial: 22
> Session ID: Ok6CfU2Az90jOVLJE_NkXPpBwDwq6YP5EwlbD5X-
> Current time: Tue May 31 11:25:25 CEST 2016
> ServletRequest.getServerPort(): 8080
> ServletRequest.getLocalPort(): 8080
> Node name: localhost
> Members: [localhost]
> Cache: clusterbench-ee7.ear.clusterbench-ee7-web-passivating.war, Size: 0
>     Keys: []
> Cache: routing, Size: 1
>     Keys: [localhost]
> Cache: clusterbench-ee7.ear.clusterbench-ee7-web-granular.war, Size: 0
>     Keys: []
> Cache: clusterbench-ee7.ear.clusterbench-ee7-web-default.war, Size: 3
>     Keys: [Ok6CfU2Az90jOVLJE_NkXPpBwDwq6YP5EwlbD5X-, Ok6CfU2Az90jOVLJE_NkXPpBwDwq6YP5EwlbD5X-, Ok6CfU2Az90jOVLJE_NkXPpBwDwq6YP5EwlbD5X-]
> Cache: dist, Size: 0
>     Keys: []
> Physical addresses: 127.0.0.1:55200;
> karm at localhost:~/Projects/MOD_CLUSTER/httpd-2.4.20-build/bin$ cat cookie.txt 
> # Netscape HTTP Cookie File
> # http://curl.haxx.se/docs/http-cookies.html
> # This file was generated by libcurl! Edit at your own risk.
> 127.0.0.1   FALSE   /clusterbench   FALSE   0   JSESSIONID  Ok6CfU2Az90jOVLJE_NkXPpBwDwq6YP5EwlbD5X-.localhost
> {noformat}
> WDYT?



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list