mail-in-a-box / mailinabox

Mail-in-a-Box helps individuals take back control of their email by defining a one-click, easy-to-deploy SMTP+everything else server: a mail server in a box.
https://mailinabox.email/
Creative Commons Zero v1.0 Universal
13.89k stars 1.43k forks source link

Anonymous system statisics correlating mail and web load #543

Open nomandera opened 9 years ago

nomandera commented 9 years ago

Forked from https://github.com/mail-in-a-box/mailinabox/issues/302

To date we have been guessing where system bottlenecks are and extrapolating some sane but still essentially guessed base system requirements.

A system should be put in place to allow admins to correlate key system metrics to mail and web load.

Ultimately we would want to allow admins to submit this data anonymously so that real system recomendations can be made for new users. A nice consequence of this is that the system would be able to know both when limits are being reached and VPS/hardware upgrades are required and unusually also recommend when the system is beyond spec potentially allowing users to save money.

This ticket is to discuss which metrics should be collected, stored and over what period.

So far the obvious metrics are:

CPU load IOWAIT Disk space Memory + swap Received mails Sent mails Junk

We should avoid the desire to look at the above and imagine lots of nice graphs and timelines. Ultimately we want a simple indicator of system load for this appliance e.g. system is 45% utilised @ xxxx mail processed per day min,average,max

JoshData commented 9 years ago

This is great. Also we'll need a data collection system running somewhere.

jerogee commented 8 years ago

I would welcome such functionality, and to be able to view how many mails were received/sent for each account, periodically and in total, and how much the disk space that is occupied by email relates to disk space still available. It makes sense to first implement a 'System -> Statistics' page listing that info, and then implement anonymous data submission of those stats to a central system, if that really provides insight. Would that make sense? Josh, anoma, do you think you will be able to implement this functionality anytime in the coming few months?

JoshData commented 8 years ago

do you think you will be able to implement this functionality anytime in the coming few months?

Probably not. Next on my list is #268.