[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:10:00 EDT 2016
[ https://issues.jboss.org/browse/WFLY-6733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radoslav Husar updated WFLY-6733:
---------------------------------
Description: See JBEAP-4757. (was: 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?)
> 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
>
> See JBEAP-4757.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list