H-Town Technologies Inc. | Consulting, IT Services & Digital Transformation
  • Home
  • Services
    • App Development
    • Cloud Computing
    • CRM
    • Cyber Security
    • Data Science
    • Data Warehousing
    • Devops
    • SAP
    • Startup Services
  • Solutions
  • About
    • Company
    • Blogs
    • Careers
  • Contact

BLOGS

Centralized vs Distributed Version Control System

1/2/2021

2 Comments

 
Picture
There are two common Version Control Systems (VCS): centralized and distributed. Distributed version control is modern, faster, less error-prone and has more functionalities. However, it is very difficult to understand. You must decide if the extra challenge is worth it! 

Version control system is used to maintain the changes made to an artifact over time. Artifacts can be documents, code files or any kind of executables. 

​
By giving a specific version number, we can easily identify the changes committed to prior version, get snap shot of the artifact or undo/roll back the change committed. 
Why do we need Version Control System? 

When multiple team members work on the same project, it is essential to have version control for the program. Version control system helps the team to share changes and merge changes made to artifacts seamless and efficient. 

In DevOps, other than keeping track of changes, VCS also helps in developing and shipping the products faster. 

VCS improves the following factors: 


  • Collaboration 
  • Storing Versions 
  • Backup 
  • Improves visibility 
  • Accelerate product delivery

​
Central Version Control System (CVCS) 
​

In CVCS, the central server stores all the data. This central server enables team collaboration. It just contains a single repository, and each user gets their working copy. We need to commit, so the changes get reflected in the repository. Others can check our changes by updating their local copy. 

Picture
Benefits of CVCS

  • Easy to learn and manage 
  • Works well with binary files 
  • More control over users and their access. 

CVS and SVN are some conventional Central Version Control systems.  

Drawbacks of CVCS

  • It is not locally available, which means we must connect to the network to perform operations. 
  • During the operations, if the central server gets crashed, there is a high chance of losing the data. 
  • For every command, CVCS connects the central server which impacts speed of operation 

​The Distributed Version Control System is developed to overcome all these issues. 
​

Distributed Version Control System (DVCS) 

In DVCS, there is no need to store the entire data on our local repository. Instead, we can have a clone of the remote repository to the local. We can also have a full snapshot of the project history.  
Picture
The User needs to update for the changes to be reflected in the local repository. Then the user can push the changes to the central repository. If other users want to check the changes, they will pull the updated central repository to their local repository, and then they update in their local copy. 

Benefits of DVCS
​
  • Except for pushing and pulling the code, the user can work offline in DVCS 
  • DVCS is fast compared to CVCS because you don't have to contact the central server for every command 
  • Merging and branching the changes in DVCS is very easy 
  • Performance of DVCS is better 
  • Even if the main server crashes, code will be stored in the local systems 

Git and Mercurial are standard distributed version central systems. If we don’t want a DVCS on our server, we can use either GitHub or BitBucket to store our central repository, and we can get the clone of the central repository to our local systems. GitHub and BitBucket are the most popular companies that provide cloud hosting for software development version control using Git. 

DVCS is critical for DevOps because of the following reasons:

  • Avoids dependency issues in modern containerized applications (Micro Services) 
  • Improves the performance of DevOps SDLC 
  • Supports in building more reliable applications ​

Version control is a fundamental concept to most of the companies. But its crucial role in DevOps cannot be overlooked. 
2 Comments
MOHIT KUMAR
8/4/2021 15:41:45

Exactly what I was looking for, thank you very much .

Reply
Marqar
24/9/2022 23:03:41

оор

Reply



Leave a Reply.

    Tech Talks

    Stay up to date with the tech world and the latest trends in the industry. 

    Archives

    August 2021
    July 2021
    June 2021
    May 2021
    April 2021
    March 2021
    February 2021
    January 2021

    Categories

    All
    Ab Initio
    App Development
    Business
    CI/CD
    Cloud
    COVID-19
    CRM
    Data Warehousing
    DevOps
    ERP
    Google
    Microsoft
    .NET
    Security

    RSS Feed

Picture
​H-Town Technologies Inc. is designed to 
​provide continuous and comprehensive
support to all our clients ​in IT Consulting,
Development and Managing their day-to-
​day ​business operations in the IT sector.


​​LINKS


​SERVICES


​CONTACT

​​
BLOG
CAREERS
​
​​
APP DEVELOPMENT
​CRM

CLOUD COMPUTING
CYBER SECURITY
​
DATA SCIENCE
DEVOPS
DATA WAREHOUSING
​SAP
​STARTUP SERVICES
     ​
​H-Town Technologies Inc.
1011 Highway 6 S, Ste 118
​H-Town Technologies Inc. 
 Houston, TX 77077

​
 Phone: +1 346-754-5189 
 Email: info@htown-tech.com

COPYRIGHT © 2020. H-TOWN TECHNOLOGIES INC. ALL RIGHTS RESERVED.
  • Home
  • Services
    • App Development
    • Cloud Computing
    • CRM
    • Cyber Security
    • Data Science
    • Data Warehousing
    • Devops
    • SAP
    • Startup Services
  • Solutions
  • About
    • Company
    • Blogs
    • Careers
  • Contact