K
K
kiranananda2019-04-08 19:09:35
Docker
kiranananda, 2019-04-08 19:09:35

Docker swarm overlay and end of swarm :(?

Hello!
In general, the entire project (web site) was moved to swarm and the last service left is memcached. Most of my load goes to Apache and nginx, they are running in mode: host. Everything is working! But I wanted to run memcash in the docker overlay network, so that when one of the nodes fell, it would quietly migrate to another and the admin could sleep peacefully... when a highly loaded service is in an overlay network, the access speed to it decreases with increasing traffic. And here it happened. Compilation of 1 page with such mode 3 seconds. Or set mode: host for the meme cache, then 0.2 seconds...
In general, why do we need a swarm then? For convenient spreading of containers across nodes and a weak network load? :(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kiranananda, 2019-04-15
@kiranananda

I'll also add consul + nomad. Also good

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question