@DownPW Always looking for ways to improve the overall experience.
Clustering for NodeBB enabled
-
Hi All,
We’ve recently implemented clustering for NodeBB which, owing to the nature of the configuration, and the need to use
redis
to validate session data, you may not be able to login.To work around this issue, simply clear your browser cache and then attempt the login again. If you don’t really want to clear your entire cache, it’s possible just to clear one site:
- Go to https://sudonix.com
- Press F12 to load the browser tools
- Press and hold the refresh button in your browser
- Choose “Empty cache and hard reload”
- Disable F12 developer tools
- Login again
This works for any Webkit (Chome) backed browser. Other browsers may differ slightly.
Thanks
-
As usual, let me know if any issues.
-
I had to clear cookies to access the site and the login page went in a redirect loop. now everything works well.
-
@Hari thanks. Pretty much as I said in the original post
-
Given what is happening with Redis, is there an alternative for NodeBB like Valkey for example
I am asking because I am setting up a new server.
-
@DownPW good question. I suspect if the worst comes to it, Redis will be forked from the community perspective but I don’t know of any currently.
-
@phenomlab said in Clustering for NodeBB enabled:
Redis will be
There is alternative like Valkey but I don’t know if it is compatible with nodeBB.
NodeBB don’t update his documentation for this subjetct… -
@DownPW looks like Valkey is in fact a fork of redis
-
I must have missed that news. What happened with Redis?
-
@Madchatthew said in Clustering for NodeBB enabled:
I must have missed that news. What happened with Redis?
On March 2024, Redis updated its terms and conditions, adopting a licensing model that imposes additional restrictions, especially in corporate environments. Versions higher than 6.2. 4 now require a license for production use, though it remains free for open-source projects or non-production environments.
Essentially, you’d have to prove to them that your project is in fact open source to avoid licensing fees.
More detail below
https://www.theregister.com/2024/03/22/redis_changes_license/
-
@phenomlab Ah, I remember seeing this now. I must be getting old by not being able to remember haha. That is too bad they did that. I will probably have to switch to a different solution on my production server for the two wordpress sites that I have hosted on there. Probably not something I urgently need to do, but something to start thinking about anyway. Although the two sites just offer a service and not selling any products, so maybe I don’t need to?
-
@Madchatthew Yes, I can’t realistically see them going for personal sites that generate no revenue myself.
-
-
@phenomlab That looks very promising and the performance looks amazing. So after going to the website, this looks like this is basically MS version of Redis and uses most of the same commands and such, but they have been able to make it perform better which is very nice. One of my hesitations would be that it is MS and where is the code that grabs all of your data and information and will they in turn try to monetize this somehow in the future thus having to make a change again? I do like that you are able to use this with what is currently out there for Wordpress and should even work for Nodebb as well according to the documentation. You would just have to double check that the commands that are being used for Redis are being used for Garnet. There was a section about that. Still probably worth checking out and testing out though.
-
I don’t know… Not sure to use it?
Must test before
-
@Madchatthew Yes, I admit I had similar reservations, but there is also KeyDB, and Dragonfly
-
@phenomlab Those both look good. If you had to switch from Redis, which one of those options would you use?
-
@Madchatthew probably KeyDB, but both seem to be strong contenders. Dragonfly also claims to be the fastest.
-
@phenomlab The only thing with Dragonfly is that they have the pricing side, which makes me wonder if that could at some point affect the open-source side. But maybe the pricing is just to have the option to have it on the cloud. But usually when there is money involved like that, at some point it usually affects the free side.
With that being said though, since they are both Redis forks, it would be pretty easy and seamless to switch from one to the other if needed. I am also wondering what the impact would be of using either of these with a Wordpress site? According to Dragonfly, it should be able to make Wordpress even faster with the faster performance. All of that will also depend on the server of course too and internet connection and what have you, but maybe use up less resources if the throughput is faster and multi-threaded.
-
@Madchatthew I think there’s always that same danger no matter which open source solution you go for. By its very definition, open source comes at significant cost to the maintainer in terms of time, effort, and knowhow, so they often release a paid version of the product as a means of recovering some of that invested time in the form of revenue.
It’s when the commercial product requires more attention than the open source version that causes conflicts, and that version is often the casualty.