简体   繁体   中英

aws elastic beanstalk tomcat session management

Are there any other ways to implement session sharing on aws elastic bean tomcat other than using the AmazonDynamoDBSessionManagerForTomcat with dynamo db.

Also, has anyone run into problems after implementing AmazonDynamoDBSessionManagerForTomcat.

Thanks, Sanket

I haven't used DynamoDB for session management, but has been using Elasticache. In my case, I was ok for the session not to be persisted. Elasticache is in memory and generally reliable and doesn't go down. Depending on what your business is, it might be acceptable to ask user to login in any case of the very-unusual case of cache going down.

This https://code.google.com/p/memcached-session-manager/ helps to achieve this in code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM