Announcement

Collapse
No announcement yet.

checking files/snapshotting just got reeeeeeeeeeally slow!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    checking files/snapshotting just got reeeeeeeeeeally slow!

    OK..smallish site..5mb snapshot, got sent over to me yesterday for some work.
    Snapshot created, 2 minutes... nothing complicated and refreshingly quick!

    First thing I did wasn't a big job particularly (I'd already done a dummy run anyway)...created a true/false custom variable, product level, to dictate whether a particular item was going to be present in a site-wide banner, linking to the product in question.

    so..simple, custom variable...set 16 products (for starters) to true and added a bunch of code to both brochure and catalogue homepages.
    (I'd originally got a hardcoded row of images linked...high maintenance for future changes)

    I'll past the code here but it's a garbled mess like this!

    Code:
    <actinic:block type="EntireSectionList" >
                  <actinic:block type="ProductList" >
                  <actinic:block if="%28%3cactinic%3avariable%20name%3d%22ShowInFlagBanner%22%20%2f%3e%20%3d%3dTRUE%29%20AND%20%28%3cactinic%3avariable%20name%3d%22DuplicateIndex%22%20%2f%3e%20%3c%200%29" >
                   <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" />&amp;NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<actinic:variable name="ShopID" /></actinic:block>">
      <img style="border: 1px solid #000000;"  src="<actinic:variable name="ProductImageFileName" />" width="25" height="17" alt="<actinic:variable name="ProductName" />" border="0" /></a>&nbsp;
                  </actinic:block>
      </actinic:block>
      </actinic:block> 
    basically, takes the product image and resizes it, adds a link (through the cgi bin) and excludes any duplicates so we don't get more than one occurance in the list.
    I had to choose between excluding them here...or making it modifiable in the duplicate itself (so I could change them all manually to 'false')
    I went for the quick update option (for the client, obviously)

    ok..to the crux of the problem. For some reason, since adding this code, the upload time has gone from quick and easy to stupid slow.
    Checking html files, at the start, takes about 30-45 mins and taking a snapshot (still 5mb-ish) is taking over an hour!

    The code isn't that complex, could it really be making such a ridiculous difference in time?

    I've compacted, obviously, but I am a bit concerned by this huge jump in processing time.

    I'd appreciate any thoughts on this. (have deliberately not posted the url for now, on request)
    thanks
    Tracey

    #2
    Tracey do you have the preview panes open when you take a snapshot or update

    Just asking no answers

    D

    Comment


      #3
      no...preview pane is closed with both snapshots and updates being run from the content tab (which I rarely use the preview tab on anyway)
      Tracey

      Comment


        #4
        ok can you reload the snapshot under another site folder and delete the code and see if the problems go's away

        D

        Comment


          #5
          I should add that the client in question has reported the same speed issues so I know it isn't just my computer/installation.

          As for deleting the code to check... I'm fairly sure it'll fix it..but that's why I want to know if there is something in there that could be causing such a huge delay (will do a test anyway though)
          Tracey

          Comment


            #6
            Maybe the snapshot is trying to get a word in edgeways, but you will not let it. I'm sure you can talk for 4 minutes without taking a breath (think of the lungs of an alligator), thus your delay becomes quite apparent.

            Comment


              #7
              Lee you been on that brave juice again

              Comment


                #8
                Originally posted by leehack
                Maybe the snapshot is trying to get a word in edgeways, but you will not let it. I'm sure you can talk for 4 minutes without taking a breath (think of the lungs of an alligator), thus your delay becomes quite apparent.
                not stopping to breathe has its advantages sometimes
                Tracey

                Comment


                  #9
                  Originally posted by budgetbumps
                  not stopping to breathe has its advantages sometimes
                  For you maybe, try and think of others and not just yourself though.

                  Comment


                    #10
                    Originally posted by leehack
                    For you maybe, try and think of others and not just yourself though.
                    not had any complaints yet
                    Tracey

                    Comment


                      #11
                      Originally posted by budgetbumps
                      not stopping to breathe has its advantages sometimes
                      I can think of one, but lets just say its a little early here for that

                      Comment


                        #12
                        Kinell, deaf and blind too lol.

                        Comment


                          #13
                          Originally posted by leehack
                          Kinell, deaf and blind too lol.
                          FM Not even i would have said something like that

                          Comment


                            #14
                            ffs, Lee...you're killing my innuendo here...stop that!
                            Tracey

                            Comment


                              #15
                              right...BOT

                              Removed the code...instantly snapshot back down to 2/3 minutes.

                              So...what's in the code that is causing such a ridiculous delay?
                              I really don't want to have to go back to hardcoding it again
                              Tracey

                              Comment

                              Working...
                              X