The Tech Granth
The Tech Granth
  • 126
  • 1 023 375
Mastering Microservices Service Discovery: A Step-by-Step Video Tutorial
Unlock the power of Microservices Service Discovery with our comprehensive video tutorial. Explore the vital role service discovery plays in dynamic microservices architectures. Learn how to implement, configure, and optimize service discovery tools like Consul, Eureka, and more. Ensure seamless communication, scalability, and fault tolerance in your microservices ecosystem. Join us on this journey to become a service discovery expert and elevate your microservices game to the next level!
You can buy us a coffee at : www.buymeacoffee.com/thetechgranth
system design: ua-cam.com/video/jzPSuBiidF4/v-deo.html
DS for beginners: ua-cam.com/video/cxjWjBPPbzI/v-deo.html
leetcode solutions: ua-cam.com/video/jVN6Mq0mXJo/v-deo.html
github: github.com/TheTechGranth/thegranths
facebook group : groups/741317603336313/
twitter: GranthTech
Переглядів: 571

Відео

Microservices API Gateway Tutorial: Streamline Your Architecture for Seamless Communication
Переглядів 40210 місяців тому
In this in-depth video tutorial, dive into the world of Microservices API Gateway and revolutionize your architecture. Learn how to centralize API management, enhance security, and simplify communication between microservices. Follow step-by-step instructions to implement an API Gateway, configure routing, authentication, and monitoring. Elevate your microservices game with this comprehensive t...
Mastering Microservices Design Patterns: Best Practices for Scalable and Resilient Architectures
Переглядів 66811 місяців тому
"Explore the world of microservices design patterns and learn how to create highly scalable, resilient, and efficient architectures. Our comprehensive guide covers essential design patterns, such as Service Discovery, Circuit Breaker, Event Sourcing, and more. Discover how to optimize your microservices ecosystem for improved performance, fault tolerance, and maintainability. Unlock the potenti...
Unlocking the Power of Microservices: An Introduction to Boosting Scalability and Flexibility
Переглядів 304Рік тому
"Discover the transformative world of microservices with our comprehensive introduction. Learn how microservices architecture revolutionizes software development, enabling scalable and flexible applications. Explore the benefits, implementation strategies, and best practices for harnessing the potential of microservices in this insightful guide. You can buy us a coffee at : www.buymeacoffee.com...
Apache AirFlow Tutorial | Use ChatGPT for Skill Development | Tech Interviews
Переглядів 709Рік тому
In this video I have leveraged ChatGPT to showcase how we can use this software to learn anything we want. All we need is to ask right questions. It really clears your doubts. Here I have used ChatGPT to learn Apache Airflow. We can see how chatgpt will start with basics and, as and when we ask more questions it goes into the details about architecture and other technical functions and capabili...
System Design of Tiny URL: Architecture, Scalability, and Performance Explained
Переглядів 6 тис.Рік тому
In this video, we dive into the system design of Tiny URL, a popular URL shortening service. Discover the architecture, scalability strategies, and performance considerations behind building a reliable and efficient Tiny URL system. Learn about database choices, distributed caching, load balancing, fault tolerance, and more. Gain insights into the design principles and techniques used to handle...
Dijkstra Algorithm Tutorial: Step-by-Step Guide for Shortest Path Calculation
Переглядів 465Рік тому
Learn how to master the Dijkstra algorithm with our comprehensive tutorial. Discover the step-by-step process to calculate the shortest path in a graph using Dijkstra's algorithm. From understanding graph representation and data structures to implementing the algorithm in various programming languages, this tutorial covers it all. Follow along as we break down the algorithm's logic, explore opt...
Finding Cycles in a Graph: Algorithms and Techniques Explained
Переглядів 893Рік тому
Uncover the secrets of finding cycles in a graph with our comprehensive guide. Explore various algorithms and techniques for detecting cycles in both directed and undirected graphs. From depth-first search (DFS) and breadth-first search (BFS) to Tarjan's algorithm and Floyd's cycle-finding algorithm, this tutorial covers a range of methods. Learn how to identify and analyze cycles in different ...
Topological Sort | Graph Ordering Algorithm | Sorting | Graph Theory
Переглядів 334Рік тому
Topological order is generally used in place where we have dependency of a node/ vertex on another. Classic example being Build tool like Maven, where various modules are dependent on each other. As per wiki: In computer science, a topological sort or topological ordering of a directed graph is a linear ordering of its vertices such that for every directed edge uv from vertex u to vertex v, u c...
Depth First Search (DFS) | Graph Traversal | Graph Search Algorithm
Переглядів 256Рік тому
As part of this video I have explained Depth first search or dfs traversal of graph. Algorithm has been explained in details and have also shared the code for it. Video include, introduction to graph, explanation of algorithm, Usage of dfs in graph, and code dfs traversal algorithm. You can buy us a coffee at : www.buymeacoffee.com/thetechgranth system design: ua-cam.com/video/jzPSuBiidF4/v-deo...
Breadth First Search (BFS) | Graph Traversal | Graph Search Algorithm
Переглядів 314Рік тому
As part of this video I have explained breadth first search of bfs traversal of graph. Algorithm has been explained in details and have also shared the code for it. Video include, introduction to graph, explanation of algorithm, Usage of bfs in graph, and code bfs traversal algorithm. You can buy us a coffee at : www.buymeacoffee.com/thetechgranth system design: ua-cam.com/video/jzPSuBiidF4/v-d...
Introduction to Graph | Graph Representation | Adjacency List & Matrix | Time & Space Complexity
Переглядів 903Рік тому
In this video we are going to cover the introduction of graph data structure. We will discuss the over view and how we can represent a graph in any programming language like java or python. We will discuss the details of space time complexity of each of the type of representation and compare them for pros and cons. We will also discuss the types of graph and how trees and forests are special ty...
Graph Data Structure | Course Overview
Переглядів 6072 роки тому
In this series we are going to cover graph data structures. Topics will be divided into 5 modules as: 1) Introduction to Graph and Graph Representation 2) BFS (breadth first search) 3) DFS (depth first search) 4) Cycle Detection in graph Shortest Path 5) Topological Sorting 6) Dijkstra's algorithm 7) Bellman-Ford algorithm Spanning tree 8) Krushkal's algorithm 9) Prim's Algorithm Strongly conne...
Data Structures : Heap | Min Heap Construction | Min and Max Heap
Переглядів 2 тис.2 роки тому
Heap is an important data structure which forms the basis of priority queues in Java. It is a brilliant data structure to solve problems like find kth element and skyline problems and many array based problem. In this video I will talk about the properties of Heap data structure and implement it using array. 0:00 Instroduction 1:10 Properties of Heap 9:16 Operation done on heap 13:19 Implementi...
Invert a Binary Tree: Data Structure Problem Explained with Solutions
Переглядів 4692 роки тому
Master the art of inverting a binary tree with our comprehensive guide. Explore the data structure problem of inverting a binary tree and learn efficient solutions. From understanding binary tree fundamentals to implementing recursive and iterative algorithms, this tutorial covers it all. Discover the step-by-step process of swapping left and right child nodes, and grasp the importance of tree ...
System Design Rate Limiter | Sliding Window Implementation | System Design Interview
Переглядів 13 тис.2 роки тому
System Design Rate Limiter | Sliding Window Implementation | System Design Interview
System Design Rate Limiter | Token Bucket Implementation | System Design Interview
Переглядів 10 тис.2 роки тому
System Design Rate Limiter | Token Bucket Implementation | System Design Interview
System Design Rate Limiter | Leaky Bucket Implementation | System Design Interview
Переглядів 11 тис.2 роки тому
System Design Rate Limiter | Leaky Bucket Implementation | System Design Interview
System Design Logging Framework | Implementing Logger | System Design Interview Low Level| logging
Переглядів 20 тис.2 роки тому
System Design Logging Framework | Implementing Logger | System Design Interview Low Level| logging
System Design Using Bloom Filter | What is Bloom Filter | Data Structure | System Design Interview
Переглядів 1,8 тис.2 роки тому
System Design Using Bloom Filter | What is Bloom Filter | Data Structure | System Design Interview
System Design TIK TOK | Instagram Reels | Youtube Shorts | System Design Interview Question
Переглядів 7 тис.2 роки тому
System Design TIK TOK | Instagram Reels | UA-cam Shorts | System Design Interview Question
IRCTC System Design | Railways Ticket Booking Service | System Design Interview Question
Переглядів 15 тис.2 роки тому
IRCTC System Design | Railways Ticket Booking Service | System Design Interview Question
Payment Gateway System Design | Payment Processing | System Design
Переглядів 191 тис.2 роки тому
Payment Gateway System Design | Payment Processing | System Design
Leetcode 33 | Search in Rotated Sorted Array | Asked in Paypal Vmware Oracle (Log time Solution)
Переглядів 3632 роки тому
Leetcode 33 | Search in Rotated Sorted Array | Asked in Paypal Vmware Oracle (Log time Solution)
Strategy Design Pattern | NetFlix Video Player | Object Oriented Design Pattern Interview Question
Переглядів 3,9 тис.2 роки тому
Strategy Design Pattern | NetFlix Video Player | Object Oriented Design Pattern Interview Question
Chain Of Responsibility Design Pattern | Object Oriented Design Pattern | OOPS Programming
Переглядів 3,4 тис.2 роки тому
Chain Of Responsibility Design Pattern | Object Oriented Design Pattern | OOPS Programming
Bridge Design Pattern | System Design Notification Service | Object Oriented Design Patterns
Переглядів 11 тис.2 роки тому
Bridge Design Pattern | System Design Notification Service | Object Oriented Design Patterns
Facade Design Pattern | Object Oriented Programming | Design Patterns
Переглядів 3,1 тис.2 роки тому
Facade Design Pattern | Object Oriented Programming | Design Patterns
Adapter Design Pattern | System Design Media player | Object Oriented Programming
Переглядів 3,4 тис.2 роки тому
Adapter Design Pattern | System Design Media player | Object Oriented Programming
Partition LinkedList | LeetCode - 86 | Google Data Structures Problem | Pointers
Переглядів 6773 роки тому
Partition LinkedList | LeetCode - 86 | Google Data Structures Problem | Pointers

