Posts

Showing posts from October, 2023

Sonarqube Integration with Visual Studio 2022 and VS Code

Image
Overview This article explains about Sonarqube and its plugins of visual studio. By using plugin, we can detect sonarqube issues on local machine upfront. So that our clean code would be pushed on version control system. Also we can enable Sonar scans on every build which is a part of CI pipeline Sonarqube SonarQube is an open-source platform designed to improve code quality and maintainability in software development projects. It is a static code analysis tool that performs automated code reviews, identifies issues, and provides insights into the health of your codebase. SonarQube is a valuable tool for developers, quality assurance teams, and project managers, helping them ensure the long-term quality and reliability of their software. Key Features: Code Quality Metrics: SonarQube provides a range of metrics, including code complexity, code duplication, and code smells, to assess the overall quality of your code. Issue Detection: It identifies and reports on co...

CAP Theorem

Image
What is CAP Theorem? The CAP theorem, also known as Brewer’s theorem, is a fundamental concept in system design. It was introduced by Eric Brewer in 2000 during a discussion on distributed computing principles at U.C. Berkeley. The CAP theorem states that a distributed system can offer only two out of three properties at the same time: consistency, availability, and partition tolerance. This theorem explains the trade-off between consistency and availability when a network partition occurs. Remember, in the CAP theorem, you can't always have all three things at once (Consistency, Availability, and Partition Tolerance), so you need to choose what's most important for your system. Consistency A system is said to be consistent if all nodes see the same data at the same time. In a consistent system, data updates are instantly visible to all nodes in the system, ensuring that there is no confusion or discrepancy when multiple nodes access the same data simul...