Mailman and Mailman-web databases
Hi.
Just come out of a bit of a server reorg where I followed the new instructions to get Mailman3 up and running with Mailman-web.
Virtualenv Installation - Mailman Suite 3.3 documentation (list.org)<https://docs.list.org/en/latest/install/virtualenv.html>
In these instructions we are using 2 databases for the Mailman and Django components. I guess it doesn't harm anything to have just one database for both but wondered whether it was a good idea to split eventually?
Thanks. Andrew.
On Wed, Apr 5, 2023 at 12:31 PM Andrew Hodgson <andrew@hodgson.io> wrote:
Hi.
Just come out of a bit of a server reorg where I followed the new instructions to get Mailman3 up and running with Mailman-web.
Virtualenv Installation - Mailman Suite 3.3 documentation (list.org)< https://docs.list.org/en/latest/install/virtualenv.html>
In these instructions we are using 2 databases for the Mailman and Django components. I guess it doesn't harm anything to have just one database for both but wondered whether it was a good idea to split eventually?
Nice question.
The thing is, Mailman Core doesn't know about the existence of any web interface (Postorius & Hyperkitty). I believe that is the reason why the databases are split in the documentation. Someone can decide NOT to install Postorius and Hyperkitty. If one decides to have everything centrally, then I see no harm in using the same database. I have sites using the same database for both, and others that are split. It's cosmetic, I think.
I will let the experts have their say.
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html]
On 4/5/23 02:31, Andrew Hodgson wrote:
In these instructions we are using 2 databases for the Mailman and Django components. I guess it doesn't harm anything to have just one database for both but wondered whether it was a good idea to split eventually?
It is mostly a matter of taste. There is no conflict in tables between Mailman core and Django, so it's perfectly OK to use a single database. Splitting the databases enables more separation between Django and Mailman core and would possibly make it easier to run them on different servers if that was desired. It would even allow using different database managers for them, although I don't know why one would want that.
FWIW, this list's server uses a single database.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Andrew Hodgson
-
Mark Sapiro
-
Odhiambo Washington