rooshvforum.network is a fully functional forum: you can search, register, post new threads etc...
Old accounts are inaccessible: register a new one, or recover it when possible. x


Installing Wordpress and NodeBB/Discourse together
#1

Installing Wordpress and NodeBB/Discourse together

So it looks likes Disqus is going the way of Facebook/Google and will begin removing sites from their network. They already did this to Daily Stormer and Occidental Dissent. I want to move Wordpress comments on my blogs to a open source solution like NodeBB or Discourse. I hear that NodeBB is more lightweight in terms of server resources at a cost of features, but since I'm aiming for a comment replacement, I don't need extra features.

The problem is that "next generation" forum software not based on php/mysql. NodeBB uses a different database (redis). I read that you can have redis and mysql on the same server.

Here are the installation instructions for NodeBB on CentOS:

https://nodebb.readthedocs.io/en/latest/...entos.html

I have two questions:

-What are the implications for installing NodeBB on a LEMP server that already has Wordpress. Can it be done?

-Is it possible to install NodeBB on a different server and use its API (or Wordpress API features) to integrate them with the NodeBB Wordpress plugin. I don't want to put heavy load on one server since we get occasional viral articles.

So for example I could set up http://comments.rooshv.com to forward to a NodeBB install on a different server (e.g. Digital Ocean container). This would eliminate a lot of same server problems.
Reply
#2

Installing Wordpress and NodeBB/Discourse together

I'm not sure what nodeBB is but you should be able to have them both on the same server depending on the server specs and current load...etc.
You should be able to have it on a separate server because if you think about it thats what disqus is..

Just did about 30 seconds googling it seems it won't just seamlessly drop in... and then after i did another google i found this

https://github.com/psychobunny/nodebb-pl...g-comments

Can you explain a bit more what you're looking for?
Reply
#3

Installing Wordpress and NodeBB/Discourse together

I have the same setup with a Wordpress install having a very heavy user load. There's a post floating about somewhere with detailed instructions, will try to find it. NodeBB is not a resource hog but what's your server spec like?

Quote:Quote:

NodeBB is fairly resource light, although memory is the limiting factor, for both Redis and MongoDB, since:

Redis likes to have everything in memory, and may crash if the dataset is larger than available system (or per-process) memory
To be specific, Redis likes to have 2x the memory of its dataset, since a database dump essentially duplicates the in-memory data, and then flushes it to disk.
MongoDB likes to have everything in memory, but will use swap file as necessary
With 1 core, you'll see issues where registrations and logins will lock up the server (for 1-2 seconds at a time), since the CPU is tied up in hashing the user's password. For low traffic forums, this is a non-issue.
Reply
#4

Installing Wordpress and NodeBB/Discourse together

Will the new comments section be installed on the archived Reaxxion or will the comment box be eliminated there entirely?

,,Я видел, куда падает солнце!
Оно уходит сквозь постель,
В глубокую щель!"
-Андрей Середа, ,,Улица чужих лиц", 1989 г.
Reply
#5

Installing Wordpress and NodeBB/Discourse together

A CPU core tied up hashing a password for 1-2 seconds? A hash should be like a microsecond event tops. That claim is especially puzzling if there's no disk access to worry about.

A single CPU core should be able to handle a fair bit of load if the database isn't spending all its time locked by design, like SQLite does at scale.
Reply
#6

Installing Wordpress and NodeBB/Discourse together

Quote: (04-09-2017 08:36 AM)weambulance Wrote:  

A CPU core tied up hashing a password for 1-2 seconds? A hash should be like a microsecond event tops. That claim is especially puzzling if there's no disk access to worry about.

A single CPU core should be able to handle a fair bit of load if the database isn't spending all its time locked by design, like SQLite does at scale.

When I originally read that I thought it might be because he was using a throttled instance - like ec2 micro or nano - but lo and behold I had occasional locking even on an small instance on ec2 classic. Running top on the command line you could see the cpu would repeatedly spike to 100% for a few secs then fall back. The server was under a very heavy load though.

That post is by a NodeBB admin, you can check out the thread here, might have some useful bits:
https://community.nodebb.org/topic/3814/...-wordpress
Reply
#7

Installing Wordpress and NodeBB/Discourse together

Quote: (04-09-2017 06:57 AM)Roosh Wrote:  

So it looks likes Disqus is going the way of Facebook/Google and will begin removing sites from their network. They already did this to Daily Stormer and Occidental Dissent. I want to move Wordpress comments on my blogs to a open source solution like NodeBB or Discourse. I hear that NodeBB is more lightweight in terms of server resources at a cost of features, but since I'm aiming for a comment replacement, I don't need extra features.

