Clustering/Session Replication in docker swarm

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Clustering/Session Replication in docker swarm

Praveen Kumar K S
Hello,

I'm not sure if this is the right forum to ask this question. Since this is
a bigger community, I hope someone might have faced this issue and hope I
will get some help.

I'm seeing many posts achieving Tomcat session replication in docker swarm
using traefik. But I just don't want to add another component. I use httpd
as frontend for tomcat. Tomcat will be deployed as a service with 4
replicas and will be scaled when required. httpd is running as docker
service and both are in same network. My question is, is there any way to
achieve Tomcat session replication in docker swarm in this case ?
Reply | Threaded
Open this post in threaded view
|

Re: Clustering/Session Replication in docker swarm

Christopher Schultz-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Praveen,

On 5/20/20 12:27, Praveen Kumar K S wrote:

> Hello,
>
> I'm not sure if this is the right forum to ask this question. Since
> this is a bigger community, I hope someone might have faced this
> issue and hope I will get some help.
>
> I'm seeing many posts achieving Tomcat session replication in
> docker swarm using traefik. But I just don't want to add another
> component. I use httpd as frontend for tomcat. Tomcat will be
> deployed as a service with 4 replicas and will be scaled when
> required. httpd is running as docker service and both are in same
> network. My question is, is there any way to achieve Tomcat session
> replication in docker swarm in this case ?

I'm not an auto-scaling guy, so this might be a stupid question: does
Docker-swarm have its own orchestration service, or does it use
something like Kubernetes?

There is a "cloud" cluster membership manager which is currently
undocumented but should be usable. The only current implementation is
for a Kubernetes back-end, but I'm sure another implementation could
be built for whatever orchestration scheme you have in your environment.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl7IPCYACgkQHPApP6U8
pFhOdg/+NA7SMtLCml3WsLEtbM10HzbBU79qSfwsvoT+wZIduqYyhbXIehxxub6C
rrwX6r+WMF2qxSwiHg8XT1LYBuq15x0YctHUzHA4CJ0iuaUVCsIaHJxT32Gh2BUe
rAYsRH4THjqxCTMzRzr5FjMEPqicOm0l8B/LXStAjUJi2uX4UQqOhn5aFAAFoR2L
r8P4xAj0Mlzr+XHAnzGWvXGULsEYJZZyAgZTpudJ40/l6pv50gKQK5qz5j3NRQSK
YgFrixSMkzke6TvW6Mc+Kz/5y95XZ/xA+DG0C59+ulUsHKqf2Asy06Nk/4aGzdRt
FdYGjAlCMeWMKRt2p6gseckNUxoZUx8VSwf1/0i6GQ//ynA1RBqmwblbHc6x0UCv
AM2mBObvCjlbDlv0o/3Mdn4NR8iQfY12SWcbL0/VrjzqDI8nYoUk46pc1oIs2Ree
0nivzZd54k9ukT3oypm8wJl8eZYFdsYRXTIMabvxwe/CZAo8etgjqN3YaWy8gyrg
cw1WydsFPBVEj+QtLlgiF9Q++sWOh1o7oQT1xp+EJ1v0zWeQnfxc2Cqt20IZtjUi
RWDn8gD+VxpGYQlvS3IGLSSHZfepBKk0SEDrTZDbo+/TeDHWh6Plc/dBKWiUCzqY
nqE3+HPAgIQpBpJu9je2pinNTMiRSFaG8AVhkQMk0Cd0empqdsA=
=yEhA
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]