Re:Show HN: NimForum – A lightweight alternative to Discourse
by dom96 on Saturday May 26, 2018 @11:39AM
(#17162601)
You're very right to point out high availability and disaster recovery. I must be honest that I haven't considered the impact that the use of SQLite has on redundancy, but in the multiple years that I have been running the forum I never needed it, a single instance of the forum works perfectly fine. I would say that for most communities, setting up the forum on a VPS and letting it run will be perfectly adequate and that creating redundant servers would be overkill.
As for backups, of course we do have them. Although I've also recently learned that we could be handling them better. SQLite has a backup API that we should make use of[1].
The main reason I have set up CloudFlare is for DDoS protection. I learned the hard way that Digital Ocean will null route a VPS' network if they detect a DDoS.
Re:Show HN: NimForum – A lightweight alternative to Discourse
by mwcampbell on Saturday May 26, 2018 @11:41AM
(#17162607)
Fair enough. How do you do backups?
Re:Show HN: NimForum – A lightweight alternative to Discourse
by dom96 on Saturday May 26, 2018 @11:50AM
(#17162658)
Mainly using DigitalOcean's droplet backups.
Re:Show HN: NimForum – A lightweight alternative to Discourse
by omnimus on Saturday May 26, 2018 @03:23PM
(#17163803)
This thread reminds me of Basecamps Getting Real book.
Just getting it done. I am now intrigued to try Nim if you are core dev.
Re:Show HN: NimForum – A lightweight alternative to Discourse
by mwcampbell on Saturday May 26, 2018 @12:30PM
(#17162870)
Have you researched the potential pitfalls of relying only on crash-consistent VM backups? For example, I read that if you're using the ext4 filesystem, the data=journal option is safer than the default (data=ordered, I think).
Still, performance isn't everything. What about high availability through redundancy? I see that forum.nim-lang.org is behind CloudFlare. Is that the answer?
Finally, what about disaster recovery? In the absence of replication, I hope forum.nim-lang.org at least has backups.