The problem is that "next generation" forum software not based on php/mysql. NodeBB uses a different database (redis). I read that you can have redis and mysql on the same server.

Here are the installation instructions for NodeBB on CentOS:

https://nodebb.readthedocs.io/en/latest/...entos.html

I have two questions:

-What are the implications for installing NodeBB on a LEMP server that already has Wordpress. Can it be done?

-Is it possible to install NodeBB on a different server and use its API (or Wordpress API features) to integrate them with the NodeBB Wordpress plugin. I don't want to put heavy load on one server since we get occasional viral articles.

So for example I could set up http://comments.rooshv.com to forward to a NodeBB install on a different server (e.g. Digital Ocean container). This would eliminate a lot of same server problems.

So, the problems are:

1. Disqus = douchebags
2. Server load spikes

On a single server, yes, you can run Redis alongside MySQL assuming you have the RAM for it and your server is a VPS that can run Node.js (mentioned only for completeness, since shared hosting rarely allows anything but PHP).

While I'm not sure of the pitfalls along the way, not having actually implemented this system, you should be able to set things up so NodeBB is on a separate server. But it's adding a lot of system complexity in a weird way. Using NodeBB at all is adding a big whack of complexity, really. So just how bad is problem #2?

Did you switch to Disqus to alleviate server load in the first place? Or did you want some other features?

What I'm getting at here is why not find a self hosted commenting system that works fine with MySQL? Either use the built-in comments--you don't have nearly enough comments to run into scale problems there--or a plugin like wpDiscuz.

If problem #2 is pretty bad, I don't think separating your comments from your content is the right approach to solving it. IMO you should keep everything in one database where it belongs, and use some kind of autoscale solution to handle spikes. Yeah, that's adding system complexity too, but it's adding it in the right spot. Separating your comments and content is only going to get you so much headroom while complicating your backup and recovery scheme.

This is what I mean by autoscale:

https://www.digitalocean.com/community/t...gitalocean
Reply
#8

Installing Wordpress and NodeBB/Discourse together

Quote:Quote:

Did you switch to Disqus to alleviate server load in the first place? Or did you want some other features?

It's a better user experience overall.
Reply
#9

Installing Wordpress and NodeBB/Discourse together

Chiming in here to add that Disqus stopped working with my Masculine Expat blog.

My comments load is small enough to stick with Wordpress for now, but as it grows I would be interested in seeing what you come up with here.
Reply
#10

Installing Wordpress and NodeBB/Discourse together

https://blog.disqus.com/our-commitment-t...ate-speech

http://www.oneangrygamer.net/2017/02/dis...tes/23569/

As usual they define "hate speech" as "anything we don't agree with".

Quote:Quote:

SeventhSonOfA • 2 months ago

>Free speech is a fundamental part of the Disqus network.
>Our Commitment to Fighting Hate Speech

Pick one and only one.


Quote:Quote:

Grrrrrr... • 2 months ago

The vast majority of what some call "hate speech" is said by Leftists. I consider cuss words, blasphemy and barnyard epitaphs to be hate speech. Are you going to ban those?

But I wouldn't want you to. One man's truth is another's hate speech. A quick scan of the comments show that the Left desperately wants you to cut Brietbart posters comments off completely, without any specific examples of hate speech. Just that they are, Neo-Nazis, White Supremacists, yada yada yada.

But really because Brietbart is speaking truth to main stream media power, who only report on liberal-themed stories and truths.

I expect to you to use the "commitment to fighting hate speech" to actually ban Right-wing speech in general. Just another tool for SJWs to bash us for daring to disagree with their totalitarianism.

Team visible roots
"The Carousel Stops For No Man" - Tuthmosis
Quote: (02-11-2019 05:10 PM)Atlanta Man Wrote:  
I take pussy how it comes -but I do now prefer it shaved low at least-you cannot eat what you cannot see.
Reply
#11

Installing Wordpress and NodeBB/Discourse together

Just one more reason why we need to build our own platforms as much as possible.

Disqus is slow and has a shitty UI anyway. Fuck em.

Are people losing comments to this? Or is there some way to get the comments, but you just can't load the Disqus front end on your site? I've never used it for any of my own sites so I don't know how that works.

I fooled around with the wpDiscuz plugin earlier, and while it's pretty nice if you just need the basic functionality (which is pretty extensive and configurable), the addons are not that cheap at $25 each for a single site license. I could see using about three of the addons, so it's like paying for another premium WP theme for your site. The basic free version is a lot nicer than the basic wordpress comment system, though.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)