Giter Club home page Giter Club logo

Comments (14)

goldbergyoni avatar goldbergyoni commented on May 5, 2024 2

@samrocketman just to clarify - I feel that it's the right thing to do, just need help in distilling the essence of it

from nodebestpractices.

goldbergyoni avatar goldbergyoni commented on May 5, 2024

@samrocketman Welcome! Great idea.

Only having thoughts if today, when unpublish is not allowed anymore and npm-registry is a bit more reliable + yarn + shrinkpack as an alternative, not sure how critical it is. But definitely has a value + better performance for developers/ci/cd

Maybe we should pack into this other benefits of professional artifacts management? what other benefits does nexus/artifactory brign to the table?

from nodebestpractices.

samrocketman avatar samrocketman commented on May 5, 2024

I tend to insulate critical processes from the internet as much as possible. Artifact repositories have other benefits (depending on your infrastructure) but my best practice recommendation is focused on dependency caching. Feel free to close this issue if you don't want to include this recommendation.

Dependency caching applies to all where as other benefits are typically good for some and not others.

from nodebestpractices.

goldbergyoni avatar goldbergyoni commented on May 5, 2024

@samrocketman I just want to discuss and clarify what exactly we recommend. 'Isolate critical process from the internet' is pretty debatable in the age of cloud computing: most of the CI/CD vendors (critical process) are on the internet, the run-time itself is on the internet cloud.

So it this more about the speed, resiliency (prevent downtime), untrust small vendors (NPM inc < AWS)?

from nodebestpractices.

samrocketman avatar samrocketman commented on May 5, 2024

I understand. After rereading my response it looks a bit terse. That was not my intent. I work a lot with running Nexus as a dockerized service so perhaps I could update my code to reflect my existing practices. So one has a quick example in which to docker-compose up.

ref: https://github.com/samrocketman/nexus3-ssl

from nodebestpractices.

goldbergyoni avatar goldbergyoni commented on May 5, 2024

@samrocketman I think it's a great idea for a new practice.

I would only restrict in the explanation text that it mostly fits big project that constitutes frequent npm installations in production (scaling-out, rolling version) and repository downtime cannot be tolerable

would you like to write and PR your idea?

from nodebestpractices.

stale avatar stale commented on May 5, 2024

Hello there! πŸ‘‹
This issue has gone silent. Eerily silent. ⏳
We currently close issues after 100 days of inactivity. It has been 90 days since the last update here.
If needed, you can keep it open by replying here.
Thanks for being a part of the Node.js Best Practices community! πŸ’š

from nodebestpractices.

samrocketman avatar samrocketman commented on May 5, 2024

I would like this re-opened. I forgot about it. If you can, please assign this to me and I will contribute a PR.

from nodebestpractices.

samrocketman avatar samrocketman commented on May 5, 2024

@i0natan ping for visibility

from nodebestpractices.

goldbergyoni avatar goldbergyoni commented on May 5, 2024

@samrocketman Great to have you back man.

I'm thinking out loud whether this item is not too niche, npm registry downtime is still rare. Maybe include other reasons to use an artifact manager? what are artifactory/nexus selling points?

from nodebestpractices.

samrocketman avatar samrocketman commented on May 5, 2024

Several years ago my company was unaffected by the unpublished leftpad library.

The goal is simple, to make a delivery pipeline as reliable and repeatable as possible.

In our multi-language projects we proxy dependencies not just for NodeJS but for every language stack being used.

from nodebestpractices.

goldbergyoni avatar goldbergyoni commented on May 5, 2024

@samrocketman Yes, it's a good practice that might once in a few years prevent deployments block. To my personal judgement, we should keep the guide focused on risks with almost immediate impact. Given this, I suggest to put it as a paragraph within 5.16. (atomic deployments) but not a separate bullet. Does this resonate with you?

from nodebestpractices.

samrocketman avatar samrocketman commented on May 5, 2024

I guess I’m just struggling to relay the value it brings to me. In practice, once in a few years is not my experience.

It’s good to mention it in atomic deployments. Not all organizations need it.

from nodebestpractices.

goldbergyoni avatar goldbergyoni commented on May 5, 2024

In practice, once in a few years is not my experience

Did you face a more frequent npm downtimes?

from nodebestpractices.

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.