MonitoRSS
  • Welcome to v6.0.0
  • Setting Up (Self Hosting)
    • Bot
    • Web Interface
      • Setting up HTTPS
    • Docker
    • Existing Bot/NPM
    • Process Managers
    • Staying Updated
  • Configuration
    • Bot Config
      • Schedules
    • Web Interface Config
    • Environment Variables
    • Discord Commands
    • MongoDB vs Databaseless
  • Bot Customizations
    • Placeholders
    • Text
    • Embed
    • Filters
      • Regular
      • Regex
    • Subscribers
    • Dates and Timezone
    • Webhooks
  • Advanced Bot Customizations
    • Custom Comparisons
    • Filtered Message Formats
    • Custom Regex Placeholders
  • More Info
    • FAQ
Powered by GitBook
On this page
  • The Differences
  • MongoDB
  • Databaseless
  • What should I use?

Was this helpful?

  1. Configuration

MongoDB vs Databaseless

PreviousDiscord CommandsNextPlaceholders

Last updated 4 years ago

Was this helpful?

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

The differences are summarized below - otherwise, they are identical.

MongoDB

Used by setting a in , or if you're using Docker, the env variable DRSS_DATABASE_URI.

  • Data stored in database

  • Articles missing during bot downtime are delivered upon next startup

Databaseless

Used by setting a folder path in , or if you're using Docker, the env variable DRSS_DATABASE_URI. Both relative and absolute paths are accepted. For example, "./drss" or "/data/drss".

  • 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 stats command

  • The following configs have no effect:

    • config.database.connection

    • config.database.articlesExpire

    • config.database.deliveryRecordsExpire

    • config.feeds.sendOldOnFirstCycle

    • config.feeds.cycleMaxAge

    • config.feeds.articleDailyChannelLimit

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.

What should I use?

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.

MongoDB URI
config.database.uri
config.database.uri