Instructions for configuring redis

NodeBB Development

Suggested Topics


  • 0 Votes
    1 Posts
    837 Views

    i want develop a primitive plugin for basic search non-english support (lack in dbsearch with redis).

    I wish very much, good starting points:
    How to scan messages already in front of the plugin (if you refer me to an existing code, please give me relevant line numbers..)?

    Should I build an index somewhere in words (primitive, but better than a comprehensive scan, or not)? And if so how (existing database, with prefix?).

    Thank you very much in advance!

  • 0 Votes
    1 Posts
    1k Views

    Hi,
    Have NodeBB used "optimistic concurrency locking"?
    I think in NodeBB there is 'UPVOTE' concept,
    While upvoting there has to be 'Optimistic concurrency locking',
    So it can handle multiple database insert operation at a time while upvoting single post by multiple users.

    Please let me know where do I find the code for 'Optimistic Concurrency locking',
    and guide me how to handle multiple insert operation at a time in redis database.

    Thanks!!

  • 0 Votes
    5 Posts
    3k Views

    I got it, now that I understand what installs redis.

    The way I upgrade is I create a brand new workspace, install a new version of nodebb, copy over the config.json. I think that makes sense in real deployment scenario versus executing "git pull" in place. This way I retain a fully functional prior version installation I can fall back to in a instant should something fail with a new version.

  • Redis or MongoDB?

    NodeBB Development
    0 Votes
    8 Posts
    3k Views

    @a_5mith

    I chose Digital Ocean server with redis db. There is no problem when 60 users are online.

  • REDIS BACKUP

    NodeBB Development
    0 Votes
    6 Posts
    3k Views

    @psychobunny ok just modified the script, thank you!