Multiple failoverNodes

15 views
Skip to first unread message

Deepthi Komatineni

unread,
Sep 7, 2018, 1:19:33 AM9/7/18
to memcached
Hi,

Can there be multiple failover nodes setup in case of sticky/non-sticky sessions?
I.e., if there are 4 nodes I would like to have each node have more than 1 fail over node, so that when a rolling restart is done during deployments on 2 nodes at a time there will not be any session loss. As the 2 nodes that are picked at a time could be the primary & secondary nodes for a particular session and hence will result in session loss if restarted.

Is there a configuration that allows us to set the number of fail over nodes/levels in case of both sticky/non-sticky sessions?

Regards,
Deepthi

Daniel Ellis

unread,
Sep 7, 2018, 1:42:42 AM9/7/18
to memc...@googlegroups.com
I think your question is missing some details.  For instance, what do you mean sessions?  Web sessions?  Cookies?

Regardless, the deeper question is: what tooling are you using to manage your clustering / failover behavior?  I'm guessing your questions would be more appropriate for that group.

--

---
You received this message because you are subscribed to the Google Groups "memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email to memcached+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

deepthi.k999

unread,
Sep 7, 2018, 2:54:28 AM9/7/18
to memc...@googlegroups.com
Hi Daniel,

We use AEM installed on Tomcat with memcache. I am refering to web sessions in my question below.

The failover setup is as per industry standard. My question is more around session management between Tomcat and Memcache configuration and not on the general failover setup.

Regards
Deepthi


Sent from my Samsung Galaxy smartphone.

Brian Moon

unread,
Sep 7, 2018, 11:32:20 AM9/7/18
to memc...@googlegroups.com, deepthi.k999
Memcached itself does not handle any fail over. Whatever is handling the
fail over you speak of, is in the client library used by Tomcat or in
the session handling code in Tomcat. It is not part of memcached.

--

Brian.
--------
http://brian.moonspot.net/
> <mailto:memcached+...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
>
> --
>
> ---
> You received this message because you are subscribed to the Google
> Groups "memcached" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to memcached+...@googlegroups.com
> <mailto:memcached+...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.
>
> --
>
> ---
> You received this message because you are subscribed to the Google
> Groups "memcached" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to memcached+...@googlegroups.com
> <mailto:memcached+...@googlegroups.com>.
Reply all
Reply to author
Forward
0 new messages