Zero Second Downtime
-
I hate waiting.
I especially hate waiting for programs to compile when I want to make a small change, which is one of the reasons why I like web programming so much. While others would be waiting for their programs to compile, I could maintain my groove and concentration by immediately refreshing the browser to check my work before continuing.
Node being pretty damn fast means I don't have to wait all that long either, although there's no getting around a lot of the pre-processing that needs to be done before a NodeBB instance is "ready".
During a typical start-up, the following is done...
Click here to see the full blog post
-
Utterly magnificent. I'd say that I loved you, but I might need to play that card later on. Take my upvote instead!
In all seriousness though, this is awesome. No downtime is phenomenal, and practically unheard of.
-
Thanks @Ted! A lot of the inspiration for zero downtime stems from the same forums and CMS systems we're purportedly replacing*: Installing a plugin is literally a one-click affair, whereas in NodeBB, it's more like:
- Click "install" (or run
npm install {plugin_name}
) - Activate plugin
- Restart NodeBB
- Refresh the page to expose the new admin page for the plugin (if any)
- Optionally - Set up the plugin and restart NodeBB again
Two restarts and a refresh just to install a plugin? I found that unacceptable. It was done this way because NodeBB is a server, not just an app sitting atop a server. That's part of the reason why it's fast, but also means the server needs to be restarted if things like routes, or minified scripts change.
You might also remember a very very brief time when every time you activated a plugin or saved plugin settings, NodeBB would automatically restart. It become unbearable quickly, since restarts could take up more than 30 seconds for forums with many plugins enabled. With this new reloader system, I'm contemplating re-introducing automatic reloading for plugin activations.
* Not that I consider NodeBB a CMS, but who am I to argue when people use NodeBB that way?
- Click "install" (or run
-
@julian, I dont think it's fair to define NodeBB. The platform is so flexible, it can be whatever you want or need it to be.
Truthfully, it is neither a forum nor a discussion board, as it has too much potential to be summed up in such a manner. It certainly has elements of each, but it doesn't feel, to me anyways, to possess the limiting factors of each.
If that makes any sense at all.
-
- Not that I consider NodeBB a CMS, but who am I to argue when people use NodeBB that way?
-julian
I am planning on using NodeBB as a full node platform
-
Very intresting the comunication between wordpress and nodebb forum.
-
Always nice with interesting blog updates even if they are 2 years old
I just say Cool Beans
-
Always nice with interesting blog updates even if they are 2 years old ....