Database Patterns: CQRS || What is CQRS? || Database Patterns for Microservices
VloĹžit
- Äas pĹidĂĄn 4. 09. 2020
- đWhat is CQRS - Command Query Responsibility Segregation
đ Usecase of CQRS
đ Detailed explanation with real time example
Complete video playlist - ⢠Microservices Architec...
Github page for course plan & Other supporting Docs - github.com/greenlearner01/Mic...
To get the notification of every upload on the channel hit the subscribe button and if you found the videos useful press like and share the video with your friends.
---------------------------------------------
Other Videos on the channel that you may like
---------------------------------------------
WireMock - EndToEnd API Testing - ⢠WireMock || WireMock T...
Spring Boot Internals tutorial - ⢠Spring Boot Internals ...
Serialization In Java tutorial - ⢠Serialization In Java ...
RestApi Validation tutorial - ⢠REST API Validation ||...
Redis Cache + SpringBoot tutorial - ⢠Redis Cache With Sprin...
Ehcache + SpringBoot tutorial - ⢠Ehcache with SpringBoo...
Spring Boot Cache tutorial - ⢠Spring Boot Caching ||...
JSON tutorial - ⢠JSON || JavaScript Obj...
Spring Cloud Netflix Ribbon - ⢠Load Balancing In Micr...
Yaml and properties - ⢠Yaml & Properties
Service registry and discovery - ⢠Microservice Registry ...
Distributed log tracing - ⢠Request/Distributed lo...
Communication among microservices using RestTemplate - ⢠Spring RestTemplate
Spring cloud config server - ⢠Spring cloud config
Spring cloud gateway - ⢠API Gateway in microse...
Spring cloud OpenFeign - ⢠Spring Cloud OpenFeign
Hystrix circuit breaker - ⢠Circuit Breaker In Mic...
Resilience4j Circuit breaker - ⢠Resilience4j - Fault t...
Spring Data JPA - ⢠Spring Data JPA
Spring Boot actuators - ⢠Spring boot actuators
-----------------------------------------------------------
Join Us on Social Media -
Facebook - / greenlearner
LinkedIn - / arvind-kumar-108a4b2b
Twitter - / arvind4gl
Quora - www.quora.com/profile/Arvind-...
Instagram - / arvind4greenlearner
Medium - / arvind4greenlearner
#CQRS #DatabasePatternsForMicroservices #MicroservicesArchitecture #Microservices #DistributedSystems #MicroservicesInterviews
#MicroservicesGuide #DemystifyingMicroservices #BreakingMicroservices #MicroservicesConcepts #AllAboutMicroservices
Cheers!!
Happy Coding!! - VÄda a technologie
Complete Course Plan - github.com/greenlearner01/Microservices-Architecture
Playlist - czcams.com/play/PLq3uEqRnr_2EDsuxPboP9_WtVRR_TaMrF.html
pro tip : you can watch series on flixzone. Been using it for watching loads of movies these days.
@Trevor Luciano Yup, have been using Flixzone} for months myself =)
@Trevor Luciano Yup, I've been watching on flixzone} for since november myself :)
@Trevor Luciano yup, have been using flixzone} for since december myself :)
@Trevor Luciano yup, I have been watching on flixzone} for months myself :D
Very nice explaination
Thanks for liking
You explained it so good !
Very well explainedđ
The best explanation..
Very nice explanation
appreciate sir.....
I could have heard the full video but the audio is very poor, please improve audio mic and upload a new video if possible, thanks!
Thanks bro
The best explanation, thank u so much, it would have been much better if there was a demo on implementation aswell.
Glad it was helpful!
Demo will be added soon.
Sir, Hindi mai bhi kuch lectures dal dein. By the way, you did explain very nicely. Thanks
Consider using a good quality mic for recording.
Nicely explained.
Working on it
Nice video sir, do you have any plan for video on cqrs implementation
Its good if you create any short api on this pattern
Yea. After this series ends, I'll try to cover the demo as much as possible.
improve voice quality đ...
Good content đ
Sure đ
Suppose when we are placing the order, if we got msg "the product is out of stock" as some other order has booked it. Do we have a way to avoid it? where in who added to basket first will get those items.
If it's out of stock, others won't get chance to book it.
If by chance due to parallel systems or some glitch it gets ordered then it will be cancelled in subsequent flows.
What r tools or frameworks, to synch data between read n write dbs? so data / system could b consistent..
Asynchronous replication mechanism is used to sync data form write to read DB.
lets say you have one master DB which accepts write from user and there are multiple slave DB instances which are used for user read queries.
All the write requests on master are replicated to slave DB instance asynchrounously without affecting the latency on user request processing. Its worth noting that this will be Eventual consistency of data so might be some delay(not necessarily noticeable to user) to reflect to read DB instances.
why we need to copy the same data of 2 databases into another database? if ends up with data duplication?
why we do that?
studying CQRS for first time hence asking
Different purpose of the databases.
1. User facing databases shouldn't be used for analytics purpose
2. Data backup
3. If there are huge traffic then we have to use one db for one purpose only
what is advantage of seperating ? or what is the problem if we read from same db
you can handle read traffic separately, you can have multiple read replica to decrease response time for all read operations and only one writeable database.
@@devangikacha1477 what is the exact use of having read and write DB separately ?
when you have huge data load and different amount of load on write and read then its necessary to separate both
sound problem
Why use Event handlers and Database triggers . That would be too much of code handling. A better way would be synchronous replication of the database.
It's about latency. When optimization is considered then there are some operations which can be handled in async way so that user don't have to wait
@@codefarm0 But what if you have to do a read operation just after a write operation. In that case an async call will not give you updated results.
Poor quality Audio..
Disturbing Audio....