КОМЕНТАРІ

  • @user-fn6hh1xt8t
    @user-fn6hh1xt8t 2 дні тому

    Not able to understand the Comment and Like Design

  • @PraneethV-yz1kx
    @PraneethV-yz1kx 11 днів тому

    Hi, Great video. Can you also make a video on how to do data modelling? In an interview, I was asked to write/draw data modelling for a scenaro and I'm not sure how to proceed.

  • @PraneethV-yz1kx
    @PraneethV-yz1kx 11 днів тому

    Hi, So the rate limiter limits the requests per server/service or per user or it can be both?

  • @tusharbaheti1648
    @tusharbaheti1648 20 днів тому

    but in functional how are you writing consistency and availability together ?

  • @user-om2mt9og1f
    @user-om2mt9og1f 25 днів тому

    👍

  • @himeshgupta6478
    @himeshgupta6478 27 днів тому

    hi sir, what do you mean by distributed storage ? you are saying that its present in Europe but if its distributed then its present everywhere. why we require cdn 's then

  • @sirishagch
    @sirishagch 28 днів тому

    Thankyou. It is detailed. How the user session will be maintained in this process?

  • @manjuiyli2904
    @manjuiyli2904 Місяць тому

    I got same question in NI LLD interview

  • @shuvbhowmickbestin
    @shuvbhowmickbestin Місяць тому

    Could've refactored the if-else cascading at 15:03, the logic looks very reduandant at places. You could've done teh nextposition[0] == nextcell check once after checking for both the ladders and snaked. If (nextposition[0] > nextcell) {// ladder} else {// snake bit}

  • @ShekharKumar8034
    @ShekharKumar8034 Місяць тому

    Hey man great video and thanks for explaining Instagram design in simple terms. Just one small suggestion: In the ending section of the video, it would be super helpful if you can also show the final architecture diagram to grasp the full picture once again, just like we do on the whiteboard when we are done providing the solution :)

  • @androiddeveloperlpu301
    @androiddeveloperlpu301 Місяць тому

    Solution: class Solution { public boolean isNStraightHand(int[] hand, int groupSize) { if(hand.length % groupSize !=0){ return false; } PriorityQueue<Integer> pq=new PriorityQueue<>(); for(int i=0;i<hand.length;i++){ pq.add(hand[i]); } while(!pq.isEmpty()){ int smallest=pq.poll(); for(int i=1;i<groupSize;i++){ if(pq.remove(smallest+i)){ continue; } else{ return false; } } } return true; } }

  • @KILZSNIPPET
    @KILZSNIPPET Місяць тому

    You change lot of things to make the error right and you didnt even borther to tell me.

  • @rahulg
    @rahulg Місяць тому

    the explanation is good but consistency and availability are 2 conflicting goals. most distributed systems must be designed with partition tolerance as a non-negotiable requirement. This means that during network partitions, the system must continue to operate and serve requests to the best of its ability, even if this results in temporary inconsistencies or reduced availability.

  • @aditigupta6870
    @aditigupta6870 Місяць тому

    No dry runs no intuition direcly writing code

  • @AdityaKumar-ho8pm
    @AdityaKumar-ho8pm Місяць тому

    Can you tell me which coding and code stack is best for NBFC/ Bank EMI transaction? And what is the future possibility like AI?

  • @priyankanagpal2207
    @priyankanagpal2207 2 місяці тому

    Good videos, but didnt get the last part where instead of super.clone() you are suggesting cloning the method. Can you please elaborate?

  • @thesatsuha
    @thesatsuha 2 місяці тому

    How to do the same one in c

  • @RaphaelSousa-or1dl
    @RaphaelSousa-or1dl 2 місяці тому

    If Payment Ingestion and Payment Processor services are two different microservices, shouldn't they have acess to different databases? The way you described they're using the same database, is that right?

  • @himeshgupta6478
    @himeshgupta6478 2 місяці тому

    SSL full form please @techgranth

  • @SandeepKumar-ix1cv
    @SandeepKumar-ix1cv 2 місяці тому

    right -left-1 what is that please explain

  • @GoodLuck-dv2zu
    @GoodLuck-dv2zu 2 місяці тому

    I think scan pay should be in the ExitPanel instance. Also generating tickets and finding available spots should be inside the EntryPanel class

  • @shivag257
    @shivag257 2 місяці тому

    Nice explanation. What I did was instead of performing any lock on DB I kept the locking data at cache level so to have less updates on DB while my DB acted as source of truth for currently available seats. First call goes to DB fetch all the available seats then read cache and filters (remove) the booking in progress seats. When user tries to perform the payment a) it blocks the seat by adding the detail in the cache with some TTL b) it again verifies if that seat is available or not by calling cache. By this I tried saving my system from calling DB which have latency in order of ms while created dependency on cache having latency in order of ns. Though questions might pop up on a) distributed cache handling in this case, b) when should we put lock - when user clicks book now or when user clicks pay now. c) other bottlenecks related to system or user experience

  • @thelifehackerpro9943
    @thelifehackerpro9943 2 місяці тому

    but in actuall logger, you set the logging level first and based on that level specific data is displayed

  • @saravanasai2391
    @saravanasai2391 2 місяці тому

    That is a great explanation. But, How will you handle the user viewed feed/post. If user is scrolling the feed fast.We need to track that user view this post.So, we don;t show the same post/feed again.

  • @poorti2188
    @poorti2188 2 місяці тому

    Explained in simple way with indepth knowledge.. only failed transaction topic couldn't understood in technical terms API and DB impact..

  • @thealgomasters
    @thealgomasters 3 місяці тому

    Explained in very detail, covers every aspect.

  • @shreddedvarun
    @shreddedvarun 3 місяці тому

    I have seen many instagram design videos, this one is better than others

    • @gauravsingla6444
      @gauravsingla6444 Місяць тому

      I see the same comment under every other video.😂

  • @himeshgupta6478
    @himeshgupta6478 3 місяці тому

    What is SSL?

  • @megansteven7688
    @megansteven7688 3 місяці тому

    i think there is some mistake in generating diceRoll (((int)( Math.random() * 6*2 - 2)) + 1); if numberOfDice = 2, then 12-2 = 10 + 1 = 11 we never achieve 12. Edit: Instead we can use this (((int)( Math.random() * 6*numberOfDice)) + 1), correct me if i am wrong.

    • @ayushigupta685
      @ayushigupta685 Місяць тому

      but it will reach 13 then?

    • @megansteven7688
      @megansteven7688 Місяць тому

      @@ayushigupta685 i tried but didn't got 13, can you try once.

    • @palakgupta728
      @palakgupta728 Місяць тому

      Math.random has a syntax of int rand = (int)(Math.random() * range) + min; So i guess it should be (int)(Math.random() * 6*numberOfDice) + 2; Because we can never get 1 Correct me if I am wrong

  • @harshitgarg8008
    @harshitgarg8008 3 місяці тому

    30:29-36:00

  • @sunny0287
    @sunny0287 3 місяці тому

    How the Url Shortner service will save the space in this case for photos ??

  • @rupasajan6588
    @rupasajan6588 3 місяці тому

    🎉 0:23

  • @mr.6889
    @mr.6889 3 місяці тому

    two questions: 1) why not using some other cache service separately for celebs? 2) why not storing the count of likes in post tables and separate like on other tables so when user will like it will increament the like in post table also insert like in like table!

  • @shilpamaryjose8169
    @shilpamaryjose8169 3 місяці тому

    Thanks for the details. Just one correction though - It would be the "Interoperability domain" and not "Interportability domain".

  • @namnguyen-kc4kp
    @namnguyen-kc4kp 3 місяці тому

    Too many ads

  • @namnguyen-kc4kp
    @namnguyen-kc4kp 3 місяці тому

    At ua-cam.com/video/NxjGFIgFCbg/v-deo.html, "Consistency and availability should be chosen over partition tolerance". The video creator is referring to the famous CAP theorem, but he understands it in the wrong way. The CAP theorem states that a system can only have 2 over 3 properties: Consistency, Availability, and Network partition tolerance. And the creator is saying that we should prioritize CA over P. In reality, network partitions in distributed system is unavoidable, making partition tolerance (P) a necessary consideration. Therefore, we can only choose either consistency or availability (CP or AP), but CA is impractical.

  • @Krishnaspiritualplanet
    @Krishnaspiritualplanet 3 місяці тому

    Very good

  • @royalmech14
    @royalmech14 3 місяці тому

    Good stuffs. Amazon hiring team refers your playlist for preparation 🎉

  • @songs123d
    @songs123d 4 місяці тому

    Awesome content.

  • @kobew1351
    @kobew1351 4 місяці тому

    i prefer using a buffered file locally with a log collection agent. So that the main service threads are not blocked. Sending a log doesn't need 100% reliability anyway.

  • @himeshgupta6478
    @himeshgupta6478 4 місяці тому

    Hi sir, so in the token bucket algo and sliding window algo there is only difference in the structure of how we are storing data, in sliding window we store the time stamps also, as per the logic explained in the token bucket, is that right?? Pls confirm sir

  • @CharityChemutai-bf5kc
    @CharityChemutai-bf5kc 4 місяці тому

    Nice video thanks sir✊✊✊

  • @msingla135
    @msingla135 4 місяці тому

    I feel this is a better way of implementing the refresh method: private void refresh(long currTimeInSec) { long cutoffTime = currTimeInSec - windowInSecs; while(!window.isEmpty() && window.peek() < cutoffTime) window.poll(); }

  • @writetogupta
    @writetogupta 4 місяці тому

    ISO8583 is outdated. Currently, we are using XML based ISO20022

  • @aditigupta6870
    @aditigupta6870 4 місяці тому

    How do we ensure practically that few instances of a service are for writing and few instances are for reading

  • @aditigupta6870
    @aditigupta6870 4 місяці тому

    In the post table, you mentioned sir that photoURL will be the path to photo in S3, but a single post will have mulitple pics/videos each of which will have unique photoURL from S3 na?

  • @aditigupta6870
    @aditigupta6870 4 місяці тому

    Hi sir @10:33, what will happen in case the lady has taken away less than 5 balls in the latest minute, lets say 3 still in bucket and she took 2, then at the end of minute pipe too will add 5 balls, so there will be 5+3 total in bucket right?

  • @phanuwatwattanapraya7998
    @phanuwatwattanapraya7998 4 місяці тому

    Very informative

  • @aakashmendiratta8158
    @aakashmendiratta8158 4 місяці тому

    Hey, one question, I believe there should be only one service that interacts with the DB, if you have two components writing to the DB, it will not centralise the logic in one place. So what i mean is to expose the database via apis. Let me know your thoughts on this.

  • @mahahrishi
    @mahahrishi 4 місяці тому

    Bro but in real Book my show does not have the movie or theatre db . In real it should be an external real time feed from different cinima operators and the real challenge is to book and provide status in real time with third party data.. because other platforms are also using same data and punching booking orders to theatre database. I am not sure how to handle that. Is it simple poling or these platforms have did hard integration where these cinimas or theater push the data in message queues and book my show and paytm like players are on consumer side..