Logic datasync Redis and Mongo have issues and solution for high traffic?
Unsolved
Technical Support
-
This is my config for mongo and redis:
{ "url": "https://mydomain", "secret": "mykey", "database": "mongo", "mongo": { "host": "127.0.0.1", "port": "27017", "username": "nodebb", "password": "nodebb", "database": "nodebb", "uri": "" }, "port": ["8900","8901","8902"], "bcrypt_rounds": "21", "bind_address": "127.0.0.1", "isCluster": "false", "redis": { "host": "127.0.0.1", "port": "6379", "password": "", "database": "2" }, "session_store": { "name": "redis", "host":"127.0.0.1", "port":"6379", "password": "", "database": "1", "tls": {} } }
I see a problem with data on NodeBB, ex: when i change site title in /admin/settings/general, it effect is true on FE and Admin. After 5 mins ( around), title will be changed to site title old, after 5 or 10 mins more, site title new back. Maybe, logic sync is not true?
Shooud i use "session_store" redis server for scale up with 10k users realtime? ( just thinking)
Copyright © 2024 NodeBB | Contributors