Its been long time since I last blogged. Hence, thought to come up with some design topics. In this case, I thought to present my take on Sql Vs NoSql. Therefore, we will be discussing the below agenda in this blog post.
- CAP Theorem
- Different types of databases
- Parameters to choose right database
Continue reading “SQL Vs NoSql” »
Its been a while since my last post. Nevertheless, let’s get started again with new series of posts. In this section, we will begin new journey and see how to design system. Before designing any scalable system, what are the factors, we need to take care of? Let’s consider a scenario, where in we are designing hotstar like video ingestion system. How would we approach this part? What are the basic questions which we need take into account. Let’s look at these scenarios. Before, jumping to discussion, one point to note here that in system design problems, no solution is 100% correct and no solution is 100% wrong. These questions are open ended questions and answers can vary entirely on different scenarios presented. Hence, without wasting time, let’s get started.
In this section, thought to discuss one of the topics, which I come across too often and that is whether to do async task or simply keep as task?
Whenever, async-await gets loaded in the program, it also loads state machine which means eventually, its going to have some extra code. But that makes sense as it wraps error body as well in it. If you don’t wrap it around, then you will end up having tough time identifying or reproducing the issue as this will highlight error some where in program.cs rather than actual method.
Continue reading “Async Task vs Task” »
In this section, I thought to discuss about one potential issue, which one can easily overlook and when your service really becomes busy, you will get this “Socket Exhaustion” exception. One thing to keep in mind that distributed systems are prone to error. Therefore, its always good to anticipate it before and take precautionary measures.
Continue reading “How to make Microservices communication more resilient?” »
This year has come to end, hence thought to share yearly review. First of all, Happy New Year to all. This year has, we have witnessed many things which never happened before and we hope that, it won’t come back again. Things are looking good at the moment, economy is coming back in track. Hopefully, we will come out of this pandemic phase very soon. Hence, I borrowed this HOPE-2021 calendar pic from Kiran Mazumdar Shaw.
Continue reading “Year 2020 in Review” »
In this section, thought to clear some doubts around Docker getting dropped from Kubernetes and whats the way forward now? Couple of days back Kubernetes announced this in their blog.
Continue reading “Kubernetes is dropping Docker, what it means?” »
In this section, we will continue from the last post and will delve inside API implementation inside clean architecture.
Continue reading “Getting Started with Clean Architecture using ASP.Net Core – Part 4” »
In this section, we are going to extend our last example from where we left. In the last section, what we have done, we have created Core layer. Now, let’s go ahead and implement Infrastructure Layer.
Continue reading “Getting Started with Clean Architecture using ASP.Net Core – Part 2” »
In Today’s discussion, we will be discussing about clean architecture and how to get started with it. Clean Architecture belong to the Domain Driven Design family. Before that, let’s understand what was the problem with N-Layered Architecture.
Continue reading “Getting Started with Clean Architecture using ASP.Net Core – Part 1” »