From 5cbc5e0fdc70d02edaedf43a388022807ae442a8 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 18 Feb 2022 13:07:03 +0400 Subject: [PATCH 1/2] Update CAP theorem content --- .../108-more-about-databases/108-cap-theorem.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/content/roadmaps/101-backend/content/108-more-about-databases/108-cap-theorem.md b/content/roadmaps/101-backend/content/108-more-about-databases/108-cap-theorem.md index b7961d0fc..3fa66cdaf 100644 --- a/content/roadmaps/101-backend/content/108-more-about-databases/108-cap-theorem.md +++ b/content/roadmaps/101-backend/content/108-more-about-databases/108-cap-theorem.md @@ -1,16 +1,10 @@ -# CAP theorem +# CAP Theorem -CAP Theorem is a Theoretical Computer Science concept stating that in any distributed system there are Three factors. - -Consistency
-Availability
-Partition Tolerance - -In any distributed system, there will be cases where the network goes down. This means you have to choose between designing a system for Consistency (Data will be the same across all instances, meaning the application is unavailable) or Availability (The Data will not be the same across all instances but the application will be available) +CAP is an acronym that stands for Consistency, Availability and Partition Tolerance. According to CAP theorem, any distributed system can only guarantee two of the three properties at any point of time. You can't guarantee all three properties at once. Free Content What is CAP Theorem? What is CAP Theorem? CAP Theorem - Wikipedia An Illustrated Proof of the CAP Theorem -CAP Theorem and it's applications in NoSQL Databases \ No newline at end of file +CAP Theorem and it's applications in NoSQL Databases From 1637ef20a623cba6c238f36a6e9c52eee085fad5 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 18 Feb 2022 14:18:26 +0400 Subject: [PATCH 2/2] Fix broken build --- .../content/115-testing-your-apps/101-react-testing-library.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/roadmaps/100-frontend/content/115-testing-your-apps/101-react-testing-library.md b/content/roadmaps/100-frontend/content/115-testing-your-apps/101-react-testing-library.md index 717d9ae57..49f6c4bb5 100644 --- a/content/roadmaps/100-frontend/content/115-testing-your-apps/101-react-testing-library.md +++ b/content/roadmaps/100-frontend/content/115-testing-your-apps/101-react-testing-library.md @@ -3,4 +3,4 @@ The React Testing Library is a very lightweight solution for testing React components. It provides light utility functions on top of react-dom and react-dom/test-utils, in a way that encourages better testing practices. Its primary guiding principle is: The more your tests resemble the way your software is used, the more confidence they can give you. Free Content - +