Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.
JackTEK edited this page May 30, 2020 · 1 revision

This FAQ will hopefully answer the majority of quick-to-answer questions you may have about Artemis.

Why don't you package Artemis with Postgres and Redis?

Simple, for compatibility. Artemis was originally designed to run on something as small as a Raspberry Pi, as a result, I had to deviate from may of the original plans I had for Artemis. One of these deviations was that the Raspberry Pi uses an ARM architecture which means Postgres & Redis need special Docker images to be ran on an RPi. As a result, I decided not to package everything into one Docker compose package and instead require that users setup the dependencies themselves. There is one advantage to this however, users are able to use any existing Postgres/Redis servers on their server along with their own configurations.

Why don't you use MongoDB?

As I mentioned in the previous FAQ, I had to deviate from some of my original plans. As I stated earlier, Artemis was originally designed on a Raspberry Pi which has an ARM CPU architecture. This, combined with a lack of 64 bit Operating System (I prefer to run Raspbian instead of Ubuntu as it has optimisations for the Raspberry Pi), meant that Mongo outright refuses to run on a Raspberry Pi.

So why not use Atlas?

I personally never liked the idea of relying on a Cloud Database provider, combine that with the fact that I seemed to get errors relating to PyMongo and Atlas resulting in refused connections, I'd say Atlas wasn't much of an option.

Why does Artemis need Redis? You barely use it.

I'm quite aware of this. However, Redis provides me with the ability to power anti-spam. The expiration is probably the biggest reason I chose to use Redis as it's fail-safe.