Get the source code for this video for FREE → the-dotnet-weekly.ck.page/aws-rds Want to master Clean Architecture? Go here: bit.ly/3PupkOJ Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt
What if there are schema changes that we create using ef core migrations on the primary database, will the read replica get these changes automatically?
Hi, Milan. I've watched your videos about Result pattern recently and implemented it in my project. It's working good, but I got an issue, where I have a repetitive pattern all over my code: I create some value object (for example: Email) which has a static factory method that returns Result and I have to check if the result is failure, if it is I return the error. If I have entities containing lots of value objects, I have to check every time for the condition in my command handlers. The code becomes cumbersome and messy. How would you deal with this problem? I haven't found any good solution for this problem.
"I have to check every time for the condition in my command handlers" - Unfortunately, yes. That is a downside of this approach. It becomes pretty cumbersome when you have many levels of calls all returning a Result.
Hey Milan. What's the latency between replicas in RDS? In our environment, we use EC2 replicas and latency is about 3-5 seconds. Any idea how to reduce the high latency?
Get the source code for this video for FREE → the-dotnet-weekly.ck.page/aws-rds
Want to master Clean Architecture? Go here: bit.ly/3PupkOJ
Want to unlock Modular Monoliths? Go here: bit.ly/3SXlzSt
I never miss a Milan video. All serious developers who want to get better should listen to this guy
Thank you, very much appreciated! :)
Hello men, you just saved me in a project at my work. Excellent content
Excellent work
Keep making videos like this this is very helpful
Glad to hear that!
Thanks Milan. It's really helpful!
You're welcome!
Hello milan .I hope you are doing well. Thanks for the helpful videos
My pleasure 😊
It was very helpful in understanding the Replica DB service.
Thank you milan.
You're most welcome!
Excellent content!
Thank you!
What if there are schema changes that we create using ef core migrations on the primary database, will the read replica get these changes automatically?
No, you'll have to sync the schema changes manually on the read replica
Hi, Milan. I've watched your videos about Result pattern recently and implemented it in my project. It's working good, but I got an issue, where I have a repetitive pattern all over my code: I create some value object (for example: Email) which has a static factory method that returns Result and I have to check if the result is failure, if it is I return the error. If I have entities containing lots of value objects, I have to check every time for the condition in my command handlers. The code becomes cumbersome and messy. How would you deal with this problem? I haven't found any good solution for this problem.
"I have to check every time for the condition in my command handlers" - Unfortunately, yes. That is a downside of this approach. It becomes pretty cumbersome when you have many levels of calls all returning a Result.
Hey Milan. What's the latency between replicas in RDS? In our environment, we use EC2 replicas and latency is about 3-5 seconds. Any idea how to reduce the high latency?
That sounds strange, typically it should be less than 1s. Do you have a very high number of writes?
@@MilanJovanovicTech A lot of writes, yes.
Does azure have a similar replication service?
It's not an AWS/Azure feature, it's a database feature. But yes - Azure also supports this.