Coder Social home page Coder Social logo

Comments (4)

KAllan357 avatar KAllan357 commented on July 24, 2024

Hi @BarthV,

Can you give a bit more detail? The requires for the nexus-cli and aws gem's should not be loaded unless they are needed. It would be interesting to see some metrics of where the time is being spent.

from artifact-cookbook.

BarthV avatar BarthV commented on July 24, 2024

I'll build a test server with a powerful hardware/network tomorrow and write down some metrics from our live Nexus.

For now, I'm really convinced that each time you call a lwrp, it fires a chef_gem action who is checking rubygem repositories and trying to update the gems everytime (this takes a while each time) .. I was just thinking a way to refactor all these redundant calls to only trigger once in a run.

More contents following soon

from artifact-cookbook.

BarthV avatar BarthV commented on July 24, 2024

After testing deploying 20 different Nexus artifact in a test recipe, I see that chef_gem takes ages only in my vagrant VMs (I don't have a rly bad hardware I think):
20~30 sec for each chef_gem[nexus_cli] action install call
On a server grade hardware chef_gem call is nearly seamless, so it's fine.

30sec run to re-converge the same recipe versus 3m40 on my Vagrant :-/

I close this, ty

from artifact-cookbook.

KAllan357 avatar KAllan357 commented on July 24, 2024

Ah this makes more sense now. I am forgetting the exact fix, but I believe I've noticed this when Vagrant is running on either a public or private network. In fact, I might have added the answer to this stackoverflow to my Vagrantfile in some cases - http://serverfault.com/questions/495914/vagrant-slow-internet-connection-in-guest

from artifact-cookbook.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.