Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1026517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T12:05:42+00:00 2026-05-16T12:05:42+00:00

I’m really trying to use best-practices for dependencies management in my web apps but

  • 0

I’m really trying to use best-practices for dependencies management in my web apps but stuff happens. Some problems arise in production only anyways. I want to minimize this as much as possible.

I was thinking that If I can test new deployments in a virtual machine with the latest production snapshot this can solve this problem to a certain degree can’t it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T12:05:43+00:00Added an answer on May 16, 2026 at 12:05 pm
    • Make sure your development environments is a snapshot of your production environment.
    • Make sure your build/deploy system works the same way in Dev as it does in Prod.
    • Make sure each deployment is isolated from all other deployed apps/services.
    • Make sure dev/test environments have easy access to prod data.
      Either read only or a copy to be fiddled with.

    One company I worked for had every box Dev/Test/Prod had the same base image.

    Now us developers tend to get freaky and install our own custom tools etc (and I have never met a dev who did not customize their environment), but that was OK at this company: The build tools would build and deploy the code on your box in the same way that the code would have deployed in production (so that any custom tools you installed would not be accessible (by default)).

    The build tools auto detected all dependencies and deployed them with your application (into the same directory (or symbolic links in your application directory)) and set up the path appropriately. The build system could also depoly to another dev’s desktop or test or prod in the exact same way with only a few extra parameters.

    Another company I worked for did use virtual machines.
    I did not find that environment as comfortable. The problem was that though theoretically the virtual machine was an exact replica of the prod environment that just made things harder to diagnose when things went wrong.

    • The problem here was that because the virtual machine was the testing environment the company thought the dev boxes did not need to be up-to the same specs as the prod machine or require the same OS (mistake one: as you now can’t debug reliably in dev).
    • The tools we devs install on our machine are often quite usefull when things actually go wrong. We install them once then we can configure and use them quickly when things do go wrong. If you are using a virtual machine (that is a copy of prod) you need to keep all your extra tools as installers and go in and start installing all these extra tools on-to the virtual machine (a pain and time consuming).
      • Note: Your build system has to be able to deploy your code locally so it is by default not affected by your tools. You need to be able to plug these into running system.
    • I always assumed that virtual machines were just an image that could be started.
      • I don’t know why this build system took so long but it took 45 minutes to provision a virtual machine and set up the appropriate environment (Now I don;t know why I never looked into it (we had a build and test team they were looking at it, so I left them too it)).
    • Because of constant security patches the virtual machines images tended to drift from the production machine (and not be as accurate).
      • While in company A the dev/test/prod all got the same patches at the same time. Note: Security patches were not automatic. All patches had to be verified by the production and build teams to make sure they did not adversely affect the production systems. But once that had been established patches were applied to all systems automatically.
      • While in company B virtual machine images are not running thus security patches do not get applied automatically. It turned out that it takes a concerted effort to build a brand new virtual image (I would have liked this to be automated (I assume it can ?)) so even when security patches are applied to prod/dev they were not automatically applied to the virtual image. Thus the virtual images were only re-synced with production every six months.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
Seemingly simple, but I cannot find anything relevant on the web. What is the
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.