memcached-session-manager icon indicating copy to clipboard operation
memcached-session-manager copied to clipboard

#319 Need flag to support AWS Static and Dynamic modes.

Open ashishsodhi1 opened this issue 9 years ago • 9 comments

ashishsodhi1 avatar Dec 03 '16 09:12 ashishsodhi1

Thanks for the PR! Can you tell what's the motivation, which problem is solved and how to use it?

magro avatar Dec 05 '16 07:12 magro

For me questions arise with the title already, as I don't know what's static / dynamic mode. Links to documentation would of course be useful as well.

magro avatar Dec 05 '16 07:12 magro

Hi https://github.com/awslabs/aws-elasticache-cluster-client-memcached-for-java -Dclient.mode=memcached_client_mode This argument is used to specify the mode of the client that you want to run. Supported options are Static and Dynamic. Dynamic mode enables Auto Discovery feature. Static mode runs without Auto Discovery and has the same functionality as a classic spymemcached client. By default it is set to Dynamic.

Dynamic mode -> http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/AutoDiscovery.Using.html

Static mode->http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/AutoDiscovery.Manual.html

Our specific issue was that we were packaging Amazon ElastiCache Cluster Client with our application for application caching so did not have the option of switching between Elastic Client and spymemcached client but still had the requirement to configure session backup with either manually or with dynamic discovery to support testing in local, uat, stage, and aws production environments differently..

ashishsodhi avatar Dec 06 '16 14:12 ashishsodhi

Hi Margo, Did you get a chance to look into this? Is this going to be incorporated? PLease let us know

Thanks

sbellary avatar Jan 04 '17 18:01 sbellary

@sbellary Not yet, sorry, I'm having a look now.

magro avatar Jan 04 '17 19:01 magro

Is this being worked on? I have the exact same need.

eschulma avatar Nov 30 '17 22:11 eschulma

@eschulma I think it's stalled. Maybe you want to pick up what's already there and continue with this?

magro avatar Mar 14 '18 22:03 magro

My environment is working, and I don't remember much about this now. But it looked like @ashishsodhi was close to being done.

eschulma avatar Mar 15 '18 01:03 eschulma

@eschulma ok :-)

magro avatar Mar 15 '18 05:03 magro