Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Otter Plans and Assets pages take a minute to load

    Scheduled Pinned Locked Moved Support
    otter
    7 Posts 2 Posters 13 Views
    Loading More Posts
    • 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.
    • D Offline
      danny.mitrevski_7235
      last edited by

      Hi Folks.

      We're trying to get to the bottom of a small annoyance, where the Plans and Assets pages take about a minute each to load. Once in, it takes a little while again to switch between Orchestration / Configuration tabs (Plans) and Powershell Scripts / Shell Scripts / Modules / Text Templates / Other Files (Assets).

      One thing we noticed was selecting any of these pages causes the Otter.Service.exe to use 25% of CPU on the host. We're running this in Cloud so we've tried changing the VM size to something a bit more powerful, but the results were the same. Not too sure where to go from here or what to look in to next. Any advice?

      Otter is using its own Web Server, and we're running MS SQL 2014 (Full, non Express).

      Cheers!

      Product: Otter
      Version: 2.1.1

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        If I had to guess, it's related to the raft configuration?

        What type of raft are you using... Git, or Database? Do you have a lot or large files stored in it?

        1 Reply Last reply Reply Quote 0
        • D Offline
          danny.mitrevski_7235
          last edited by

          We're using a Git raft which doesn't host large files. The total size of the repo as i see it is about 11mb made up of just over 100 files.

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            Hmm, one possibility is that this is related to automatically doing a git sync on the raft before use. This shouldn't take that long, or be that resource intensive, but sometimes it is.

            What is your remote Git server? Could that be taking the time, do you think?

            We are considering changing this behavior, and synchronizing a raft only before use from Otter (i.e. after saving a file in the UI, or before loading by the service), and on periodic basis.

            1 Reply Last reply Reply Quote 0
            • D Offline
              danny.mitrevski_7235
              last edited by

              Ah I getcha. I'm guessing at this point its not possible to configure when the automatic sync should happen?

              Is it at all possible to watch a log file while I load pages? I usually have a habit of watching a log file (similar to #> tail -f <filename>) then go about recreating the problem to see what's logged during that time.

              I can see in Advanced Settings there's a 'Minimum Log Level' option, but I can't seem to find a log file that corresponds to this setting.

              1 Reply Last reply Reply Quote 0
              • ? This user is from outside of this forum
                Guest
                last edited by

                At this point, the raft will automatically sync every time it's used. This is typically very fast (it's a fast web request to your remote repository), but we have seen cases where the network connection is very slow and this takes time.

                The easiest way to test if it's this problem would be to temporarily convert this to a Zip raft; basically, export it from Git, rename the Git Raft, then add a Zip raft with the old name. That should be nearly instant.

                The ability to control when the sync on Git Raft happens is a feature-in-development.

                1 Reply Last reply Reply Quote 0
                • ? This user is from outside of this forum
                  Guest
                  last edited by

                  update: we will be addressing this in Otter 2.2, and rafts will now only sync as needed. This will significantly reduce the time required.

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • 1 / 1
                  • First post
                    Last post
                  Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation