Questions tagged [deployment]
Deployment is all of the activities that make a software system available for use. Questions relating to deploying software go under this tag.
316
questions
0
votes
2
answers
107
views
How to seperately deploy two components of the presentation layer that both make use of one business component?
Context
I have a multi-tiered architecture that contains 2 presentation layers, one business layer and one data layer. See image below for a visualisation.
Here you can see that there are two ...
0
votes
4
answers
348
views
Separating the concepts of deployment and release — benefits for enterprise apps
I was taking the PluralSight course with the title “azure-devops-continuous-delivery-release-pipelines” and it makes a big deal out of (ie spends a lot of time talking about) separating the release ...
1
vote
1
answer
102
views
Strategy for deploying code internally and externally with common code base, but different functionality
For one of my current projects, written in Python, we would like to have two different versions: One for internal use, with all features enabled, and one for external use, with limited features. The ...
3
votes
2
answers
251
views
What is the safest way to deploy a lot of changes at once to a legacy, monolithic application with no test coverage?
My team have recently inherited a very poorly written, business-critical, monolithic LAMP application with the goal of guaranteeing reasonably uptime and scalability targets in just a few weeks. Our ...
0
votes
0
answers
177
views
Deployment of two programs that communicate between them
On windows, I have done one client in c++ and one server in python. In order to make the program work, I need first to run the server (in one terminal), and then I can run the client.
I am trying to ...
12
votes
2
answers
2k
views
Deploy C#/C++ binaries incrementally by patching the difference
My company has a huge C++/C# software system composed of 1800 binaries. The technology range goes from old school native C++/MFC, then C++/CLI, up to .NET Framework and .NET Core 6. Almost all ...
12
votes
7
answers
9k
views
What is the best way to record in git which commit is currently deployed to which environment?
We run a deployment pipeline where we build a versioned binary, tag the commit it was built from with the same version as the binary, and then can deploy the binary into arbitrary environments (...
1
vote
1
answer
130
views
Benefits of Microservices processes split per kind? of process?
At our job we are having a heated discussion with the DevOps team on how to architect and modularize our microservices. We come from a 2-coupled-monoliths approach, so we are trying to avoid common ...
1
vote
1
answer
196
views
An effective database migration pattern for many instances of the same app over a long period of time
How do you handle migrations to your database after a long period of time?
I'm using fluent migrator, and after some months or years, the number of migrations could be (and has been in previous ...
0
votes
0
answers
44
views
Deploying app server-by-server vs. all at once
Suppose I have a static JS single-page-app that I want to deploy to production, and there are 4 production servers.
I can deploy it to servers 1 & 2, try to test it, and then deploy to servers 3 &...
2
votes
2
answers
331
views
Blue/Green Deployment - How do I deal with persistent data added during cutover
I'm currently looking at blue/green deployments and I'm not quite sure if my use case is even applicable.
The following simplified scenario of a user management tool:
I have 3 services - GUI, BL, ...
2
votes
0
answers
121
views
How to package and distribute a Tensorflow GPU desktop application
I am developing a desktop application that utilises Tensorflow. The aim of the application is to let users easily train a given model and use it for inference within the app. I want to support ...
0
votes
1
answer
307
views
The pros and cons of incremental update/deployment on granularity of *files* (not on *services*)
My friends' company is using the incremental method to update/deploy a new version of their app to the customer site. But what kind of surprises me is their update/deployment is on granularity of ...
3
votes
1
answer
203
views
Distributing Web application to multiple customers
I am building an app (stack is Python/Django/React and DB is PGSQL) that is supposed to be used internally in companies to track their work, assign people to different tasks, throw some statistic data,...
-2
votes
2
answers
87
views
Automatic deployment concept for remote iot devices
I am working on a relatively large project that could include +1000 iot devices, in this case probably a Raspberry Pi. So far I only experimented with ~ 20 - 30 devices but the concept should be the ...
6
votes
3
answers
2k
views
How to deal with SemVer in a build number based company
My company uses Major.Minor.Patch.Build for our version numbers. When a new release is started, the Major.Minor.Patch part is set. Then as work is done, the build number goes up until a build is ...
0
votes
0
answers
127
views
Sole software engineer for a small company. How to handle deployment?
I'm the only software engineer for a small company and I want to make my deployment process more robust because I can't work away from my dedicated workstation with my current process. I only make ...
1
vote
3
answers
177
views
How should I manage secrets for applications deployed on servers I do not control?
Problem description
I have an IoT app that provides a server backend and browser UI client for interfacing with proprietary control systems. Some deployments of this application will require that the ...
3
votes
1
answer
100
views
Handling deployment of a stateful service?
For fun, I'm developing a multi-player card game. I plan to run it on a single cheap VPS, so deployment would have to kill the process and re-start it with the new code. There is no Load Balancer. I'm ...
-1
votes
1
answer
767
views
How to run and manage multiple instances of an application (different start params) on multiple servers? [closed]
Our main (C#) application:
takes in parameters and starts working (batch processing, takes anywhere from minutes to hours)
up to x instances of said application per server
instances are started by ...
0
votes
1
answer
43
views
Safe deployment for database content
My application is deployed on several servers that all read data from a single database.
Following safe deployment practices, code deployments happen first on a subset of servers and only continue to ...
1
vote
3
answers
237
views
How to create a release while implementing CI?
It may be a pretty simple question, but if I understand the concepts correctly, I can't really grasp how are you supposed to create releases with CI.
Basically, if you merge unfinished branches into ...
3
votes
2
answers
853
views
How to manage configuration file updates when deploying new application version?
Given an application having:
Configuration Files (xml or json)
An Automated Deployment Process
After the deployment the configuration files can be modified by users.
When deploying a new version of ...
2
votes
0
answers
252
views
Build & deploy individual apps from a monorepo
My Proposed Monorepo Architecture
This layout is what I've come up with from reading through tons of articles and being convinced that Nx suits many of our needs where I work. The layout works fine ...
-2
votes
1
answer
60
views
How to deliver a website to the customer VM (real server) with a trial period?
I have a website that was writing using .net stack technologies. It is accessible via the internet. Some of my potential (Enterprise) customers want me to install the whole website on their own VM and ...
1
vote
0
answers
344
views
In a microserices environment, how to track which version of which service is deployed where and when?
TLDR
How do you keep track of which version of which microservice is deployed in which environment?
In Details
Say your company has dozens of Microservices and 5 different environments (Dev, QA, Prod, ...
-2
votes
1
answer
118
views
Best Git branching strategy plan CI/CD for kafka platform development
I'm working on a Kafka platform development project, the team is keeping all the code in master with no branches, next moving to QA, Stg, Prod. If in between these stages if they don't need any ...
0
votes
1
answer
2k
views
May I and should I include my dependencies in the jar i publish online?
I'm developing a java project that I'd eventually like to publish and make open source.
To make a executable jar file I use the maven-assembly-plugin. This includes my dependencies in the jar, which ...
-4
votes
2
answers
131
views
Does server farm change the design of the server program?
In The Linux Programming Interface Sec 60.4, it talks about design a server that handles multiple requests using multiple processes or threads, or pools of processes or threads. Then it discusses ...
1
vote
2
answers
292
views
Prove that Feature Flags turned off Items in Production Environment
We want to implement Feature Deploy Flags, so Development Application Environment will have a new Product feature Toggled on. And Release and Production Environment Webpage, it is turned off.
Its ...
3
votes
1
answer
348
views
How to prevent configuration drift in Microservices
When I started working everyone was scared of deployments. Software was deployed infrequently and people were afraid services and machines had been manually “patched” since the last release.
I fixed ...
1
vote
1
answer
112
views
Better management of ~1000 lines of environment configuration properties?
Background/Our situation:
Our environment has many components, including database, Windows Server, Linux, ETL platform, Scheduler Platform, and about 5 other types (so 8 total components = code ...
1
vote
1
answer
132
views
How to deploy python microservices app updates?
I'm working on python microservices based app and I'm wondering how to ship updates.
Let's start by a summary of what I have:
Code base on git (several repos)
The app is running on several remote ...
-1
votes
1
answer
136
views
Package management & DTAP: how to keep overview?
We have an application which contains of multiple composer packages.
A default structure of the site is:
src/
application/
vendor/
vendorname/
framework/
filemanagement/
...
Each package has its ...
-1
votes
2
answers
84
views
commonly used practices for deploying package primarily composed of bash scripts
I am working on a tool that primarily uses bash scripts and C++ code.
Generally I have experience with basic tools written in C and C++ in which we can have a build system like ./configure; make; ...
-3
votes
2
answers
234
views
How do I organize my REST API codes along with the codes for generating the website?
Using github as an example, www.github.com is the website people visit and api.github.com is the REST api server programs will visit. But they probably share some codebase and in my case they share a ...
-1
votes
2
answers
111
views
Developing your application as microservices or as a monolithic app - which is cheaper when deploying and scaling?
I am developing an application, and want to implement a certain functionality. I find that this can be done in the stack I am using, however it's hard to implement. I can create a microservice with ...
0
votes
0
answers
36
views
Resource creation (users, secrets, etc) from monoliths to microservices
I'm part of an initiative where we are moving monolithic-ish applications, each running on their separate VMs and using a common database cluster, to a container architecture with the goal of ...
1
vote
1
answer
212
views
Implementing semver within a development pipeline when building libraries
This is not about the specification of semver itself (which is crystal clear), but rather about the best approach to implement it within a development pipeline when building libraries.
TL;DR: who/...
3
votes
2
answers
130
views
How to synchronize changes between Data Engineers and Designers?
I'm processing data and writing in a database, that is used by my colleague, a designer, working on data viz.
How can I efficiently, say, add a new column for my colleague to use in their ...
0
votes
2
answers
113
views
Best practices for python CD/CI with machines on-site at customer
I asked this question originally on StackOverflow, and was advised to post it here instead. My question is concerning the best practices for continuous deployment and continuous integration especially ...
1
vote
1
answer
121
views
Deployment best practices for GAE Microservices
We are building some microservices that we will likely be deploying using GAE and I am fairly new to GAE. I’ve done a lot of other development in my day, but this paradigm is a little different. I’m ...
1
vote
2
answers
73
views
Should I pull to another job workspace or should I push from it the 2nd job dependencies?
I have a question regarding CI/CD procedure. I do have 2 Jenkins jobs, the 1st one will build a binary file who is a dependency to the 2nd job build successfully.
Should I push this binary from 1st ...
2
votes
1
answer
318
views
Separating different deployment stages into different projects on Google Cloud Platform
I'm working on a project that we will deploy to Google Cloud Platform. The services we want to use include cloud run, SQL, and cloud storage.
We will use several deployments for different phases of ...
1
vote
2
answers
272
views
How do I maintain configuration in the case of multiple test environments and application instances
What's the best practice for maintaining app configuration for multiple test environments, (and production)?
At the moment I am keeping all the config in the code repo (a bitbucket server). Configs ...
-1
votes
1
answer
1k
views
Do publishing and deployment mean the same?
https://docs.microsoft.com/en-us/dotnet/core/tutorials/publishing-with-visual-studio
In Create a Hello World application with .NET Core in Visual Studio, you built a Hello World console application....
3
votes
2
answers
226
views
For Evolutionary Database Tools like Flyway or LiquidBase, it is better to integrate the tool or left it as a stand alone step in the CI process?
Although I believe my question is language and DB agnostic, I will provide the specifics technologies in this case study because it might help understanding my question (sorry for my English).
It's ...
3
votes
0
answers
314
views
How to deploy new versions of software applications while allow old versions running?
Let me use Wine as an example. Wine on Ubuntu uses the server-client architecture.
While I am using wine on Ubuntu to run some .exe programs, I upgrade wine.
While I am able to continuously running ...
-2
votes
1
answer
615
views
How to understand two-tier and three-tier solutions for web applications?
From Distributed Systems by Coulouris:
Tiered architectures are complementary to layering. Whereas
layering deals with the vertical organization of services into layers
of abstraction, tiering ...
5
votes
5
answers
375
views
Does the size of a project make it riskier to deploy?
I was arguing this point with my boss the other day. He claims that the larger the code base the riskier the deployment.
I argued that this is not true, though I see why he might think that. In my ...