MongoDB vs Databaseless
MongoDB is the database used to store persistent data such as guild data, feeds, old articles (for comparisons to see what is old and new) and blacklists.
Databaseless is when no database is used - allowing the bot to be deployed quicker with no database dependency, but at the expense of some features.
The differences are summarized below - otherwise, they are identical.
- Data stored in database
- Articles missing during bot downtime are delivered upon next startup
Used by setting a folder path in
config.database.uri, or if you're using Docker, the env variable
DRSS_DATABASE_URI. Both relative and absolute paths are accepted. For example,
- Web interface is unavailable
- Data is stored as JSON files
- Articles missed during bot downtime are not delivered
- Destabilizes after thousands of JSON files
- Web interface is not supported
- Statistics as seen in the
- The following configs have no effect:
Memory use will increase during the bot's lifetime as more articles are sent since they are stored in memory for reference to decide whether future articles are new or old.
MongoDB as originally intended. However, because MongoDB only officially supports 64-bit OS, databaseless may be your only choice if your system is not 64-bit.