Tuning a Discourse server for performance

There are (or were) a few topics about tuning. Most of the successful ones, I think (excepting this one), provide some precise details about available resources, db_shared_buffers and other settings, and what the issues are, perhaps with output from htop or other tools. How big is your database? What problem are you having? (You might want to start a new topic)