• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Question about how nodebb works

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 1.8k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    svetlana
    wrote on last edited by
    #1

    Hello,
    I have a newbie question on nodebb. I understand the recommended 'database' for nodebb is redis and nothing else. From what I've read on redis, it stores all the data in memory.
    Let's say I have a 512mb ram server, if I get too many posts, does it crash because it needs to keep all posts in ram?
    Thanks for your time 🙂
    😼

    1 Reply Last reply
    0
  • BriB Offline
    BriB Offline
    Bri Community Rep
    wrote on last edited by
    #2

    Hi @svetlana, actually the recommended db is mongodb, redis just works more out of the box for sandboxing.

    S 1 Reply Last reply
    0
  • S Offline
    S Offline
    svetlana
    replied to Bri on last edited by
    #3

    Oh ok, I guess sandboxing means for quick testing? Like it's not recommnded to use a real forum with just redis. OK thanks

    Another question - let's say i set up a server and it has nodebb+nodejs+redis+mongodb...

    and i make backups of only mongodb...

    and the server crashes and i lose everything (but i still have my backup)...

    can i set up a new server and install nodebb+nodejs+redis+mongodb... but this time maybe they have a new version of nodebb out, or something like v1.2...and then I run some utility to repopulate mongodb with my old data.....

    will my new server work? what is the recommended way of doing things? because im a newbie and im sure i will be breaking things probably 😞 i already broke it twice today

    BriB 1 Reply Last reply
    0
  • BriB Offline
    BriB Offline
    Bri Community Rep
    replied to svetlana on last edited by
    #4

    @svetlana Yes, sandboxing is quick testing. And yes, you have it right, If you keep regular backups of mongo in that setup, you'll be fine (along with saving copy of your config, to be complete).

    If you want to really be good at deploying and upgrades, then at the bare minimum you should know how git works, how to change node versions, and how to set up / back up mongo. Everything else has pretty much been scripted out. Most of this stuff is either in the wiki or on this forum, you just have to look a little 😉

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development