baiheqiang / memcached-session-manager

Automatically exported from code.google.com/p/memcached-session-manager
0 stars 0 forks source link

Session serialization should be done asynchronously when sessionBackupAsync=true #51

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Right now, the sessionBackupAsync flag specifies, if the communication with 
memcached (SET session) is done asynchronously. However, also the 
session/attribute serialization should be done asynchronously if 
sessionBackupAsync is set to true.

Original issue reported on code.google.com by martin.grotzke on 22 Mar 2010 at 11:50

GoogleCodeExporter commented 8 years ago

Original comment by martin.grotzke on 22 Mar 2010 at 11:51

GoogleCodeExporter commented 8 years ago

Original comment by martin.grotzke on 22 Mar 2010 at 11:53

GoogleCodeExporter commented 8 years ago
Implemented.

Added new configuration attribute "backupThreadCount", as described at 
../wiki/SetupAndConfiguration.

There's also a new jmx property added that shows the effective time spent in 
the 
caller (request) thread for session backup, this is useful for async backup 
(see 
http:/../wiki/JMXStatistics).

Original comment by martin.grotzke on 23 Mar 2010 at 1:22