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. Discuss
  3. LAMP / Grav : App smallest footprint ?

LAMP / Grav : App smallest footprint ?

Scheduled Pinned Locked Moved Discuss
7 Posts 4 Posters 1.1k 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.
    • timconsidineT Offline
      timconsidineT Offline
      timconsidine
      App Dev
      wrote on last edited by
      #1

      I have couple domains which need a small static files website.
      I have done this with LAMP which shows in Cloudron AppStore as requiring min 256Mb RAM.
      But interestingly Grav shows the same but has advantage of website design & page management built in.

      Is there a way of comparing the load on my Cloudron instance of an app, and specifically is a LAMP deployment lighter, same or heavier than Grav ?

      Just wanting to avoid bogging down my Cloudron instance with small low-priority app deployments.

      nebulonN murgeroM 2 Replies Last reply
      0
      • timconsidineT timconsidine

        I have couple domains which need a small static files website.
        I have done this with LAMP which shows in Cloudron AppStore as requiring min 256Mb RAM.
        But interestingly Grav shows the same but has advantage of website design & page management built in.

        Is there a way of comparing the load on my Cloudron instance of an app, and specifically is a LAMP deployment lighter, same or heavier than Grav ?

        Just wanting to avoid bogging down my Cloudron instance with small low-priority app deployments.

        nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by nebulon
        #2

        @timconsidine the number shown there is the default maximum memory limit set for an app. 256MB is the lowest we publish app packages, however this does not at all mean they will also consume that much. In fact this is only the limit when the system will restart them, since they appear to use up too much.

        Generally it is very hard to predict memory consumption, as it varies greatly based on user patterns of the apps, so you can install the options and then after some time check the actual memory consumption of each one for your use-case.

        As a heads up, for static websites there is also the surfer app, which is very lightweight as well.

        Edit: I've moved this topic do the discuss section of the forum since it may be useful for others as well and is not specific to any one app.

        timconsidineT 1 Reply Last reply
        1
        • timconsidineT timconsidine

          I have couple domains which need a small static files website.
          I have done this with LAMP which shows in Cloudron AppStore as requiring min 256Mb RAM.
          But interestingly Grav shows the same but has advantage of website design & page management built in.

          Is there a way of comparing the load on my Cloudron instance of an app, and specifically is a LAMP deployment lighter, same or heavier than Grav ?

          Just wanting to avoid bogging down my Cloudron instance with small low-priority app deployments.

          murgeroM Offline
          murgeroM Offline
          murgero
          App Dev
          wrote on last edited by
          #3

          @timconsidine Speaking specifically to PHP based apps, LAMP is probably heavier CPU wise depending on how the grav app is setup.

          If you are only going to be using Grav, I'd setup the specific app for it, unless you plan to do development or using a different version of Grav.

          Also, depending on your hosting, it really shouldn't make that much of a performance difference if you run 1 Grav app or 5.

          As for comparing resources used, you can install both Grav and LAMP apps and run them for awhile and check the system charts for RAM and CPU usage. (You can do this on the cloudron server via terminal as well using htop / docker commands)

          --
          https://urgero.org
          ~ Professional Nerd. Freelance Programmer. ~

          timconsidineT 1 Reply Last reply
          1
          • nebulonN nebulon

            @timconsidine the number shown there is the default maximum memory limit set for an app. 256MB is the lowest we publish app packages, however this does not at all mean they will also consume that much. In fact this is only the limit when the system will restart them, since they appear to use up too much.

            Generally it is very hard to predict memory consumption, as it varies greatly based on user patterns of the apps, so you can install the options and then after some time check the actual memory consumption of each one for your use-case.

            As a heads up, for static websites there is also the surfer app, which is very lightweight as well.

            Edit: I've moved this topic do the discuss section of the forum since it may be useful for others as well and is not specific to any one app.

            timconsidineT Offline
            timconsidineT Offline
            timconsidine
            App Dev
            wrote on last edited by
            #4

            @nebulon thank you
            Understood
            Yeah I forgot about surfer, will check it out

            1 Reply Last reply
            0
            • murgeroM murgero

              @timconsidine Speaking specifically to PHP based apps, LAMP is probably heavier CPU wise depending on how the grav app is setup.

              If you are only going to be using Grav, I'd setup the specific app for it, unless you plan to do development or using a different version of Grav.

              Also, depending on your hosting, it really shouldn't make that much of a performance difference if you run 1 Grav app or 5.

              As for comparing resources used, you can install both Grav and LAMP apps and run them for awhile and check the system charts for RAM and CPU usage. (You can do this on the cloudron server via terminal as well using htop / docker commands)

              timconsidineT Offline
              timconsidineT Offline
              timconsidine
              App Dev
              wrote on last edited by
              #5

              @murgero thank you
              Yes, I guess somewhere in my dusty brain spaces I was worried about PHP as not the most efficient, especially when it's just static files. Although no PHP running in them, I was not clear what "app overhead" there might be affecting them.

              I will do a trial Grav from Cloudron store

              ? 1 Reply Last reply
              0
              • timconsidineT timconsidine

                @murgero thank you
                Yes, I guess somewhere in my dusty brain spaces I was worried about PHP as not the most efficient, especially when it's just static files. Although no PHP running in them, I was not clear what "app overhead" there might be affecting them.

                I will do a trial Grav from Cloudron store

                ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #6

                @timconsidine If the idea is static sites, using Surfer + Static HTML+CSS+JS might yield better performance. You do lose the convenience of the UI Grav gives you though.

                timconsidineT 1 Reply Last reply
                3
                • ? A Former User

                  @timconsidine If the idea is static sites, using Surfer + Static HTML+CSS+JS might yield better performance. You do lose the convenience of the UI Grav gives you though.

                  timconsidineT Offline
                  timconsidineT Offline
                  timconsidine
                  App Dev
                  wrote on last edited by timconsidine
                  #7

                  @atrilahiji thank you, yes.
                  I moved a LAMP with a basic landing page setup to Surfer.
                  Certainly seems like it should be a lighter setup.

                  Surfer seems good for static (html/css/js) sites which are static (rarely changing).

                  Grav seems good for sites which might need more content changes. Will try to monitor what resources Grav consumes.

                  Generally I am a fan of Hugo as SSG but Grav looks a slicker quicker-to-maintain option.

                  1 Reply Last reply
                  0
                  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