namshi / docker-smtp

SMTP docker container
MIT License
548 stars 198 forks source link

smtp seems to be slow & strange log #47

Closed rong0312 closed 5 years ago

rong0312 commented 5 years ago

Hey, My PM noticed that the new smtp cluster based on this image is much slower than the classic IIS smtp for example, does anyone experience that aswell?

Moreover, since i believe that it is something related to the queue, i took a look at the logs and found that:

screen shot 2018-12-24 at 8 47 41

Is that a valid log? why does the queue start&end so many times? Is there any way to make my swarm cluster work faster?

Thanks alot!

rong0312 commented 5 years ago

Seems that the swarm is slowing down the process. Any suggestions?

rong0312 commented 5 years ago

I found a workaround, posting here in case someone needs it. The problem was the docker swarm routing mesh. all i had to do is to use HAproxy in front of my smtp containers. suggested project: docker-flow