• Support
  • Flarum is slow in comparison to NodeBB

[deleted] Its not in the admin dashboard? It should be, did it install correctly with composer, to the tagged 0.2 version?

After enabled, you'll want to enable the clockwork browser extension, then log in and visit your site. There should be a new clockwork tab in dev tools.

    [deleted] Discuss is running on smaller hardware than this I have a feeling that something isn't quite right with the server setup or hardware the server is on. And of course Discuss is clearly not empty (with thousands upon thousands of post). We've made very minimal changes to default MySQL and PHP settings for discuss as well.

    Do you know if your hardware is running HDDs or SSDs? This might have a huge impact on how Flarum performs.

      • [deleted]

      tankerkiller125 It's SSD based. It's not the server either. I can place the same Flarum instance on Hetzner, IONOS, OVH... the performance is exactly the same. This leads be to believe it's not the hardware, but something inside Flarum itself (or one of the extensions - if I disable them all, the speed increases, but nowhere near as fast as NodeBB)

      Question:

      • Have you tried opening with same thread/discussion content instead of load main home page? Maybe generate some dummy post and exactly same.
      • For me (personally), at today's speed 4G connection both site are same 😀

      Try this ... https://forumbebas.com running on cheap Chicago SSD KVM VPS - 4GB Ram 100GB SSD 4CPU Cores
      Stats 2M+ posts with 200k+ discussion and 181k+ users
      Try sort forum in to oldest data or open old data discussion with hundreds/thousands reply here...

      Its old forum since 2004 came from SMF, PunBB, FluxBB, PHPBB, Vanilla ( I did migration every 3-4 years maybe? ), because I am curious with every new forum/BBS technology..

      I am noob NodeBB,
      Is anyone could tell me how to replicate existing Flarum DB ito NodeBB? 😅

        • [deleted]

        askvortsov No. I don't see the extension in php flarum info either :-(

          • [deleted]

          FBI Try this ... https://forumbebas.com running on cheap Chicago SSD KVM VPS - 4GB Ram 100GB SSD 4CPU Cores
          Stats 2M+ posts with 200k+ discussion and 181k+ users

          Much faster than Metabullet !!

          FBI Try this ... https://forumbebas.com running on cheap Chicago SSD KVM VPS - 4GB Ram 100GB SSD 4CPU Cores
          Stats 2M+ posts with 200k+ discussion and 181k+ users

          So big forum and no ads!

          • FBI replied to this.
            • [deleted]

            askvortsov composer show fof/clockwork?

            phenomlab@vps:~/httpdocs$ composer show fof/clockwork
            name     : fof/clockwork
            descrip. : Debug your Flarum forum with Clockwork
            keywords : flarum
            versions : * 0.1
            type     : flarum-extension
            license  : MIT License (MIT) (OSI approved) https://spdx.org/licenses/MIT.html#licenseText
            homepage : 
            source   : [git] https://github.com/FriendsOfFlarum/clockwork.git 71154945963eefbe6032254c3dce7032535a6e0a
            dist     : [zip] https://api.github.com/repos/FriendsOfFlarum/clockwork/zipball/71154945963eefbe6032254c3dce7032535a6e0a 71154945963eefbe6032254c3dce7032535a6e0a
            path     : /var/www/vhosts/phenomlab.com/httpdocs/vendor/fof/clockwork
            names    : fof/clockwork
            
            support
            issues : https://github.com/FriendsOfFlarum/clockwork/issues
            source : https://github.com/FriendsOfFlarum/clockwork/tree/0.1
            
            autoload
            psr-4
            FoF\Clockwork\ => src/
            files
            
            requires
            flarum/core ^0.1.0-beta.12
            itsgoingd/clockwork ^5.0.0

            You have the right version, enable it in the admin area and install the browser addon (firefox or chrome I think). Then open the browser console, refresh and check the clockwork tab.

              • [deleted]

              • Edited

              luceos You have the right version, enable it in the admin area and install the browser addon (firefox or chrome I think). Then open the browser console, refresh and check the clockwork tab.

              I'd love to, but I don't see it in the admin console, and it's not listed in php flarum info either 🙂

              phenomlab@vps:~/httpdocs$ php flarum info
              Flarum core 0.1.0-beta.15
              PHP version: 7.4.3
              Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, json, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
              +------------------------------------------+------------------+--------+
              | Flarum Extensions                        |                  |        |
              +------------------------------------------+------------------+--------+
              | ID                                       | Version          | Commit |
              +------------------------------------------+------------------+--------+
              | flarum-approval                          | v0.1.0-beta.15   |        |
              | flarum-bbcode                            | v0.1.0-beta.15   |        |
              | flarum-emoji                             | v0.1.0-beta.15   |        |
              | flarum-flags                             | v0.1.0-beta.15   |        |
              | flarum-lock                              | v0.1.0-beta.15   |        |
              | flarum-markdown                          | v0.1.0-beta.15   |        |
              | flarum-mentions                          | v0.1.0-beta.15   |        |
              | flarum-statistics                        | v0.1.0-beta.15   |        |
              | flarum-sticky                            | v0.1.0-beta.15.1 |        |
              | flarum-subscriptions                     | v0.1.0-beta.15   |        |
              | flarum-suspend                           | v0.1.0-beta.15   |        |
              | flarum-tags                              | v0.1.0-beta.15   |        |
              | fof-follow-tags                          | 0.6.5            |        |
              | fof-oauth                                | 0.2.1            |        |
              | fof-linguist                             | 0.5.1            |        |
              | fof-split                                | 0.6.0            |        |
              | fof-moderator-notes                      | 0.4.4            |        |
              | fof-merge-discussions                    | 0.5.1            |        |
              | v17development-seo                       | v1.6.2           |        |
              | fof-subscribed                           | 0.4.1            |        |
              | fof-spamblock                            | 0.4.0            |        |
              | fof-gamification                         | 0.4.3            |        |
              | fof-realtimedate                         | 0.2.1            |        |
              | flarumite-simple-discussion-views        | 0.2.4            |        |
              | fof-filter                               | 0.3.2            |        |
              | fof-impersonate                          | 0.7.0            |        |
              | fof-share-social                         | 0.3.0            |        |
              | fof-upload                               | 0.13.1           |        |
              | fof-user-directory                       | 0.5.3            |        |
              | phenomlab-scrolltotop                    | 0.1.3            |        |
              | kyrne-websocket                          | 2.4.2            |        |
              | fof-formatting                           | 0.3.1            |        |
              | therealsujitk-hljs                       | v2.0.0           |        |
              | nearata-copy-code-to-clipboard           | v1.2.0           |        |
              | fof-best-answer                          | 0.3.6            |        |
              | fof-terms                                | 0.6.1            |        |
              | fof-pretty-mail                          | 0.3.0            |        |
              | fof-user-bio                             | 0.4.2            |        |
              | fof-links                                | 0.5.4            |        |
              | fof-pages                                | 0.6.0            |        |
              | fof-username-request                     | 0.4.2            |        |
              | fof-ignore-users                         | 0.3.1            |        |
              | kyrne-aegis                              | 1.0.12           |        |
              | ianm-synopsis                            | 0.1.3            |        |
              | fof-drafts                               | 0.3.2            |        |
              | fof-reactions                            | 0.5.0            |        |
              | clarkwinkelmann-popular-discussion-badge | 0.2.2            |        |
              | phenomlab-fancybox-wrapper               | 0.5              |        |
              | fof-polls                                | 0.3.2            |        |
              | noriods-auto-more                        | 0.3.1            |        |
              | zerosonesfun-direct-links                | 2.0.3            |        |
              | flarum-lang-english                      | v0.1.0-beta.15   |        |
              | clarkwinkelmann-who-read                 | 1.2.2            |        |
              | fof-default-group                        | 0.3.1            |        |
              | davwheat-custom-sidenav-links            | 0.2.0            |        |
              | askvortsov-pwa                           | v2.0.4           |        |
              | fof-webhooks                             | 0.5.0            |        |
              | dem13n-discussion-cards                  | 0.2.9            |        |
              | v17development-blog                      | v0.2.3           |        |
              | reflar-recache                           | 2.3.2            |        |
              +------------------------------------------+------------------+--------+
              Base URL: https://phenomlab.com
              Installation path: /var/www/vhosts/phenomlab.com/httpdocs
              Debug mode: off

              It's there in composer.json though

              "fof/clockwork": "0.1",

                [deleted] I suspect that 0.1 might be an outdated version, which doesn't contain some of the fixes and improvements needed for it to work well. We might need to wait until beta 16 to test these benchmarks.

                  • [deleted]

                  askvortsov Ok. I can't upgrade yet though

                  phenomlab@vps:~/httpdocs$ php extiverse check --ansi | grep "| no"
                  | fof/filter                                          | 0.3.2            | 0.3.2           | no   | https://discuss.flarum.org/d/5131  |
                  | fof/gamification                                    | 0.4.3            | 0.4.3           | no   | https://discuss.flarum.org/d/20671 |
                  | fof/ignore-users                                    | 0.3.1            | 0.3.1           | no   | https://discuss.flarum.org/d/20681 |
                  | fof/merge-discussions                               | 0.5.1            | 0.5.1           | no   | https://discuss.flarum.org/d/19460 |
                  | fof/pretty-mail                                     | 0.3.0            | 0.3.0           | no   | https://discuss.flarum.org/d/11178 |
                  | fof/webhooks                                        | 0.5.0            | 0.5.1           | no   | https://discuss.flarum.org/d/17812 |
                  | kyrne/aegis                                         | 1.0.12           | 1.0.12          | no   |                                    |
                  | noriods/auto-more                                   | 0.3.1            | 0.3.1           | no   | https://discuss.flarum.org/d/11961 |
                  | reflar/recache                                      | 2.3.2            | 2.3.2           | no   |                                    |
                  | therealsujitk/flarum-ext-hljs                       | v2.0.0           | 2.0.0           | no   |                                    |

                  Admittedly, some of these extensions will work regardless, but not sure about fof based ones.

                  almalino So big forum and no ads!

                  Welcome to the new Server, PHP and Programming Technology.

                  In the beginning, I ran $300-$400 Dedicated Server or $50-$100 VPS with PHP version 5 and old MySQL (using Ads)..
                  Now, price is less than a pack of cigarette / month, you got VPS and smooth PHP 7+ with InnoDB/MariaDB and Java Technology which is share rendering resources to client/user's powerful gadget/PC

                  So, I dont need Ads at the moment. Just hobby...

                  And finally I found Flarum.. 😃

                  I am curious reading this case.. NodeBB vs Flarum

                  • [deleted]

                  luceos .......really odd. Doesn't work at all for me ! Can I ask how you installed ?

                    [deleted] This is a very weird error... Could you try installing some other arbitrary extension and seeing if that appears in the admin dashboard? Maybe there's some caching issue going on?

                      • [deleted]

                      askvortsov Well, since then, I've upgraded metabullet to beta16, and the extension now appears... 🙂