Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Nextcloud
  3. Nextcloud Signaling Server / Highperformance Backend Installation Guide

Nextcloud Signaling Server / Highperformance Backend Installation Guide

Scheduled Pinned Locked Moved Nextcloud
13 Posts 5 Posters 2.5k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #4

    This has to be somehow dockerized. @andreasdueren is the deployment a docker setup ? I am not even sure if it fits into cloudron's categorization of "web app" . Maybe we need "daemon apps"

    andreasduerenA 1 Reply Last reply
    1
    • girishG girish

      This has to be somehow dockerized. @andreasdueren is the deployment a docker setup ? I am not even sure if it fits into cloudron's categorization of "web app" . Maybe we need "daemon apps"

      andreasduerenA Online
      andreasduerenA Online
      andreasdueren
      wrote on last edited by
      #5

      @girish Weirdly I didn't get a notification for this, just saw this by accident only. Unfortunately it's not dockerized, it's building from source on bare metal: https://github.com/sunweaver/nextcloud-high-performance-backend-setup/blob/main/setup-nextcloud-hpb.sh

      1 Reply Last reply
      1
      • B bvxzee

        Hello everyone! I'm new with Cloudron and VPS World. I find it hard to connect apps via cloudron compared to cloud panel. I'm kinda new with containerization but i was able to manage connecting apps via ports using cloud panel before i switched to cloudron. Cloudron in my preference is better than cloud panel as it did much more of pre-configuration for me. If there is someone who can help me with setting up HPB with cloudron nextcloud I'd appreciate it! thanks much!

        P.S. Waiting for NC Hub 8 for cloudron too! 🙂

        andreasduerenA Online
        andreasduerenA Online
        andreasdueren
        wrote on last edited by
        #6

        @bvxzee I thought about packaging the HPB for cloudron but eventually decided against it because it would negate most of the benefits. Cloudron has pretty strict firewall restrictions which make the built in turn-server so unreliable to begin with. I can highly recommend this installation: https://github.com/sunweaver/nextcloud-high-performance-backend-setup

        I'm using it very successfully on a separate VPS.

        L jdaviescoatesJ 2 Replies Last reply
        2
        • andreasduerenA andreasdueren

          @bvxzee I thought about packaging the HPB for cloudron but eventually decided against it because it would negate most of the benefits. Cloudron has pretty strict firewall restrictions which make the built in turn-server so unreliable to begin with. I can highly recommend this installation: https://github.com/sunweaver/nextcloud-high-performance-backend-setup

          I'm using it very successfully on a separate VPS.

          L Offline
          L Offline
          LoudLemur
          wrote on last edited by LoudLemur
          #7

          @andreasdueren said in Nextcloud Signaling Server / Highperformance Backend Installation Guide:

          @bvxzee I thought about packaging the HPB for cloudron but eventually decided against it because it would negate most of the benefits. Cloudron has pretty strict firewall restrictions which make the built in turn-server so unreliable to begin with. I can highly recommend this installation: https://github.com/sunweaver/nextcloud-high-performance-backend-setup

          I'm using it very successfully on a separate VPS.

          Thanks. So it looks like a dedicated server will be needed to setup the HPB. What would be the minimum spec for the maximum increase in performance for such a server? What are the features that we would want to find, so that we can be cost effective? If we run several nextclouds, could we setup on HPB and then use it for all the different nextclouds? GNU/Linux Debian based or is GNU/Linux Debian a requirement? For example, would an Ubuntu VPS do as well?

          1 Reply Last reply
          1
          • andreasduerenA andreasdueren

            @bvxzee I thought about packaging the HPB for cloudron but eventually decided against it because it would negate most of the benefits. Cloudron has pretty strict firewall restrictions which make the built in turn-server so unreliable to begin with. I can highly recommend this installation: https://github.com/sunweaver/nextcloud-high-performance-backend-setup

            I'm using it very successfully on a separate VPS.

            jdaviescoatesJ Offline
            jdaviescoatesJ Offline
            jdaviescoates
            wrote on last edited by
            #8

            @andreasdueren said in Nextcloud Signaling Server / Highperformance Backend Installation Guide:

            I'm using it very successfully on a separate VPS.

            What's the spec of the VPS you're using? Does the CPU get heavy usage?

            I use Cloudron with Gandi & Hetzner

            andreasduerenA 1 Reply Last reply
            0
            • jdaviescoatesJ jdaviescoates

              @andreasdueren said in Nextcloud Signaling Server / Highperformance Backend Installation Guide:

              I'm using it very successfully on a separate VPS.

              What's the spec of the VPS you're using? Does the CPU get heavy usage?

              andreasduerenA Online
              andreasduerenA Online
              andreasdueren
              wrote on last edited by andreasdueren
              #9

              @jdaviescoates @LoudLemur

              What would be the minimum spec for the maximum increase in performance for such a server?

              I'm running it on a Hetzner CPX31 VPS with tops 30 people using NC Talk simultaneously and I think I've never seen it go beyond 70% CPU usage. Honestly I could probably scale it down to a CPX21.

              What are the features that we would want to find, so that we can be cost effective?

              Any VPS should do, really. It's nothing fancy, just a SFU/Turn server.

              If we run several nextclouds, could we setup on HPB and then use it for all the different nextclouds?

              Yes, I'm using it on four different NC instances simultaneously no problems.

              GNU/Linux Debian based or is GNU/Linux Debian a requirement? For example, would an Ubuntu VPS do as well?

              Debian is a requirement for this installation. But you can simply use a different install method and Ubuntu should work too.

              jdaviescoatesJ 1 Reply Last reply
              3
              • andreasduerenA andreasdueren

                @jdaviescoates @LoudLemur

                What would be the minimum spec for the maximum increase in performance for such a server?

                I'm running it on a Hetzner CPX31 VPS with tops 30 people using NC Talk simultaneously and I think I've never seen it go beyond 70% CPU usage. Honestly I could probably scale it down to a CPX21.

                What are the features that we would want to find, so that we can be cost effective?

                Any VPS should do, really. It's nothing fancy, just a SFU/Turn server.

                If we run several nextclouds, could we setup on HPB and then use it for all the different nextclouds?

                Yes, I'm using it on four different NC instances simultaneously no problems.

                GNU/Linux Debian based or is GNU/Linux Debian a requirement? For example, would an Ubuntu VPS do as well?

                Debian is a requirement for this installation. But you can simply use a different install method and Ubuntu should work too.

                jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by
                #10

                @andreasdueren said in Nextcloud Signaling Server / Highperformance Backend Installation Guide:

                I'm running it on a Hetzner CPX31 VPS with tops 30 people using NC Talk simultaneously and I think I've never seen it go beyond 70% CPU usage. Honestly I could probably scale it down to a CPX21.

                Great, thanks, good to know that Hetzner's more expensive Dedicated vCPU are not required and the Shared vCPUs do the trick nicely!

                I wonder if you're right about going down to a CPX21 (which I note only has 4GB RAM - have you noted what the ram usage of your CPX31 look like when you've got ~30 connected?)

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply
                1
                • L Offline
                  L Offline
                  LoudLemur
                  wrote on last edited by
                  #11

                  Is there a neat trick to determine which of Hetzner's locations would provide the best latency for Nextcloud Talk High Performance Backend?

                  jdaviescoatesJ 1 Reply Last reply
                  0
                  • L LoudLemur

                    Is there a neat trick to determine which of Hetzner's locations would provide the best latency for Nextcloud Talk High Performance Backend?

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #12

                    @LoudLemur look up their IP and ping it?

                    I use Cloudron with Gandi & Hetzner

                    1 Reply Last reply
                    1
                    • J joseph marked this topic as a regular topic on
                    • N Neiluj referenced this topic on
                    • jamesJ james referenced this topic on
                    • andreasduerenA Online
                      andreasduerenA Online
                      andreasdueren
                      wrote last edited by andreasdueren
                      #13

                      I'm trying to be more intentional about monitoring load on the HPB during calls. I'll update this posts occasionally with some numbers.

                      Current setup: Hetzner CPX31 VPS.

                      4 concurrent users (3 with video):
                      Max CPU Usage: 8.5%
                      Max Memory Usage: +-0% from idle
                      Peak Bandwidth: 0.86MB/s sent, 0.57MB/s recieved

                      1 Reply Last reply
                      3
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search