Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Database Replication | Synchronous vs Asynchronous | System Design Interview Question | Code Decode

Автор: Code Decode

Загружено: 2023-04-05

Просмотров: 5836

Описание:

In this video of System design code decode have explained data base replication.
This is very important system design interview question.

Udemy Course of Code Decode on Microservice k8s AWS CICD link:
https://openinapp.co/udemycourse

Course Description Video :
https://yt.openinapp.co/dmjvd

Scenarios where we need to choose between NOSQL DB and relational DBs ?

Scenario 1: READ Vs WRITE Intensive Application

When your application is read intensive the use NOSQL db .

If the application is Write Intensive then go for Relational DB.

Why ? If we have to read a lot and update less, then having multiple relational DBs and having join queries to read a lot of data base will decrease the performance. So better go with Non relational DBs. Now everything will be in one document and no joins, views complex queries wool be required which decreases the readability, performance , speed and other non functional parameters of aplication


Scenario 2: Unstructured VS Structured Data

When your application is going to persist the data which is not structured, there is no guarantee on how many fields we will get and we need to store then its unstructured data. Then go for No sql DB choice as there is no restriction on columns or fields in which data has to be inserted .

But If we are very sure the data structure wont change ever in whole life cycle of application then even relational DB is also a good choice

Scenario 3: Concurrency and atomicity is top priority

In applications like hotel / movie ticket booking - Several users simultaneously read and write the data.

To prevent data inconsistency, such as the double booking of hotel rooms, we must coordinate such transactions.

Transactional access to the data in a relational database manages concurrency.

A transaction is regarded as an atomic operation, making it possible to roll back or commit a transaction after a successful execution in error handling.


To facilitate this feature we need Relational Dbs .

Scenario 4: Cost associated

If we are allotted a very less budget for the project, go for open source NO Sql db as many NoSQL databases are open source and freely available..

While with Relational DBs, these are not open source usually n we need to purchase the License for it.



Scenario 5: Redundancy tolerance

Eliminating data redundancy is one of the relational database's main benefits.

One table contains information about a particular entity, whereas other tables connected by foreign keys include information pertinent to that entity.


Most Asked Core Java Interview Questions and Answers:    • Core Java frequently asked Interview Quest...  
Advance Java Interview Questions and Answers:    • Advance Java Interview Questions  

Java 8 Interview Questions and Answers:    • Java 8 Interview Questions(New Features)  

Hibernate Interview Questions and Answers:
   • Hibernate Interview Questions Java  

Spring Boot Interview Questions and Answers:
   • Advance Java Interview Questions  

Angular Playlist:    • Angular Course Introduction || Angular 8  
SQL Playlist:    • SQL Interview Questions and Answers  

GIT:    • GIT  

Subscriber and Follow Code Decode
Subscriber Code Decode: https://www.youtube.com/c/CodeDecode?...
LinkedIn :   / codedecodeyoutube  
Instagram:   / codedecode25  

#datareplication #systemdesign #codedecode

Database Replication | Synchronous vs Asynchronous | System Design Interview Question | Code Decode

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

System Design of Youtube | Mock Interview 5+ years of Experience | HLD | Code Decode

System Design of Youtube | Mock Interview 5+ years of Experience | HLD | Code Decode

How to choose RIGHT DATABASE ? | Type of Database | Code Decode | System Design Interview Question

How to choose RIGHT DATABASE ? | Type of Database | Code Decode | System Design Interview Question

Is a CS Degree the Degree of the Future and Are Certificates a Waste of Time?

Is a CS Degree the Degree of the Future and Are Certificates a Waste of Time?

Database Replication | Synchronous vs Asynchronous | System Design Tutorials | Lecture 18 | 2020

Database Replication | Synchronous vs Asynchronous | System Design Tutorials | Lecture 18 | 2020

Load Balancer tutorial | Code Decode | Types of Load Balancers | System Design Interview Questions

Load Balancer tutorial | Code Decode | Types of Load Balancers | System Design Interview Questions

Новое расширение Claude для Chrome: секретное оружие, которое должен использовать каждый

Новое расширение Claude для Chrome: секретное оружие, которое должен использовать каждый

SQL В DATA SCIENCE ПРОЕКТАХ

SQL В DATA SCIENCE ПРОЕКТАХ

Шардинг в интервью по системному проектированию с инженером Meta Staff

Шардинг в интервью по системному проектированию с инженером Meta Staff

Выбор базы данных для проектирования систем: все, что вам нужно знать, в одном видео

Выбор базы данных для проектирования систем: все, что вам нужно знать, в одном видео

System Design Interview Questions

System Design Interview Questions

Советы по проектированию баз данных | Выбор лучшей базы данных на собеседовании по системному про...

Советы по проектированию баз данных | Выбор лучшей базы данных на собеседовании по системному про...

Моделирование данных в собеседованиях по системному проектированию с инженером Meta Staff

Моделирование данных в собеседованиях по системному проектированию с инженером Meta Staff

Database Replication Explained | System Design Interview Basics

Database Replication Explained | System Design Interview Basics

Микросервисная архитектура VS монолиты | Инженерная целесообразность без хайпа

Микросервисная архитектура VS монолиты | Инженерная целесообразность без хайпа

Появляется новый тип искусственного интеллекта, и он лучше, чем LLMS?

Появляется новый тип искусственного интеллекта, и он лучше, чем LLMS?

Лазерное ПВО и колесная САУ - новая эра и десятки лет ожидания

Лазерное ПВО и колесная САУ - новая эра и десятки лет ожидания

Янис Варуфакис: После 2025 года Европа изменится навсегда.

Янис Варуфакис: После 2025 года Европа изменится навсегда.

Учебное пособие по потоковой репликации PostgreSQL

Учебное пособие по потоковой репликации PostgreSQL

Лучший Гайд по Kafka для Начинающих За 1 Час

Лучший Гайд по Kafka для Начинающих За 1 Час

Database Replication & Sharding Explained

Database Replication & Sharding Explained

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]