There are a variety of techniques to deploy new updates for environments to production, so choosing the right strategy is an important decision, weighing the options in terms of the impact of change on the system and the end-users.
The following strategies need to be considered:
Continue reading Deployment Strategies
- Recreate: Version A is terminated then version B is rolled out.
- Ramped (also known as rolling-update or incremental): Version B is slowly rolled out and replacing version A.
- Blue/Green: Version B is released alongside version A, then the traffic is switched to version B.
- Canary: Version B is released to a subset of users, then proceed to a full rollout.
- A/B testing: Version B is released to a subset of users under specific condition.
- Shadow: Version B receives real-world traffic alongside version A and doesn’t impact the response.
As part of our customer engagement, we have defined a naming convention for GitHub repositories.
We have ideas around what conventions made sense, although the type of work influences these. As we tend to spend some of your engineering time working with different languages, conventions around naming formats make sense to the engineers. These, of course, might not make sense to individuals in other fields.
Continue reading GitHub Naming Repositories
GISTS – engage in chat or gossip.
“I need a good friend I can always gist with.”
It is always good to chat with others, which is how we learn from each other. So why don’t project teams chat with each other? In this day and age of working from home, it is becoming more and more critical to form a social network, which helps not only with mental health but also work-related ideas and time.
Continue reading gists
The installation model for OCP 4.x is different than 3.x and there are no Azure Resource Manager templates available for deploying OCP 4.x in Azure
Continue reading Requirements for Azure Red Hat OpenShift
What is Red Hat OpenShift?
OpenShift is Kubernetes, but it is also more than Kubernetes it is a collection of other software services that gives you the ability to run an entire Kubernetes environment, which includes:
Continue reading Red Hat OpenShift
On big enterprise projects, memory leaks are like rodents in a factory. You might not notice when there are a few of them, but you always have to be on guard in case they overpopulate, infesting the factory will cause the closer and failure of the factory.
Continue reading Memory Leaks in .NET
If you need a background task within .Net Core to be run at set times we can use the Hosted Service provided from the service within .Net Core.
Continue reading Hosted Background timer task
A little hidden gem within .Net Core is the ability to run a Hosted Service inside the application. This allows for your service to run in a different thread to the main application, but keeps everything together though the need to host a separate service.
Continue reading Hosting a service inside ASP.NET Core
If you are like me you will have been using ILogger in DotNet Core for some time, but you’ll have noticed there are many ways to use the logger, I found this useful article by Rico Suter going over some recommendation and best practices.
Continue reading ILogger in .NET: best practices
Here are various was to convert enums to a lists
Get a List of Enum Members
The idea is to use
Continue reading Convert an enum to a list
Enum.GetValues() method to get an array of the values of the constants in the enum. To get an
IEnumerable<T> of all the values in the enum, call
Cast<T>() on the array. To get a list, call
ToList() after casting.