Hotstar like Video Ingestion

Hi Friends,

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.

Continue reading “Hotstar like Video Ingestion” »

289 total views, 1 views today

Async Task vs Task

Hi Friends,

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” »

500 total views, no views today

How to make Microservices communication more resilient?

Hi Friends,

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?” »

1,033 total views, no views today

Year 2020 in Review

Hi Friends,

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” »

482 total views, no views today

Kubernetes is dropping Docker, what it means?

Hi Friends,

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.

Source:- https://kubernetes.io/blog/2020/12/02/dont-panic-kubernetes-and-docker/

Continue reading “Kubernetes is dropping Docker, what it means?” »

1,028 total views, no views today

Getting Started with Clean Architecture using ASP.Net Core – Part 2

Hi Friends,

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.

Source:- https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html

Continue reading “Getting Started with Clean Architecture using ASP.Net Core – Part 2” »

1,266 total views, no views today

Getting Started with Clean Architecture using ASP.Net Core – Part 1

Hi Friends,

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.

Source:- https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html

Continue reading “Getting Started with Clean Architecture using ASP.Net Core – Part 1” »

4,309 total views, 1 views today

API Gateway using Ocelot

Hi Friends,

In this section, we are going to see how to build API gateway using Ocelot. Ocelot is one of the most popular libraries for API Gateways used in conjunction with Microservices project. In the last article, we have seen how to handle the traffic using envoy gateway. In this case, we are going to extend the same example using Ocelot and see how it works underneath. As we know already, Gateways are very useful and it helps with following features seamlessly.

  • Routing
  • Authentication
  • Authorization
  • Rate Limiting
  • Caching
  • Load Balancing
  • Circuit Breaker
  • Request Aggregation

Continue reading “API Gateway using Ocelot” »

4,652 total views, no views today