New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does this scale up? #520

Closed
titansmc opened this Issue Jul 10, 2018 · 7 comments

Comments

4 participants
@titansmc
Copy link

titansmc commented Jul 10, 2018

Hi,
We are an organization of roughly 2000 heavily mail users and we plan to migrate to some other solution, but I am not sure if this setup will be able to scale, currently we have 8 VM's handling IMAP, 2 of them SMTP, 2 for webmail an IronPorts for doing SPAM filtering. Do you guys think this solution is able to scale horizontally ?

Thanks.

@kaiyou

This comment has been minimized.

Copy link
Member

kaiyou commented Aug 1, 2018

Sorry for the delay, I have been more than overwhelmed lately and focusing on replacing SQLite, specifically for some performance issues.

Currently Mailu will probably not scale up horizontally. It could in theory, with very little adjustments, but it would require some work that I personally won't have time to take upon until the end of the year.

@kaiyou kaiyou added the question label Aug 1, 2018

@muhlemmer

This comment has been minimized.

Copy link
Member

muhlemmer commented Aug 9, 2018

Horizontal scaling using Docker Swarm should possible soon. See issue #530 and PR's #563, #560 and #551(outdated). If kubernetes is more your cup of coffee, see PR #559. With a bit of luck it should be supported in master soon and probably in the next release.

If you are a mail admin, you might be able to convince you employer to spend some hours helping out here, in order to implement it in your company 😉

@titansmc

This comment has been minimized.

Copy link
Author

titansmc commented Aug 9, 2018

@muhlemmer

This comment has been minimized.

Copy link
Member

muhlemmer commented Aug 9, 2018

I'm not part of this organization, just a contributor which wants Swarm support for his own infrastructure. But I've seen the author (Kaiyou) denying donation before since he can't be at it full time. (#508)

But, once you have Docker up and running it is really user-friendly to set up. Using the classic docker-compose way, you'd be done in half hour (if you already have a server running Docker)

Docker swarm will take a bit more, since you have to set up some kind shared network storage between Nodes and what not. This is outside the Mailu scope, but it does take some extra time to administer the servers.

You could always get a managed platform for Docker swarm or Kubernetes, like Google, CoreOS, Red Hat etc. At least you can get commercial support from there for the Docker infrastructure. Network filesystems, configuration distribution etc.

@titansmc

This comment has been minimized.

Copy link
Author

titansmc commented Aug 9, 2018

@rakshith-ravi

This comment has been minimized.

Copy link

rakshith-ravi commented Aug 21, 2018

@muhlemmer @kaiyou I'm looking for a similar solution. I'm looking to abstract away the database part into a separate server (if only it was on MySQL or something similar), move all the email files into a shared volume so that we can have 2-3 separate "app servers" that all share the same data for the sake of horizontal scaling. I would love to have something like that for my company.

That being said, I'm more than willing to help with the project. I'm not sure where to start yet. I'm okayish in terms of knowledge about these fields, but pretty well versed with infrastructure scalability. So I'd love it if you could point out some resources that I could read up that'd help me contribute to the project. I could also test scalability out on actual instances and help in that sense too. Please do let me know what I can read up and what the important files I need to focus on are, in order to implement this.

@muhlemmer

This comment has been minimized.

Copy link
Member

muhlemmer commented Sep 23, 2018

Let's include a summary of this conversation in the FAQ. #564

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment