As much as I'd love for tokio to be magic and figure everything out, it doesn't and cannot do that. In any complex system it is important to be able to control and provision the various stages so that a certain QoS is met. This commit expands the use of the various thread pools, and adjusts them from always spawning num-cpus to a more balanced set of sizes, so that not everything is competing with everything. These sizes are configurable via env vars, but a preferably configured during the `init` event via a handful of new lua functions that must be called very early on. More docs on these will appear in a later commit. The default pool sizes are a function of the number of cores, and are intended to balance receiving and sending functions such that a throughput test should run without any significant build up of the scheduled queue. This commit also exposes the sizes of the thread pools and the number of parked (idle) threads via prometheus.
KumoMTA
KumoMTA is an open-source Message Transfer Agent (MTA) designed for high-performance outbound email functionality, similar to commercial enterprise MTAs such as Momentum, PowerMTA, and Halon.
The KumoMTA project was founded by a group of email industry veterans with decades of experience building and managing high-performance On-Prem MTAs and is supported by a community of some of the largest senders in the world.
Because it is designed for high-performance sending environments, KumoMTA is for experienced email operations professionals who are accustomed to high-performance sending environments and familiar with DevOps practices.
Learn more in our FAQ.
Documentation
You can learn more about KumoMTA from the Documentation.
Community
Real-time discussion is available on Our Discord.
Developers
If you are interested in contributing/extending KumoMTA, take a look at DEVELOPERS.md. The #devel channel on Our Discord is for contributors to discuss KumoMTA development.
Reporting Bugs
See How to Report Bugs.
Getting Help
See How to Get Help.
Talk to Us
We're available to talk about the project, book us at https://cal.com/team/kumomta/talk-with-kumomta.